Closed lorenzbausch closed 4 years ago
I've experienced the same issue here. At first thought it could be associated with WSS on low ports, but even when running any example as root, still hits the same issue.
This is happening using the following requirements:
certstream==1.10
requests
ipwhois
PySocks
hues
websocket-client==0.48.0
apprise
same for me, not getting any certstream data, only reconnects. also running
certstream==1.10
websocket-client==0.48.0
Hey folks, sorry for the delay here.
Digging into this, it looks like cowboy (the underlying websocket server for certstream) will timeout connections after a minute and force reconnection - https://github.com/ninenines/cowboy/issues/1259
I didn't realize this and figured another mechanism would be handling heartbeats, which doesn't seem to be the case. I'm going to add heartbeating to this and the other clients which should (hopefully) remedy these timeout issues (the golang client is experiencing this as well - https://github.com/CaliDog/certstream-go/issues/8).
This is now live with certstream-python==1.11
! Let me know if you have any issues.
looks good so far, thank you for the fix!
thanks for the fix, works like charm!
Nice! Thank you for the fix.
Thanks for the info! Cheers, and happy holidays!
Using version 1.10 and the sample code from the readme, roughly every minute a reconnect occurs, preceded by the following message: