Open
Description
Operating System
Armbian
Programming Languages
Python
CCXT Version
v4.4.52
Description
Until Jan 14 2025 mexc used to work for me, via websocket a couple of weeks ago, but recently I get bunch of errors as I included in the bottom.
I tried these settings as a options for exchange but that did not seem to help :
recvWindow=10000
ws={"keepAlive": true}
Any ideas what else to try ?
Code
response = await get_response(exchange, method, symbol)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/xxxxxxxxx/watch.py", line 483, in get_response
response = await getattr(exchange.get_exch(), method) (symbol)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/xxxxxxxxxx/.py11/lib/python3.11/site-packages/ccxt/pro/mexc.py", line 835, in watch_trades
trades = await self.watch_spot_public(channel, messageHash, params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/xxxxxxxx/.py11/lib/python3.11/site-packages/ccxt/pro/mexc.py", line 477, in watch_spot_public
return await self.watch(url, messageHash, self.extend(request, params), channel)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ccxt.base.errors.RequestTimeout: Connection to wss://wbs.mexc.com/ws timed out due to a ping-pong keepalive missing on time