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

Unhandled WebSocket Error:<class 'aiohttp.client_exceptions.ClientConnectorError'> #39

Open
vhuichen opened this issue Mar 10, 2024 · 1 comment

Comments

@vhuichen
Copy link

mac环境,okx连接不了;检查过秘钥那些都是对的

aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host ws.okx.com:8443 ssl:False [Connection reset by peer]
[2024-03-10T18:36:37.858775]: Unhandled WebSocket Error:<class 'aiohttp.client_exceptions.ClientConnectorError'>
LastSentText:

@51bitquant
Copy link
Owner

一般这个问题是网络问题。还有就是ssl库的问题。建议你先更新ssl软件(谷歌搜索一下),然后在安装ssl库(pip install ssl)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants