socket.connect() hangs in SYN_SENT state.

Miles semanticist at gmail.com
Sun Jul 13 21:31:53 EDT 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 (75.61.84.249) 56(84) bytes of data.
> 64 bytes from adsl-75-61-84-249.dsl.pltn13.sbcglobal.net
> (75.61.84.249): icmp_seq=1 ttl=255 time=1.68 ms

For me, buzkor.hopto.org resolves to 69.65.19.125, 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?

-Miles



More information about the Python-list mailing list