socket.connect() hangs in SYN_SENT state.
semanticist at gmail.com
Mon Jul 14 03:31:53 CEST 2008
On Sun, Jul 13, 2008 at 8:35 PM, bukzor <workitharder at gmail.com> wrote:
> The problem only manifests about 1 in 20 runs. Below there's code for
> a client that shows the problem 100% of the time.
> The two URL's that I seem to be "confused" about point to the same IP.
> Maybe this will make it clear:
> PING bukzor.hopto.org (184.108.40.206) 56(84) bytes of data.
> 64 bytes from adsl-75-61-84-249.dsl.pltn13.sbcglobal.net
> (220.127.116.11): icmp_seq=1 ttl=255 time=1.68 ms
For me, buzkor.hopto.org resolves to 18.104.22.168, which I hope
explains why I thought you were confused, and increases my own
suspicion that DNS settings are to blame. I let the script run for
about five minutes without it failing.
Does your luck change if you use "localhost" or a numeric IP address
in the ServerProxy URL?
More information about the Python-list