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

OSError: [WinError 10042] when making connection #404

Closed
arouax opened this issue Feb 26, 2018 · 2 comments
Closed

OSError: [WinError 10042] when making connection #404

arouax opened this issue Feb 26, 2018 · 2 comments
Projects
Milestone

Comments

@arouax
Copy link

arouax commented Feb 26, 2018

This issue: #370 is present again on Windows as of version 0.47.0 (incorrect merge perhaps?)
If I manually add the fixes introduced in this commit: 1135431, then everything works OK again.

@ghost
Copy link

ghost commented Feb 28, 2018

This is a bug of Python 3.6.4, https://bugs.python.org/issue32394

There are two solutions:

  1. Upgrade to Windows 10 1703+, which supports TCP_KEEPCNT flag.
  2. Use Python 3.6.3 (always hide TCP_KEEPCNT flag), or Use Python 3.6.5+ (hide TCP_KEEPCNT flag when unusable).

@engn33r
Copy link
Collaborator

engn33r commented Feb 15, 2021

Closing this issue since it appears to be a bug in Python, not this library. Thanks for the help @animalize!

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

No branches or pull requests

3 participants