galburn
galburn
I've hit this same issue last week. Unfortunately I let the debug log file get too large for me to open (23Gb), so I cannot see the preceding "Received update...
The log messages just before the event are:- 2022-07-15 23:11:48,306 Received message ---> 2022-07-15 23:11:48,306 Received update message ---> There is already a test for a "None" message, but not...
Results from the logfiles (edited for brevity):- ********************************************* LIVE server with BST timezone ... 2022-07-19 09:19:07,599 Creating new v2 session for user 'xxxxxx' at 'https://api.ig.com/gateway/deal' 2022-07-19 09:19:07,599 Starting new HTTPS...
It appears that the main thread will be busy sleeping, so your exception handling will not be triggered. Well that's my understanding of it which may well be wrong. I'm...
Some pointers:- • You would NOT expect an exception at 22:07:06.219 because the first two values in the message are both ints. • The try/except needs to surround the place...
As @dario-weswit points out, my workaround fails to detect a network connection disconnect. It would be much better to throw an exception so that a new connection can be made....
Sorry @dario-weswit, I was not reading back through the thread properly. The suggestion from @zansibal is probably what I was thinking of. Yes, raising an exception would be a much...
Testing of a connection break is difficult. When I attempt to simulate a LD disconnect by pulling out my RJ45 ethernet cable on my workstation, I get this:- ```Traceback (most...