Open netsesame opened 2 years ago
I added a few lines of code to get some information
2022-07-19 12:04:06,547 [DEBUG ] 3250714 139674514667264 manager: BinanceWebSocketApiManager.is_stop_as_crash_request(df1e2f89508d-a362-08cb-f0ab-9e2079d5)
2022-07-19 12:04:06,547 [DEBUG ] 3250714 139674514667264 manager: BinanceWebSocketApiManager.set_heartbeat(df1e2f89508d-a362-08cb-f0ab-9e2079d5)
2022-07-19 12:04:07,306 [DEBUG ] 3250714 139674514667264 protocol: % sending keepalive ping
2022-07-19 12:04:07,364 [DEBUG ] 3250714 139674514667264 protocol: % received keepalive pong
2022-07-19 12:04:08,549 [DEBUG ] 3250714 139674514667264 sockets: BinanceWebSocketApiSocket.start_socket(df1e2f89508d-a362-08cb-f0ab-9e2079d5, ['arr'], ['!userData'] - Received inner asyncio.TimeoutError
2022-07-19 12:04:08,549 [DEBUG ] 3250714 139674514667264 manager: BinanceWebSocketApiManager.is_stop_request(df1e2f89508d-a362-08cb-f0ab-9e2079d5)
2022-07-19 12:04:08,549 [DEBUG ] 3250714 139674514667264 manager: BinanceWebSocketApiManager.is_stop_as_crash_request(df1e2f89508d-a362-08cb-f0ab-9e2079d5)
2022-07-19 12:04:08,550 [DEBUG ] 3250714 139674514667264 manager: BinanceWebSocketApiManager.set_heartbeat(df1e2f89508d-a362-08cb-f0ab-9e2079d5)
2022-07-19 12:04:09,833 [DEBUG ] 3250714 139674514667264 unicorn_fy: UnicornFy->binance_futures_websocket({"e": "listenKeyExpired", "E": 1658203450029})
2022-07-19 12:04:09,833 [DEBUG ] 3250714 139674514667264 unicorn_fy: xiaox_UnicornFy->binance_futures_websocket(False) - key_error_error: 'data'
2022-07-19 12:04:09,833 [DEBUG ] 3250714 139674514667264 unicorn_fy: xiaox_UnicornFy->stream_data({'e': 'listenKeyExpired', 'E': 1658203450029}) - key_error_error: 'data'
2022-07-19 12:04:09,834 [CRITICAL] 3250714 139674514667264 unicorn_fy: UnicornFy->binance_futures_websocket(False) - error: 'bool' object does not support item assignment
2022-07-19 12:04:09,834 [DEBUG ] 3250714 139674514667264 unicorn_fy: UnicornFy->binance_futures_websocket(False)
2022-07-19 12:04:09,834 [DEBUG ] 3250714 139674514667264 manager: BinanceWebSocketApiManager.is_stop_request(df1e2f89508d-a362-08cb-f0ab-9e2079d5)
2022-07-19 12:04:09,834 [DEBUG ] 3250714 139674514667264 manager: BinanceWebSocketApiManager.is_stop_as_crash_request(df1e2f89508d-a362-08cb-f0ab-9e2079d5)
2022-07-19 12:04:09,834 [DEBUG ] 3250714 139674514667264 manager: BinanceWebSocketApiManager.set_heartbeat(df1e2f89508d-a362-08cb-f0ab-9e2079d5)
2022-07-19 12:04:09,834 [DEBUG ] 3250714 139674514667264 unicorn_fy: UnicornFy->binance_futures_websocket({"e": "listenKeyExpired", "E": 1658203450031})
2022-07-19 12:04:09,835 [DEBUG ] 3250714 139674514667264 **unicorn_fy: xiaox_UnicornFy->binance_futures_websocket(False) - key_error_error: 'data'**
2022-07-19 12:04:09,835 [DEBUG ] 3250714 139674514667264 **unicorn_fy: xiaox_UnicornFy->stream_data({'e': 'listenKeyExpired', 'E': 1658203450031}) - key_error_error: 'data'**
2022-07-19 12:04:09,835 [CRITICAL] 3250714 139674514667264 unicorn_fy: UnicornFy->binance_futures_websocket(False) - error: 'bool' object does not support item assignment
2022-07-19 12:04:09,835 [DEBUG ] 3250714 139674514667264 unicorn_fy: UnicornFy->binance_futures_websocket(False)
2022-07-19 12:04:09,835 [DEBUG ] 3250714 139674514667264 manager: BinanceWebSocketApiManager.is_stop_request(df1e2f89508d-a362-08cb-f0ab-9e2079d5)
2022-07-19 12:04:09,835 [DEBUG ] 3250714 139674514667264 manager: BinanceWebSocketApiManager.is_stop_as_crash_request(df1e2f89508d-a362-08cb-f0ab-9e2079d5)
2022-07-19 12:04:09,835 [DEBUG ] 3250714 139674514667264 manager: BinanceWebSocketApiManager.set_heartbeat(df1e2f89508d-a362-08cb-f0ab-9e2079d5)
2022-07-19 12:04:09,833 [DEBUG ] 3250714 139674514667264 unicorn_fy: xiaox_UnicornFy->binance_futures_websocket(False) - key_error_error: 'data' 2022-07-19 12:04:09,833 [DEBUG ] 3250714 139674514667264 unicorn_fy: xiaox_UnicornFy->stream_data({'e': 'listenKeyExpired', 'E': 1658203450029}) - key_error_error: 'data'
unicorn-fy is no listenerKeyExpired。
Version of this library.
Please post this to your github issue: unicorn_fy: 0.12.2 unicorn_binance_local_depth_cache: not found unicorn_binance_rest_api: not found unicorn_binance_trailing_stop_loss: not found unicorn_binance_websocket_api: 1.41.0
Solution to Issue cannot be found in the documentation or other Issues and also occurs in the latest version of this library.
Hardware?
VPS or other cloud hosting
Operating System?
Linux
Python version?
Python3.8
Installed packages
Logging output
Used endpoint?
binance.com-futures
Issue
Running for a few hours with this error