Created
May 3, 2019 15:41
-
-
Save krishnavelu/01c35fbddbb9118dc1f12f59b77c4bbb to your computer and use it in GitHub Desktop.
Connection reset by peer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
09:44:36.441.676, alice_blue, INFO, sending heartbeat | |
09:44:41.449.703, alice_blue, INFO, sending heartbeat | |
09:44:46.456.644, alice_blue, INFO, sending heartbeat | |
09:44:51.464.820, alice_blue, INFO, sending heartbeat | |
09:44:56.470.920, alice_blue, INFO, sending heartbeat | |
09:45:01.477.679, alice_blue, INFO, sending heartbeat | |
09:45:06.485.695, alice_blue, INFO, sending heartbeat | |
09:45:11.493.671, alice_blue, INFO, sending heartbeat | |
09:45:16.497.743, alice_blue, INFO, sending heartbeat | |
09:45:21.505.678, alice_blue, INFO, sending heartbeat | |
09:45:26.509.628, alice_blue, INFO, sending heartbeat | |
09:45:31.517.670, alice_blue, INFO, sending heartbeat | |
09:45:36.524.420, alice_blue, INFO, sending heartbeat | |
Exception in thread Thread-1: | |
Traceback (most recent call last): | |
File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner | |
self.run() | |
File "/usr/lib/python3.6/threading.py", line 864, in run | |
self._target(*self._args, **self._kwargs) | |
File "/home/krishna/test/PTrade/broker_alice/alice_blue/alice_blue/alice_blue.py", line 356, in __send_heartbeat | |
self.__websocket.send(json.dumps(heart_beat), opcode = websocket._abnf.ABNF.OPCODE_PING) | |
File "/home/krishna/.local/lib/python3.6/site-packages/websocket/_app.py", line 117, in send | |
if not self.sock or self.sock.send(data, opcode) == 0: | |
File "/home/krishna/.local/lib/python3.6/site-packages/websocket/_core.py", line 234, in send | |
return self.send_frame(frame) | |
File "/home/krishna/.local/lib/python3.6/site-packages/websocket/_core.py", line 259, in send_frame | |
l = self._send(data) | |
File "/home/krishna/.local/lib/python3.6/site-packages/websocket/_core.py", line 423, in _send | |
return send(self.sock, data) | |
File "/home/krishna/.local/lib/python3.6/site-packages/websocket/_socket.py", line 116, in send | |
return sock.send(data) | |
File "/usr/lib/python3.6/ssl.py", line 944, in send | |
return self._sslobj.write(data) | |
File "/usr/lib/python3.6/ssl.py", line 642, in write | |
return self._sslobj.write(data) | |
ConnectionResetError: [Errno 104] Connection reset by peer | |
10:05:07.215.244, Subscribe, WARNING, Alice Websocket is in error - error Connection is already closed. | |
10:05:07.215.628, Subscribe, WARNING, Alice Websocket closed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment