Replies: 1 comment 4 replies
-
No idea, but if you look at the traceback, I think you'll see the original exception comes from the |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The following python application works flawless with the same configuration on Windows.
I got a Mac with Python 3.10 setup. I also installed certificates after installing Python, so aiohttp works fine when connecting to external services like Discord.com's API trough the discord.py library.
I build a .net web api, which I want to use in my py app. This .net app issues a TLSv2 SSL cert for localhost. Testing the api trough Postman works fine.
When using this api in my app with a default session I get
ClientConnectorSSLError(ConnectionKey(host='127.0.0.1', port=5067, is_ssl=True, ssl=None, proxy=None, proxy_auth=None, proxy_headers_hash=None), SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:997)'))
.I also tried creating a session with ssl verification disabled:
connector=aiohttp.TCPConnector(verify_ssl=sys.platform != 'darwin')
. This also results in the same error.Any thoughts on how to solve that?
Beta Was this translation helpful? Give feedback.
All reactions