You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem is that the error is not logged. Try to run binance and cexio at the same time to get some errors.
Also, I removed these lines:
await exchange.close()
raise WsError(exchange.id)
This was causing binance websockets to stop. My idea was to close the channel with the problematic exchange/pair, not shut down ALL channels from one exchange.
Ideally I'd like to re-subscribe the websocket that is causing errors (or that got disconnected).
subscribed: cex BTC/USD
subscribed: cex BTC/EUR
subscribed: binance BTC/USDT
binance, 2019-01-17 23:27:57.255584, [<FrameSummary file /home/paul/projects-python/ccxtws/ob_updater.py, line 142 in >, <FrameSummary file /home/paul/projects-python/ccxtws/ob_updater.py, line 68 in main>, <FrameSummary file /usr/lib/python3.6/asyncio/base_events.py, line 427 in run_forever>, <FrameSummary file /usr/lib/python3.6/asyncio/base_events.py, line 1440 in _run_once>, <FrameSummary file /usr/lib/python3.6/asyncio/events.py, line 145 in _run>, <FrameSummary file /home/paul/projects-python/ccxtws/ob_updater.py, line 88 in websocket_error>]
subscribed: binance EOS/USDT
subscribed: binance ETH/USDT
The text was updated successfully, but these errors were encountered:
Sorry @firepol I don't have a cex account to test, I have reported to cex support, but still doesn't work ( I don't receive any confirmation email from CEX). It's weird that you get this issue only in combination with cex. Maybe something wrong in cex implementaion, I couldn't check it out recently.
In
ob_updater
,subscribe_ws
I removed these lines and added a TODO to this issue.The problem is that the error is not logged. Try to run binance and cexio at the same time to get some errors.
Also, I removed these lines:
This was causing binance websockets to stop. My idea was to close the channel with the problematic exchange/pair, not shut down ALL channels from one exchange.
Ideally I'd like to re-subscribe the websocket that is causing errors (or that got disconnected).
To reproduce:
settings.ini
Run:
Error I get:
subscribed: cex BTC/USD
subscribed: cex BTC/EUR
subscribed: binance BTC/USDT
binance, 2019-01-17 23:27:57.255584, [<FrameSummary file /home/paul/projects-python/ccxtws/ob_updater.py, line 142 in >, <FrameSummary file /home/paul/projects-python/ccxtws/ob_updater.py, line 68 in main>, <FrameSummary file /usr/lib/python3.6/asyncio/base_events.py, line 427 in run_forever>, <FrameSummary file /usr/lib/python3.6/asyncio/base_events.py, line 1440 in _run_once>, <FrameSummary file /usr/lib/python3.6/asyncio/events.py, line 145 in _run>, <FrameSummary file /home/paul/projects-python/ccxtws/ob_updater.py, line 88 in websocket_error>]
subscribed: binance EOS/USDT
subscribed: binance ETH/USDT
The text was updated successfully, but these errors were encountered: