You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! Has anyone tried subscribing to all symbols at once? Currently, there are 486 symbols. I divide them into batches of 10 symbols each. I've tried subscribing using one connection, two, three, and so on up to 40 connections... The problem is always the same: the server never responds with a single "pong" message.
I added logging to the following functions: _on_pong, _send_custom_ping, _send_initial_ping, and on_message. Here's what I observed:
_send_initial_ping works correctly.
_send_custom_ping also works as expected, but the _on_pong function is never triggered because, with this number of subscriptions, the server doesn't send back any "pong" messages.
In general, the application doesn't overload the server. I've implemented controls at the levels of symbol fetching, subscription list creation, and WebSocket management. However, the number of open connections doesn't seem to make a difference. Whether it's 40 connections or just one, I still don't receive a single "pong" message from the server.
When using 40 connections (opened at 1-second intervals), the script eventually starts sending automatic pings every second for each connection... But even with just one connection, it still doesn't work. Has anyone encountered something like this before?
The text was updated successfully, but these errors were encountered:
Hi! Has anyone tried subscribing to all symbols at once? Currently, there are 486 symbols. I divide them into batches of 10 symbols each. I've tried subscribing using one connection, two, three, and so on up to 40 connections... The problem is always the same: the server never responds with a single "pong" message.
I added logging to the following functions: _on_pong, _send_custom_ping, _send_initial_ping, and on_message. Here's what I observed:
In general, the application doesn't overload the server. I've implemented controls at the levels of symbol fetching, subscription list creation, and WebSocket management. However, the number of open connections doesn't seem to make a difference. Whether it's 40 connections or just one, I still don't receive a single "pong" message from the server.
When using 40 connections (opened at 1-second intervals), the script eventually starts sending automatic pings every second for each connection... But even with just one connection, it still doesn't work. Has anyone encountered something like this before?
The text was updated successfully, but these errors were encountered: