-
Notifications
You must be signed in to change notification settings - Fork 105
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
Uncaught exception, closing connection. #136
Comments
As you are on Windows, please use Python 3.5, there is also the option of the prebuilt binary you can use. There is some issue with 3.7 that I have not had time to look at. |
Hello, having a similar issue with Ubuntu 18.04, I've got a venv with python 3.6 installed. Can you take a look? I'm unsure of how to check the firmware, but I'm wondering if I'm running into that issue. |
Getting same on Ubuntu 18.10 with either O.S. packaged Python 3.6 or manually installed Python 3.5 ` ` |
Exactly the same error here, in a virtualenv using Python 3.5.6 on Ubuntu 18.04:
Also tried with the last tornado version: 5.1.1
|
In all these cases I suspect it's also running newer firmware that does not work with SonOTA (as per the README.md), and Python does not like the way the Sonoff drops the connection. |
I think #57 is the same issue as this one (this one is probably a duplicate) |
Yes, totally probable (this is a Sonoff basic with firmware v1.8.1) |
Hi Have this error , not sure what is causing it..............................
*** IMPORTANT! ***
** AFTER the first download is COMPLETE, with in a minute or so you should connect to the new SSID "FinalStage" to finish the process.
** ONLY disconnect when the new "FinalStage" SSID is visible as an available WiFi network.
This server should automatically be allocated the IP address: 192.168.4.2.
If you have successfully connected to "FinalStage" and this is not the IP Address you were allocated, please ensure no other device has connected, and reboot your Sonoff.
.....Uncaught exception, closing connection.
Traceback (most recent call last):
File "C:\Users\Tony\AppData\Roaming\Python\Python37\site-packages\tornado\iostream.py", line 657, in _handle_events
self._handle_read()
File "C:\Users\Tony\AppData\Roaming\Python\Python37\site-packages\tornado\iostream.py", line 1514, in _handle_read
self._do_ssl_handshake()
File "C:\Users\Tony\AppData\Roaming\Python\Python37\site-packages\tornado\iostream.py", line 1434, in _do_ssl_handshake
self.socket.do_handshake()
File "C:\Users\Tony\AppData\Local\Programs\Python\Python37\lib\ssl.py", line 1108, in do_handshake
self._sslobj.do_handshake()
OSError: [Errno 0] Error
Exception in callback None()
handle:
Traceback (most recent call last):
File "C:\Users\Tony\AppData\Local\Programs\Python\Python37\lib\asyncio\events.py", line 88, in _run
self._context.run(self._callback, *self._args)
File "C:\Users\Tony\AppData\Roaming\Python\Python37\site-packages\tornado\platform\asyncio.py", line 117, in _handle_events
handler_func(fileobj, events)
File "C:\Users\Tony\AppData\Roaming\Python\Python37\site-packages\tornado\stack_context.py", line 276, in null_wrapper
return fn(*args, **kwargs)
File "C:\Users\Tony\AppData\Roaming\Python\Python37\site-packages\tornado\iostream.py", line 657, in _handle_events
self._handle_read()
File "C:\Users\Tony\AppData\Roaming\Python\Python37\site-packages\tornado\iostream.py", line 1514, in _handle_read
self._do_ssl_handshake()
File "C:\Users\Tony\AppData\Roaming\Python\Python37\site-packages\tornado\iostream.py", line 1434, in _do_ssl_handshake
self.socket.do_handshake()
File "C:\Users\Tony\AppData\Local\Programs\Python\Python37\lib\ssl.py", line 1108, in do_handshake
self._sslobj.do_handshake()
OSError: [Errno 0] Error
.....Uncaught exception, closing connection.
Traceback (most recent call last):
File "C:\Users\Tony\AppData\Roaming\Python\Python37\site-packages\tornado\iostream.py", line 657, in _handle_events
self._handle_read()
File "C:\Users\Tony\AppData\Roaming\Python\Python37\site-packages\tornado\iostream.py", line 1514, in _handle_read
self._do_ssl_handshake()
File "C:\Users\Tony\AppData\Roaming\Python\Python37\site-packages\tornado\iostream.py", line 1434, in _do_ssl_handshake
self.socket.do_handshake()
File "C:\Users\Tony\AppData\Local\Programs\Python\Python37\lib\ssl.py", line 1108, in do_handshake
self._sslobj.do_handshake()
OSError: [Errno 0] Error
Exception in callback None()
handle:
Traceback (most recent call last):
File "C:\Users\Tony\AppData\Local\Programs\Python\Python37\lib\asyncio\events.py", line 88, in _run
self._context.run(self._callback, *self._args)
File "C:\Users\Tony\AppData\Roaming\Python\Python37\site-packages\tornado\platform\asyncio.py", line 117, in _handle_events
handler_func(fileobj, events)
File "C:\Users\Tony\AppData\Roaming\Python\Python37\site-packages\tornado\stack_context.py", line 276, in null_wrapper
return fn(*args, **kwargs)
File "C:\Users\Tony\AppData\Roaming\Python\Python37\site-packages\tornado\iostream.py", line 657, in _handle_events
self._handle_read()
File "C:\Users\Tony\AppData\Roaming\Python\Python37\site-packages\tornado\iostream.py", line 1514, in _handle_read
self._do_ssl_handshake()
File "C:\Users\Tony\AppData\Roaming\Python\Python37\site-packages\tornado\iostream.py", line 1434, in _do_ssl_handshake
self.socket.do_handshake()
File "C:\Users\Tony\AppData\Local\Programs\Python\Python37\lib\ssl.py", line 1108, in do_handshake
self._sslobj.do_handshake()
OSError: [Errno 0] Error
...............Uncaught exception, closing connection.
Traceback (most recent call last):
File "C:\Users\Tony\AppData\Roaming\Python\Python37\site-packages\tornado\iostream.py", line 657, in _handle_events
self._handle_read()
File "C:\Users\Tony\AppData\Roaming\Python\Python37\site-packages\tornado\iostream.py", line 1514, in _handle_read
self._do_ssl_handshake()
File "C:\Users\Tony\AppData\Roaming\Python\Python37\site-packages\tornado\iostream.py", line 1434, in _do_ssl_handshake
self.socket.do_handshake()
File "C:\Users\Tony\AppData\Local\Programs\Python\Python37\lib\ssl.py", line 1108, in do_handshake
self._sslobj.do_handshake()
OSError: [Errno 0] Error
Exception in callback None()
handle:
Traceback (most recent call last):
File "C:\Users\Tony\AppData\Local\Programs\Python\Python37\lib\asyncio\events.py", line 88, in _run
self._context.run(self._callback, *self._args)
File "C:\Users\Tony\AppData\Roaming\Python\Python37\site-packages\tornado\platform\asyncio.py", line 117, in _handle_events
handler_func(fileobj, events)
File "C:\Users\Tony\AppData\Roaming\Python\Python37\site-packages\tornado\stack_context.py", line 276, in null_wrapper
return fn(*args, **kwargs)
File "C:\Users\Tony\AppData\Roaming\Python\Python37\site-packages\tornado\iostream.py", line 657, in _handle_events
self._handle_read()
File "C:\Users\Tony\AppData\Roaming\Python\Python37\site-packages\tornado\iostream.py", line 1514, in _handle_read
self._do_ssl_handshake()
File "C:\Users\Tony\AppData\Roaming\Python\Python37\site-packages\tornado\iostream.py", line 1434, in _do_ssl_handshake
self.socket.do_handshake()
File "C:\Users\Tony\AppData\Local\Programs\Python\Python37\lib\ssl.py", line 1108, in do_handshake
self._sslobj.do_handshake()
OSError: [Errno 0] Error
..Uncaught exception, closing connection.
The text was updated successfully, but these errors were encountered: