This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients Erwin Mayer, gvanrossum, vstinner, yselivanov
Date 2016-03-09.16:48:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1457542096.97.0.729764342963.issue26520@psf.upfronthosting.co.za>
In-reply-to
Content
Do you have a firewall? Maybe the firewall blocks programs listening on sockets? It would be silly, the socket is only listening on 127.0.0.1 (local link) (or ::1 in IPv6, also local link).


Extract of the socketpair() function:

                try:
                    csock.connect((addr, port))
                except (BlockingIOError, InterruptedError):
                    pass

Can you please try to replace this code with:

                try:
                    csock.connect((addr, port))
                except (BlockingIOError, InterruptedError) as exc:
                    print("CONNECT ERROR! %r" % (exc,))

You can copy socket.py from the Python standard library to the current directory and modify the local copy.
History
Date User Action Args
2016-03-09 16:48:17vstinnersetrecipients: + vstinner, gvanrossum, yselivanov, Erwin Mayer
2016-03-09 16:48:16vstinnersetmessageid: <1457542096.97.0.729764342963.issue26520@psf.upfronthosting.co.za>
2016-03-09 16:48:16vstinnerlinkissue26520 messages
2016-03-09 16:48:16vstinnercreate