Comments (1)
2020-11-13 06:25:11.649997Z: [WARN] Socket (192.168.11.182:6668) error occurred: <class 'socket.error'> [Errno 60] Operation timed out <traceback object at 0x105886b90>
2020-11-13 06:25:11.767504Z: [ERRO] Socket error on device's bf4a36374de connection: ['Traceback (most recent call last):\n', ' File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/asyncore.py", line 83, in read\n obj.handle_read_event()\n', ' File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/asyncore.py", line 446, in handle_read_event\n self.handle_connect_event()\n', ' File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/asyncore.py", line 454, in handle_connect_event\n raise socket.error(err, _strerror(err))\n', 'error: [Errno 60] Operation timed out\n']
2020-11-13 06:25:11.767599Z: [INFO] Disconnecting from device bf4a36374de...
2020-11-13 06:25:11.767863Z: [INFO] Connected to 192.168.11.182:6668 !
2020-11-13 06:25:11.768031Z: [INFO] Connected to device bf4a36374de !
File "bin/hsapid", line 7, in <module>
main()
File "/Users/david/projects/homeswitch-api/homeswitch/api.py", line 127, in main
api.run()
File "/Users/david/projects/homeswitch-api/homeswitch/api.py", line 110, in run
asyncorepp.loop()
File "/Users/david/projects/homeswitch-api/homeswitch/asyncorepp.py", line 22, in loop
poll_fun(timeout, map)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/asyncore.py", line 162, in poll
write(obj)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/asyncore.py", line 91, in write
obj.handle_write_event()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/asyncore.py", line 467, in handle_write_event
self.handle_connect_event()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/asyncore.py", line 455, in handle_connect_event
self.handle_connect()
File "/Users/david/projects/homeswitch-api/homeswitch/asyncsocket/client.py", line 109, in handle_connect
self.emit('connect')
File "/Users/david/projects/homeswitch-api/env/lib/python2.7/site-packages/pymitter/__init__.py", line 282, in emit
remove = [l for l in listeners if not l(*args, **kwargs)]
File "/Users/david/projects/homeswitch-api/env/lib/python2.7/site-packages/pymitter/__init__.py", line 310, in __call__
self.func(*args, **kwargs)
File "/Users/david/projects/homeswitch-api/homeswitch/asyncsocket/client.py", line 65, in _on_connect
self.emit('connect')
File "/Users/david/projects/homeswitch-api/env/lib/python2.7/site-packages/pymitter/__init__.py", line 282, in emit
remove = [l for l in listeners if not l(*args, **kwargs)]
File "/Users/david/projects/homeswitch-api/env/lib/python2.7/site-packages/pymitter/__init__.py", line 310, in __call__
self.func(*args, **kwargs)
File "/Users/david/projects/homeswitch-api/homeswitch/hw/tuya.py", line 218, in _on_dev_connect
traceback.print_stack()
2020-11-13 06:25:11.926305Z: [DBUG] We can send next command for bf4a36374de!!!
from homeswitch-api.
Related Issues (20)
- Fix attempt to send item that is not in `waiting` state HOT 3
- Fix or handle `Operation timed out` on connect HOT 2
- Fix or handle "timeout: timed out" on send() HOT 1
- Check `[Errno 64] EHOSTDOWN` issue on connect() HOT 1
- Check `Connection reset by peer` and handle it HOT 1
- Fix infinite loop of "Should be read", Disconnect HOT 1
- Fix KeyError on HTTP client disconnect HOT 3
- Avoid Tuya connects while a connect is ongoing
- Check issue with slow connects HOT 1
- Socket connect timeout seems to not be working
- Ignore certain send() exceptions HOT 1
- Understand `Resource temporarily unavailable` error during socket read() HOT 1
- Understand and fix issue with socket error before connect which apparently causes issues with timers
- Crash on EHOSTUNREACH
- Infinite loop on "Socket (...) read can happen"
- Cancel command timeout in case of socket error HOT 1
- Fix double reply() attempt
- Fix slack hook issue - and Move hooks out of the API
- Fix issue with `_on_dev_reply()` wrong number of arguments
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homeswitch-api.