-
Notifications
You must be signed in to change notification settings - Fork 228
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Old subs from previous connection are never resubscribed. #800
Comments
Hey @bryaan, can you provide a little more information about what you're seeing and how I can reproduce this? I just wanted to more sure I can reproduce it and verify the fix. |
If the websocket disconnects and retries and succeeds, the old subs are not resubbed. |
Perfect, thanks @bryaan. I'll check it out. |
It seems if i set reconnects to 0 and write a loop for connect and manually resub it works. So the issue looks confirmed with the internal resub logic. |
Cool, thanks for checking @bryaan. |
Actually there seems to be another issue at work. I am subscribing to 4000+ symbols, the ws seems to either stop processing after some point or it's disconnecting and not returning. I turned on verbose logging to see if I can narrow it down. |
Hey @bryaan, another option might be to something like subscribing to |
But why would your suggestion work and this does not? I'm subbing like this:
Could it be a server error where they are keeping the connection open but not sending data? |
client-python/polygon/websocket/__init__.py
Line 121 in 53808f8
Old subs from previous connection are never resubscribed.
The text was updated successfully, but these errors were encountered: