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

Restarting listen due to exception: Read timed out #1

Open
rasendubi opened this issue May 24, 2017 · 1 comment
Open

Restarting listen due to exception: Read timed out #1

rasendubi opened this issue May 24, 2017 · 1 comment

Comments

@rasendubi
Copy link

Both sensor and view work correctly, but I am constantly getting next error in the logs:

Restarting listen due to exception: HTTPSConnectionPool(host='dweet.io', port=443): Read timed out. (read timeout=32)
Start listening on 81a7150d-7169-421d-8795-876b97df80f5.64e437b6-40aa-11e7-a4b7-7085c2015a5d.ctrl

Reproduced with next commands:

nix-shell -p python3Packages.bokeh --run 'python3 ./sensor_example.py 81a7150d-7169-421d-8795-876b97df80f5

nix-shell -p python3Packages.bokeh --run 'python3 ./view_example.py 81a7150d-7169-421d-8795-876b97df80f5
@forGGe
Copy link
Owner

forGGe commented May 24, 2017

This is the issues caused by dweepy lib that using timed stream requests
Setting this timeout too high to block almost forever will cause runtime errors when converting to the system time type. I'm not sure how it is handled by requests internally though.

If you mind providing there something like "infinite-time-value", it will be awesome.

But from my observation the moderate value there will not cause any issue except that log and the necessity to handle additional exception.

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