Created
May 2, 2019 14:59
-
-
Save krishnavelu/f7f9bc5836f8071f4809a51b2c0dc811 to your computer and use it in GitHub Desktop.
Alice Blue server is closing websocket connection.
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
12:53:31.711.115, alice_blue, INFO, sending heartbeat | |
12:53:36.712.864, alice_blue, INFO, sending heartbeat | |
12:53:41.717.905, alice_blue, INFO, sending heartbeat | |
12:53:46.729.342, alice_blue, INFO, sending heartbeat | |
12:53:51.731.458, alice_blue, INFO, sending heartbeat | |
12:53:56.737.723, alice_blue, INFO, sending heartbeat | |
12:54:01.745.090, alice_blue, INFO, sending heartbeat | |
12:54:06.751.500, alice_blue, INFO, sending heartbeat | |
12:54:11.761.191, alice_blue, INFO, sending heartbeat | |
12:54:16.764.560, alice_blue, INFO, sending heartbeat | |
12:54:21.771.164, alice_blue, INFO, sending heartbeat | |
12:54:26.778.870, alice_blue, INFO, sending heartbeat | |
12:54:31.785.777, alice_blue, INFO, sending heartbeat | |
12:54:33.89.653, Subscribe, WARNING, Alice Websocket is in error - error Connection is already closed. | |
12:54:33.90.111, Subscribe, WARNING, Alice Websocket closed | |
12:54:36.792.882, 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 119, in send | |
"Connection is already closed.") | |
websocket._exceptions.WebSocketConnectionClosedException: Connection is already closed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is one more.
https://gist.github.com/krishnavelu/01c35fbddbb9118dc1f12f59b77c4bbb