-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Description
After deployment, an error occurred because market data could not be retrieved. I believe this is due to the okx interface not being configured with a proxy.
The error message is as follows:
File "D:\Program Files (x86)\ValueCell\backend.venv\Lib\site-packages\ccxt\async_support\base\exchange.py", line 981, in fetch2
raise e
File "D:\Program Files (x86)\ValueCell\backend.venv\Lib\site-packages\ccxt\async_support\base\exchange.py", line 972, in fetch2
return await self.fetch(request['url'], request['method'], request['headers'], request['body'])
�� �� �� �� �� �� {'url': 'https://www.okx.com/api/v5/public/instruments?instType=SPOT', 'method': 'GET', 'body': None, 'headers': None}
�� �� �� �� �� {'url': 'https://www.okx.com/api/v5/public/instruments?instType=SPOT', 'method': 'GET', 'body': None, 'headers': None}
�� �� �� �� {'url': 'https://www.okx.com/api/v5/public/instruments?instType=SPOT', 'method': 'GET', 'body': None, 'headers': None}
�� �� �� {'url': 'https://www.okx.com/api/v5/public/instruments?instType=SPOT', 'method': 'GET', 'body': None, 'headers': None}
�� �� <function Exchange.fetch at 0x0000025F48A69940>
�� ccxt.async_support.okx()
File "D:\Program Files (x86)\ValueCell\backend.venv\Lib\site-packages\ccxt\async_support\base\exchange.py", line 253, in fetch
raise RequestTimeout(details) from e
�� �� 'okx GET https://www.okx.com/api/v5/public/instruments?instType=SPOT'
�� <class 'ccxt.base.errors.RequestTimeout'>
ccxt.base.errors.RequestTimeout: okx GET https://www.okx.com/api/v5/public/instruments?instType=SPOT