2024-05-16 13:49:08,311 - api.bybit.pybit._websocket_stream - ERROR - WebSocket Unified V5 (Auth) (wss://stream-testnet.bybit.com/v5/private) encountered error: Connection to remote host was lost..
2024-05-16 13:49:08,312 - api.bybit.pybit._websocket_stream - INFO - WebSocket Unified V5 (Auth) attempting connection...
2024-05-16 13:49:13,115 - api.bitmex.ws - INFO - (https) sending GET to announcement/urgent: ""
2024-05-16 13:49:16,367 - api.bitmex.ws - ERROR - Unable to contact API: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response')). https://testnet.bitmex.com/api/v1/announcement/urgent: ""
2024-05-16 13:49:16,483 - websocket - INFO - Websocket connected
2024-05-16 13:49:16,483 - api.bybit.pybit._websocket_stream - INFO - WebSocket Unified V5 (Auth) connected
2024-05-16 13:49:16,484 - websocket - ERROR - Connection to remote host was lost. - goodbye
2024-05-16 13:49:19,238 - api.bitmex.ws - INFO - (https) sending GET to announcement/urgent: ""
2024-05-16 13:49:21,517 - api.bybit.pybit._websocket_stream - ERROR - WebSocket Unified V5 (wss://stream-testnet.bybit.com/v5/public/linear) encountered error: ping/pong timed out.
2024-05-16 13:49:21,615 - api.bitmex.ws - INFO - Bitmex - Websocket closed
2024-05-16 13:49:22,873 - api.bitmex.ws - INFO - (https) sending GET to instrument/active: ""
2024-05-16 13:49:23,026 - api.bitmex.ws - INFO - Connecting to websocket
2024-05-16 13:49:23,027 - api.bitmex.ws - INFO - (https) sending GET to user: ""
2024-05-16 13:49:23,027 - api.bitmex.ws - INFO - Authenticating with API key.
2024-05-16 13:49:23,027 - api.bitmex.ws - INFO - (https) sending GET to position: ""
2024-05-16 13:49:23,344 - websocket - INFO - Websocket connected
2024-05-16 13:49:24,031 - api.bitmex.ws - INFO - Connected to websocket.
2024-05-16 13:49:24,240 - api.bitmex.ws - INFO - Data received. Continuing.
2024-05-16 13:49:24,267 - api.bitmex.ws - INFO - (https) sending GET to execution/tradeHistory?count=500&reverse=false&startTime=2024-05-16 04:00:00: ""
2024-05-16 13:49:24,519 - api.bybit.pybit._websocket_stream - INFO - WebSocket Unified V5 attempting connection...
2024-05-16 13:49:25,248 - api.bitmex.ws - INFO - Bitmex - Websocket closed
2024-05-16 13:49:25,327 - websocket - INFO - Websocket connected
2024-05-16 13:49:25,376 - websocket - ERROR - error from callback <function _WebSocketManager._connect.. at 0x1096e7f60>: 'NoneType' object has no attribute 'sock'
2024-05-16 13:49:25,389 - websocket - INFO - tearing down on exception 'NoneType' object has no attribute 'sock'
2024-05-16 13:49:25,395 - api.bybit.pybit._websocket_stream - INFO - WebSocket Unified V5 attempting connection...
2024-05-16 13:49:25,505 - api.bybit.ws - INFO - Bybit - Websocket closed
Exception in Tkinter callback
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/tkinter/init.py", line 1967, in call
return self.func(args)
^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/tkinter/init.py", line 861, in callit
func(args)
File "/Users/nrmn/Documents/tmatic_240516_1/main.py", line 16, in refresh
connect.refresh()
File "/Users/nrmn/Documents/tmatic_240516_1/connect.py", line 133, in refresh
Function.refresh_on_screen(Markets[var.current_market], utc=utc)
File "/Users/nrmn/Documents/tmatic_240516_1/functions.py", line 696, in refresh_on_screen
disp.label_time["text"] = time.asctime(time.gmtime())
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/tkinter/__init__.py", line 1732, in __setitem__
self.configure({key: value})
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/tkinter/__init__.py", line 1721, in configure
return self._configure('configure', cnf, kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/tkinter/__init__.py", line 1711, in _configure
self.tk.call(_flatten((self._w, cmd)) + self._options(cnf))
_tkinter.TclError: invalid command name ".!frame.!frame.!label3"
2024-05-16 13:49:08,311 - api.bybit.pybit._websocket_stream - ERROR - WebSocket Unified V5 (Auth) (wss://stream-testnet.bybit.com/v5/private) encountered error: Connection to remote host was lost.. 2024-05-16 13:49:08,312 - api.bybit.pybit._websocket_stream - INFO - WebSocket Unified V5 (Auth) attempting connection... 2024-05-16 13:49:13,115 - api.bitmex.ws - INFO - (https) sending GET to announcement/urgent: "" 2024-05-16 13:49:16,367 - api.bitmex.ws - ERROR - Unable to contact API: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response')). https://testnet.bitmex.com/api/v1/announcement/urgent: "" 2024-05-16 13:49:16,483 - websocket - INFO - Websocket connected 2024-05-16 13:49:16,483 - api.bybit.pybit._websocket_stream - INFO - WebSocket Unified V5 (Auth) connected 2024-05-16 13:49:16,484 - websocket - ERROR - Connection to remote host was lost. - goodbye 2024-05-16 13:49:19,238 - api.bitmex.ws - INFO - (https) sending GET to announcement/urgent: "" 2024-05-16 13:49:21,517 - api.bybit.pybit._websocket_stream - ERROR - WebSocket Unified V5 (wss://stream-testnet.bybit.com/v5/public/linear) encountered error: ping/pong timed out. 2024-05-16 13:49:21,615 - api.bitmex.ws - INFO - Bitmex - Websocket closed 2024-05-16 13:49:22,873 - api.bitmex.ws - INFO - (https) sending GET to instrument/active: "" 2024-05-16 13:49:23,026 - api.bitmex.ws - INFO - Connecting to websocket 2024-05-16 13:49:23,027 - api.bitmex.ws - INFO - (https) sending GET to user: "" 2024-05-16 13:49:23,027 - api.bitmex.ws - INFO - Authenticating with API key. 2024-05-16 13:49:23,027 - api.bitmex.ws - INFO - (https) sending GET to position: "" 2024-05-16 13:49:23,344 - websocket - INFO - Websocket connected 2024-05-16 13:49:24,031 - api.bitmex.ws - INFO - Connected to websocket. 2024-05-16 13:49:24,240 - api.bitmex.ws - INFO - Data received. Continuing. 2024-05-16 13:49:24,267 - api.bitmex.ws - INFO - (https) sending GET to execution/tradeHistory?count=500&reverse=false&startTime=2024-05-16 04:00:00: "" 2024-05-16 13:49:24,519 - api.bybit.pybit._websocket_stream - INFO - WebSocket Unified V5 attempting connection... 2024-05-16 13:49:25,248 - api.bitmex.ws - INFO - Bitmex - Websocket closed 2024-05-16 13:49:25,327 - websocket - INFO - Websocket connected 2024-05-16 13:49:25,376 - websocket - ERROR - error from callback <function _WebSocketManager._connect.. at 0x1096e7f60>: 'NoneType' object has no attribute 'sock'
2024-05-16 13:49:25,389 - websocket - INFO - tearing down on exception 'NoneType' object has no attribute 'sock'
2024-05-16 13:49:25,395 - api.bybit.pybit._websocket_stream - INFO - WebSocket Unified V5 attempting connection...
2024-05-16 13:49:25,505 - api.bybit.ws - INFO - Bybit - Websocket closed
Exception in Tkinter callback
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/tkinter/init.py", line 1967, in call
return self.func(args)
^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/tkinter/init.py", line 861, in callit
func(args)
File "/Users/nrmn/Documents/tmatic_240516_1/main.py", line 16, in refresh
connect.refresh()
File "/Users/nrmn/Documents/tmatic_240516_1/connect.py", line 133, in refresh
Function.refresh_on_screen(Markets[var.current_market], utc=utc)
File "/Users/nrmn/Documents/tmatic_240516_1/functions.py", line 696, in refresh_on_screen
disp.label_time["text"] = time.asctime(time.gmtime())