bmoscon / cryptofeed

Cryptocurrency Exchange Websocket Data Feed Handler
Other
2.19k stars 679 forks source link

set last_message to None in HTTPAsyncConnection._open #902

Closed antoinebon closed 1 year ago

antoinebon commented 1 year ago

Description of code - what bug does this fix / what feature does this add?

Describe the bug I observe an infinite loop in the timeout retry mechanism of the ConnectionHandler I think the issue is that the connection's last_message is not being reset on HTTPAsynConnection._open

To Reproduce Steps to reproduce the behavior:

Screenshots Screenshot from 2022-09-08 10-15-57

Operating System: -linux

Cryptofeed Version