My JSON requests all have timeouts.
To make sure I am keeping the session alive I am calling KeepAlive every minute and yet I still get an application crash everyday.
A first chance exception of type 'System.Net.WebException' occurred in System.dll
An unhandled exception of type 'System.Net.WebException' occurred in System.dll
Additional information: The underlying connection was closed: A connection that was expected to be kept alive was closed by the server.
This one was after 4 hours and 50 minutes. I am not hammering the servers. Just asking for data once a minute for all races and runners, best three prices and all traded volume.
I am using VB.NET
This gets on my thrupenny bits.
To make sure I am keeping the session alive I am calling KeepAlive every minute and yet I still get an application crash everyday.
A first chance exception of type 'System.Net.WebException' occurred in System.dll
An unhandled exception of type 'System.Net.WebException' occurred in System.dll
Additional information: The underlying connection was closed: A connection that was expected to be kept alive was closed by the server.
This one was after 4 hours and 50 minutes. I am not hammering the servers. Just asking for data once a minute for all races and runners, best three prices and all traded volume.
I am using VB.NET
This gets on my thrupenny bits.


Comment