Skip to content
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

WebSocket does not terminate in streaming #114

Open
amirhmk opened this issue Dec 26, 2022 · 1 comment
Open

WebSocket does not terminate in streaming #114

amirhmk opened this issue Dec 26, 2022 · 1 comment

Comments

@amirhmk
Copy link

amirhmk commented Dec 26, 2022

Hi there,

I have been playing around with the streaming functionality, but I'm getting some weird behaviour. I have set retry=3 so if wsapp terminates, it tries to reconnect up to 3 times. However, after the disconnect, it seems like it connects to the server again, but does not receive any messages anymore and it gets stuck in that state (web socket still running).

I have left ping_interval=10 to its default, and tried adding ping_timeout=5 to see if it fixes it, but have not been successful. Have you faced this issue before?

I'm wondering if this perhaps could be due to the vehicle becoming unavailable? i.e. no data connectivity?

@tdorssers
Copy link
Owner

I am not using streaming at all, it only seems useful for real time location plotting while driving. For almost all other cases you simply poll the API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants