Home Forums Support ConnectionKeepAlivePollError exceptions killing the server application. Reply To: ConnectionKeepAlivePollError exceptions killing the server application.

#1108
Anonymous
Inactive

Alright, it happened again tonight. Again, clients are not disconnecting, but sending or receiving to or from the server is not working. Connecting to the server also stops working.
3 clients connected:
Client A: local network, same computer as the server
Client B: local network, different computer
Client c: connected from the internet, different computer.

All 3 are windows machines using NetworkCommsDotNetComplete.dll, version 2.3

Oddly enough, data that was sendt from client B was sendt to client A and Client C about 1 hour delayed, after the errors occured. Messages from Client C was delivered accurately to both A and B until the delayed messages were received, then stopped.

Also as before, when i try to stop the server by calling NetworkComms.Shutdown(); it freezes the program, making a

25-Sep-2013 00:06:17 Fatal [ NetworkComms]: ConnectionKeepAlivePollError

and it has to be forced to close.

The log file produced a bunch of errors like these:

24-Sep-2013 21:43:27 Fatal [ NetworkComms]: CompleteIncomingItemTaskError
24-Sep-2013 21:43:27 Fatal [ NetworkComms]: An unhandled exception occured in CompleteIncomingPacketWorker(), connection with [TCP] 192.168.1.59:36410 -> 37.44.133.84:33922 be closed. See log file for more information.
24-Sep-2013 21:43:36 Fatal [ NetworkComms]: CompleteIncomingItemTaskError
24-Sep-2013 21:43:36 Fatal [ NetworkComms]: An unhandled exception occured in CompleteIncomingPacketWorker(), connection with [TCP] 192.168.1.59:36410 -> 37.44.133.84:57723 be closed. See log file for more information.
24-Sep-2013 21:43:41 Error [ NetworkComms]: Error in task: System.AggregateException: A Task’s exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. —> NetworkCommsDotNet.ConnectionSetupException: ServerSide. Connection was closed during setup from [3].
at NetworkCommsDotNet.TCPConnection.EstablishConnectionSpecific()
at NetworkCommsDotNet.Connection.EstablishConnection()
at NetworkCommsDotNet.TCPConnection.GetConnection(ConnectionInfo connectionInfo, SendReceiveOptions defaultSendReceiveOptions, TcpClient tcpClient, Boolean establishIfRequired)
at NetworkCommsDotNet.TCPConnection.<>c__DisplayClassb.<IncomingConnectionWorker>b__a()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
— End of inner exception stack trace —
—> (Inner Exception #0) NetworkCommsDotNet.ConnectionSetupException: ServerSide. Connection was closed during setup from [3].
at NetworkCommsDotNet.TCPConnection.EstablishConnectionSpecific()
at NetworkCommsDotNet.Connection.EstablishConnection()
at NetworkCommsDotNet.TCPConnection.GetConnection(ConnectionInfo connectionInfo, SendReceiveOptions defaultSendReceiveOptions, TcpClient tcpClient, Boolean establishIfRequired)
at NetworkCommsDotNet.TCPConnection.<>c__DisplayClassb.<IncomingConnectionWorker>b__a()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()<—

I also got the error files output, I put them all in a zip here