We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Windows 10
Python
4.3.11
After a few hours or when the Internet connection is lost, coinex websocket freezes and does not display any errors.
import asyncio import ccxt.pro async def watch_coinex(): # Coinex exchange = ccxt.pro.coinex({ 'apiKey': '', 'secret': '', 'enableRateLimit': True, }) exchange.verbose = True while True: try: Coinex = await exchange.watch_order_book ('BTC/USDT', limit = 5, params = {}) print(Coinex) except: print("fail") await exchange.close() async def main(): await watch_coinex() asyncio.run(main()) For example, Mexc work fine: import asyncio import ccxt.pro async def watch_mexc(): # Mexc exchange = ccxt.pro.mexc({ 'apiKey': '', 'secret': '', 'enableRateLimit': True, }) exchange.verbose = True while True: try: Mexc = await exchange.watch_order_book ('BTC/USDT', limit = 3, params = {}) print(Mexc) except: print("fail") await exchange.close() async def main(): await watch_mexc() asyncio.run(main())
The text was updated successfully, but these errors were encountered:
Hello @bonusru, does it happen only after a few hours? Is there a way of reproducing it faster?
Sorry, something went wrong.
@bonusru If you enable the verbose mode exchange.verbose = True can you see any errors in the logs?
exchange.verbose = True
Repeats if I turn off the Internet. exchange.verbose = True This doesn't help, it just hangs on the last update received, no errors
samgermain
No branches or pull requests
Operating System
Windows 10
Programming Languages
Python
CCXT Version
4.3.11
Description
After a few hours or when the Internet connection is lost, coinex websocket freezes and does not display any errors.
Code
The text was updated successfully, but these errors were encountered: