socket.connect() hangs in SYN_SENT state.
workitharder at gmail.com
Mon Jul 14 06:12:21 CEST 2008
On Jul 13, 6:31 pm, Miles <semantic... at gmail.com> wrote:
> On Sun, Jul 13, 2008 at 8:35 PM, bukzor <workithar... 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 (18.104.22.168) 56(84) bytes of data.
> > 64 bytes from adsl-75-61-84-249.dsl.pltn13.sbcglobal.net
> > (22.214.171.124): icmp_seq=1 ttl=255 time=1.68 ms
> For me, buzkor.hopto.org resolves to 126.96.36.199, 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?
It seems to work fairly perfectly If i use localhost or even my LAN IP
address, but starts to fail if I go beyond that.
You said you ran it for five minuts without error. Did it error out
after that? If you can't reproduce it, that would indicate something
More information about the Python-list