Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

./example_binance_dex.py error after start #34

Closed
oliver-zehentleitner opened this issue Nov 7, 2019 · 0 comments
Closed

./example_binance_dex.py error after start #34

oliver-zehentleitner opened this issue Nov 7, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@oliver-zehentleitner
Copy link
Member

./example_binance_dex.py throws this error imediatly after the start:

`Exception in thread Thread-19:
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/oliver/testlab/unicorn-binance-websocket-api/unicorn_binance_websocket_api/unicorn_binance_websocket_api_manager.py", line 239, in _create_stream_thread
loop.run_until_complete(binance_websocket_api_socket.start_socket())
File "/usr/lib/python3.6/asyncio/base_events.py", line 484, in run_until_complete
return future.result()
File "/home/oliver/testlab/unicorn-binance-websocket-api/unicorn_binance_websocket_api/unicorn_binance_websocket_api_socket.py", line 55, in start_socket
self.channels, self.markets) as websocket:
File "/home/oliver/testlab/unicorn-binance-websocket-api/unicorn_binance_websocket_api/unicorn_binance_websocket_api_connection.py", line 105, in aenter
await self.send(json.dumps(payload, ensure_ascii=False))
File "/home/oliver/testlab/unicorn-binance-websocket-api/unicorn_binance_websocket_api/unicorn_binance_websocket_api_connection.py", line 252, in send
await self.handler_binance_websocket_api_manager.websocket_list[self.stream_id].send(data)
KeyError: UUID('a3606f83-66c4-4423-a6f2-dd5c3666f846')

Exception in thread Thread-22:
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/oliver/testlab/unicorn-binance-websocket-api/unicorn_binance_websocket_api/unicorn_binance_websocket_api_manager.py", line 239, in _create_stream_thread
loop.run_until_complete(binance_websocket_api_socket.start_socket())
File "/usr/lib/python3.6/asyncio/base_events.py", line 484, in run_until_complete
return future.result()
File "/home/oliver/testlab/unicorn-binance-websocket-api/unicorn_binance_websocket_api/unicorn_binance_websocket_api_socket.py", line 55, in start_socket
self.channels, self.markets) as websocket:
File "/home/oliver/testlab/unicorn-binance-websocket-api/unicorn_binance_websocket_api/unicorn_binance_websocket_api_connection.py", line 105, in aenter
await self.send(json.dumps(payload, ensure_ascii=False))
File "/home/oliver/testlab/unicorn-binance-websocket-api/unicorn_binance_websocket_api/unicorn_binance_websocket_api_connection.py", line 252, in send
await self.handler_binance_websocket_api_manager.websocket_list[self.stream_id].send(data)
KeyError: UUID('f83a4842-020c-47d6-923c-328358ac596c')
`

@oliver-zehentleitner oliver-zehentleitner added the bug Something isn't working label Nov 7, 2019
oliver-zehentleitner added a commit that referenced this issue Nov 9, 2019
BestCryptoKnight pushed a commit to BestCryptoKnight/unicorn-binance-websocket-api that referenced this issue Jul 10, 2022
Seven-112 pushed a commit to Seven-112/unicorn-binance-websocket-api that referenced this issue May 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant