-
-
Notifications
You must be signed in to change notification settings - Fork 2k
-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Fatal error on SSL transport #3393
Comments
I used “try” and tried handle this exception, but I can’ catch it. |
GitMate.io thinks the contributor most likely able to help you is @asvetlov. Possibly related issues are #3242 (Error), #3117 (Fatal read error on socket transport), #3141 (Fatal read error on socket transport ), #2822 (Unexpected SSL error (CERTIFICATE_VERIFY_FAILED)), and #272 (SSL documentation). |
What Python and aiohttp versions do yo use? |
python 3.6.1 and aiohttp 3.4.4 by using pip |
The problem not in aiohttp itself but in Python asyncio. |
I'm using Pythonista on ios, so I can't upgrade to 3.7.1 by myself. But if the author made it, I would try and give you the feedback. |
Should I close it now or let it open until …? |
Yes, better to report on upstream. |
Did you read that? I think that's important. |
https://bz.apache.org/bugzilla/show_bug.cgi?id=58956 |
Let's close: nothing to do on aiohttp side. |
😂 Maybe you are right. Anyway, thanks a lot. |
Fatal error on SSL transport
protocol: <asyncio.sslproto.SSLProtocol object at 0x114b81518>
transport: <_SelectorSocketTransport fd=132 read=polling write=<idle, bufsize=0>>
Traceback (most recent call last):
File "/private/var/mobile/Containers/Shared/AppGroup/383B28C1-6DCF-40D8-AB53-B5F7548B7F79/Pythonista3/Documents/site-packages-3/aiohttp/client.py", line 391, in _request
await resp.start(conn)
File "/private/var/mobile/Containers/Shared/AppGroup/383B28C1-6DCF-40D8-AB53-B5F7548B7F79/Pythonista3/Documents/site-packages-3/aiohttp/client_reqrep.py", line 770, in start
self._continue = None
File "/private/var/mobile/Containers/Shared/AppGroup/383B28C1-6DCF-40D8-AB53-B5F7548B7F79/Pythonista3/Documents/site-packages-3/aiohttp/helpers.py", line 673, in exit
raise asyncio.TimeoutError from None
concurrent.futures._base.TimeoutError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/containers/Bundle/Application/84DF3BDF-B442-41B6-93B3-AB45EDA9E5FC/Pythonista3.app/Frameworks/Py3Kit.framework/pylib/asyncio/sslproto.py", line 640, in _process_write_backlog
ssldata = self._sslpipe.shutdown(self._finalize)
File "/var/containers/Bundle/Application/84DF3BDF-B442-41B6-93B3-AB45EDA9E5FC/Pythonista3.app/Frameworks/Py3Kit.framework/pylib/asyncio/sslproto.py", line 156, in shutdown
ssldata, appdata = self.feed_ssldata(b'')
File "/var/containers/Bundle/Application/84DF3BDF-B442-41B6-93B3-AB45EDA9E5FC/Pythonista3.app/Frameworks/Py3Kit.framework/pylib/asyncio/sslproto.py", line 220, in feed_ssldata
self._sslobj.unwrap()
File "/var/containers/Bundle/Application/84DF3BDF-B442-41B6-93B3-AB45EDA9E5FC/Pythonista3.app/Frameworks/Py3Kit.framework/pylib/ssl.py", line 692, in unwrap
return self._sslobj.shutdown()
ssl.SSLError: [SSL] called a function you should not call (_ssl.c:2299)
The text was updated successfully, but these errors were encountered: