Hi,
I’ve got a websocket connection subscribing for only user data. Most of the time, this works fine and I have no issues. However I have noticed that my websocket receives no data at time for periods longer than than my specified ping timeout (5 seconds).
As an example (that occured this morning - times are in UTC):
I receive some websocket data after placing and order (this will be the last know time I received websocket data).
[18:39:05.704] [INFO] [on_data ]
I place another order and receive a http response - but not a feed from the websocket
[18:39:19.221] [INFO] [request ] POST
[18:39:19.246] [INFO] [__check_response_errors]
After placing further orders and hitting my own limit, I shutdown.
[18:39:28.364] [ERROR]
I find it odd that neither occured:
- The websocket did not raise a 1011 error indicating that ping/pong timed out and/or disconnected
- No websocket data was received for a period of ~20 seconds despite orders being placed
Does anyone know what the problem is ?