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
No handlers could be found for logger "socketIO_client"
Connecting
Reconnecting
Traceback (most recent call last):
File "./ws2r.py", line 65, in <module>
socketIO.wait()
File "/home/petanb/Public/XMLRCS/src/ws2r/socketIO-client/socketIO_client/__init__.py", line 251, in wait
self._process_events(timeout)
File "/home/petanb/Public/XMLRCS/src/ws2r/socketIO-client/socketIO_client/__init__.py", line 268, in _process_events
for packet in self._transport.recv_packet(timeout):
File "/home/petanb/Public/XMLRCS/src/ws2r/socketIO-client/socketIO_client/__init__.py", line 332, in _transport
socketIO_session, self._transport_name)
File "/home/petanb/Public/XMLRCS/src/ws2r/socketIO-client/socketIO_client/__init__.py", line 380, in _get_transport
}[transport_name](session, self.is_secure, self._base_url, **self._kw)
File "/home/petanb/Public/XMLRCS/src/ws2r/socketIO-client/socketIO_client/transports.py", line 146, in __init__
self._connection = websocket.create_connection(url, header=headers)
File "/usr/local/lib/python2.7/dist-packages/websocket/_core.py", line 266, in create_connection
websock.connect(url, **options)
File "/usr/local/lib/python2.7/dist-packages/websocket/_core.py", line 524, in connect
self._handshake(hostname, port, resource, **options)
File "/usr/local/lib/python2.7/dist-packages/websocket/_core.py", line 596, in _handshake
resp_headers = self._get_resp_headers()
File "/usr/local/lib/python2.7/dist-packages/websocket/_core.py", line 549, in _get_resp_headers
raise WebSocketException("Handshake status %d" % status)
websocket._exceptions.WebSocketException: Handshake status 502
I am calling self.emit on reconnect event but it causes the program to crash. Why? How do I implement proper reconnect to source
The text was updated successfully, but these errors were encountered:
Source code: https://github.com/huggle/XMLRCS/blob/master/src/ws2r/ws2r.py#L56
I am calling self.emit on reconnect event but it causes the program to crash. Why? How do I implement proper reconnect to source
The text was updated successfully, but these errors were encountered: