-
Notifications
You must be signed in to change notification settings - Fork 69
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
Can not connect to python.org:80 [No route to host] #22
Comments
You probably have an IPv6 stack but no route. Try this: tcpconnector = aiohttp.TCPConnector(family=socket.AF_INET)
async with aiohttp.ClientSession(connector=tcpconnector) as session:
[...] The default was changed in |
@gwillem ah, looks like they've recognised it as an issue in any case. Thanks for the detailed response. |
and
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Running the aiohttp client example on the homepage using aiodns 1.1.1 results in;
aiohttp.errors.ClientOSError: [Errno 65] Cannot connect to host python.org:80 ssl:False [Can not connect to python.org:80 [No route to host]]
However, running with aiodns 1.0.1 works without fault.
The text was updated successfully, but these errors were encountered: