Skip to content

What does "Adding timeout to websocket.recv()" error mean? #277

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

Closed
am11y opened this issue Jun 3, 2022 · 3 comments
Closed

What does "Adding timeout to websocket.recv()" error mean? #277

am11y opened this issue Jun 3, 2022 · 3 comments

Comments

@am11y
Copy link

am11y commented Jun 3, 2022

At the startup of script, I get errors:

Adding timeout to websocket.recv() (connection.py:71)

image

@oliver-zehentleitner
Copy link
Member

Its not an error, its a hint!

Ok, I see its defined as error, i will change that to info in the next release.

We had the problem, that we could not close websocket connections that does not receive data, like an idling userData stream:

# This is a dirty workaround and only a temporary solution
# using wait_for is slowing down the receiving by 50% under full load. But without userdata streams
# wont close without the awaited future

@nikky78
Copy link

nikky78 commented Jun 20, 2022

Has it been solved yet?

@dima-dmytruk23
Copy link
Contributor

Up

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

4 participants