Tested on a lxd container configured with 8.8.8.8 as the nameserver and 200ms of network latency added with tc.
-----------------------------------------
Before upgrading to version in -proposed:
-----------------------------------------
$ dpkg-query --show python3-aiohttp
python3-aiohttp 3.6.2-1build1
$ python3 file.py
Task exception was never retrieved
future: <Task finished name='Task-3' coro=<TCPConnector._resolve_host() done, defined at /usr/lib/python3/dist-packages/aiohttp/connector.py:774> exception=gaierror(-2, 'Name or service not known')>
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/aiohttp/connector.py", line 829, in _resolve_host
addrs = await \
File "/usr/lib/python3/dist-packages/aiohttp/resolver.py", line 29, in resolve
infos = await self._loop.getaddrinfo(
File "/usr/lib/python3.8/asyncio/base_events.py", line 825, in getaddrinfo
return await self.run_in_executor(
File "/usr/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/lib/python3.8/socket.py", line 918, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known
----------------------------------------
After upgrading to version in -proposed:
-----------------------------------------
$ dpkg-query --show python3-aiohttp
python3-aiohttp 3.6.2-1ubuntu1
$ python3 file.py
$
Also tested using a subiquity ISO based on the 22.04.1 snap version.
No crash when using the python3-aiohttp from proposed.
Tested on a lxd container configured with 8.8.8.8 as the nameserver and 200ms of network latency added with tc.
------- ------- ------- ------- ------- ------ ------- ------- ------- ------- ------
Before upgrading to version in -proposed:
-------
$ dpkg-query --show python3-aiohttp
python3-aiohttp 3.6.2-1build1
$ python3 file.py tor._resolve_ host() done, defined at /usr/lib/ python3/ dist-packages/ aiohttp/ connector. py:774> exception= gaierror( -2, 'Name or service not known')> python3/ dist-packages/ aiohttp/ connector. py", line 829, in _resolve_host python3/ dist-packages/ aiohttp/ resolver. py", line 29, in resolve getaddrinfo( python3. 8/asyncio/ base_events. py", line 825, in getaddrinfo in_executor( python3. 8/concurrent/ futures/ thread. py", line 57, in run python3. 8/socket. py", line 918, in getaddrinfo getaddrinfo( host, port, family, type, proto, flags):
Task exception was never retrieved
future: <Task finished name='Task-3' coro=<TCPConnec
Traceback (most recent call last):
File "/usr/lib/
addrs = await \
File "/usr/lib/
infos = await self._loop.
File "/usr/lib/
return await self.run_
File "/usr/lib/
result = self.fn(*self.args, **self.kwargs)
File "/usr/lib/
for res in _socket.
socket.gaierror: [Errno -2] Name or service not known
------- ------- ------- ------- ------- ----- ------- ------- ------- ------- ------
After upgrading to version in -proposed:
-------
$ dpkg-query --show python3-aiohttp
python3-aiohttp 3.6.2-1ubuntu1
$ python3 file.py
$
Also tested using a subiquity ISO based on the 22.04.1 snap version.
No crash when using the python3-aiohttp from proposed.