You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When device is unable to connect to a broker, it gives an ugly error. This should be fixed.
Error
2019-12-19 10:10:31,900 [INFO ] Start of log for device: display
Traceback (most recent call last):
File "D:/GitHub/BEP_1920_Q2/cc_library/src/scripts/display.py", line 47, in <module>
device.main()
File "D:/GitHub/BEP_1920_Q2/cc_library/src/scripts/display.py", line 42, in main
self.start()
File "D:\GitHub\BEP_1920_Q2\cc_library\src\sciler\scclib\device.py", line 54, in start
self.scclib.start(loop, stop)
File "D:\GitHub\BEP_1920_Q2\cc_library\src\sciler\scclib\app.py", line 65, in start
self.__connect()
File "D:\GitHub\BEP_1920_Q2\cc_library\src\sciler\scclib\app.py", line 112, in __connect
self.client.connect(self.host, self.port, keepalive=10)
File "C:\Users\issah\AppData\Local\Programs\Python\Python37-32\lib\site-packages\paho\mqtt\client.py", line 937, in connect
return self.reconnect()
File "C:\Users\issah\AppData\Local\Programs\Python\Python37-32\lib\site-packages\paho\mqtt\client.py", line 1071, in reconnect
sock = self._create_socket_connection()
File "C:\Users\issah\AppData\Local\Programs\Python\Python37-32\lib\site-packages\paho\mqtt\client.py", line 3522, in _create_socket_connection
return socket.create_connection(addr, source_address=source, timeout=self._keepalive)
File "C:\Users\issah\AppData\Local\Programs\Python\Python37-32\lib\socket.py", line 727, in create_connection
raise err
File "C:\Users\issah\AppData\Local\Programs\Python\Python37-32\lib\socket.py", line 716, in create_connection
sock.connect(sa)
socket.timeout: timed out
Process finished with exit code 1
The text was updated successfully, but these errors were encountered:
Content
When device is unable to connect to a broker, it gives an ugly error. This should be fixed.
Error
The text was updated successfully, but these errors were encountered: