| Store | Cart

urllib & browser proxy settings

From: Chris Lyon <chri...@spritenote.co.uk>
10 Mar 2004 02:12:40 -0800
I am running a medusa bases server, which spawns a copy process which
reports back it's status using urllib as below

            f = urllib.urlopen("http://localhost:8088/root/copyresult"
, params)
            print f.read()
            print "could't tell copyresult server I'm initializing %s
,%s %s " % (item,sys.exc_type,sys.exc_value)
        print 'Attempting to Copy %s to %s' %(values[1],values[2])

This is all works very well and life is a sea of tranquility and
programming is fun (see threads passim.)

However when the server is used in the presence of a system which has
the browser proxy setting activated (mozilla or IE) It fails with
"Software caused connection abort". However the 'normal' functions of
the server continue properly. I have tried changing the localhost to all to no avail.

Perhaps this isn't really a python question since it is activated by a
change in the machine configuration but I would really benefit from a
solution as clients will of course be running in an environment that
uses a proxy setting and I don't like being laughed at. (except by you
lot obviously).

Recent Messages in this Thread
Chris Lyon Mar 10, 2004 10:12 am
JanC Mar 11, 2004 05:24 am
Messages in this thread