Trouble with proxies

befletch at my-dejanews.com befletch at my-dejanews.com
Thu Apr 29 20:13:31 EDT 1999


Hello again everyone,

I have tried all the suggestions people have sent me, and I have tried all
the local debugging I could think of, but I still can't see the world from
behind my proxy server.  Can anyone find a possible solution to this?  I've
had to modify my URL lines with (colin-slash-slash) to get past DejaNews'
Draconian posting filters:


C:\>SET http_proxy=http(colin-slash-slash)10.187.200.230

C:\>"C:\Program Files\Python\python.exe"
Python 1.5.2 (#0, Apr 13 1999, 10:51:12) [MSC 32 bit (Intel)] on win32
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> import urllib
>>> u=urllib.urlopen('http(colin-slash-slash)www.yahoo.com')
Traceback (innermost last):
  File "<stdin>", line 1, in ?
  File "C:\Program Files\Python\Lib\urllib.py", line 59, in urlopen
    return _urlopener.open(url)
  File "C:\Program Files\Python\Lib\urllib.py", line 157, in open
    return getattr(self, name)(url)
  File "C:\Program Files\Python\Lib\urllib.py", line 266, in open_http
    errcode, errmsg, headers = h.getreply()
  File "C:\Program Files\Python\Lib\httplib.py", line 121, in getreply
    line = self.file.readline()
  File "C:\Program Files\Python\Lib\plat-win\socket.py", line 117, in readline
    new = self._sock.recv(self._rbufsize)
IOError: [Errno socket error] (10054, 'winsock error')
>>>


I'm just out of ideas on how to solve this one.  Thanks for any pointers,
- Bruce

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    




More information about the Python-list mailing list