This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pventura
Recipients pventura
Date 2012-10-29.22:52:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1351551122.11.0.0678496091034.issue16361@psf.upfronthosting.co.za>
In-reply-to
Content
I had converted some code for a scraper from 2.7.3 to 3.3.0 on Windows 7 and suddenly the code stopped working.  Now the https fetch results in:
Traceback (most recent call last):
  File "D:\Users\Phil\Desktop\demo.py", line 67, in <module>
    page=getWebData()
  File "D:\Users\Phil\Desktop\demo.py", line 59, in getWebData
    response=urllib.request.urlopen(req, cadefault=False)
  File "D:\Program Files\Python33\lib\urllib\request.py", line 160, in urlopen
    return opener.open(url, data, timeout)
  File "D:\Program Files\Python33\lib\urllib\request.py", line 473, in open
    response = self._open(req, data)
  File "D:\Program Files\Python33\lib\urllib\request.py", line 491, in _open
    '_open', req)
  File "D:\Program Files\Python33\lib\urllib\request.py", line 451, in _call_chain
    result = func(*args)
  File "D:\Program Files\Python33\lib\urllib\request.py", line 1287, in https_open
    context=self._context, check_hostname=self._check_hostname)
  File "D:\Program Files\Python33\lib\urllib\request.py", line 1255, in do_open
    raise URLError(err)
urllib.error.URLError: <urlopen error [WinError 10054] An existing connection was forcibly closed by the remote host>
 
I have run Wireshark using Python 2.7.3 and Python 3.3.0 (see attached files)
History
Date User Action Args
2012-10-29 22:52:02pventurasetrecipients: + pventura
2012-10-29 22:52:02pventurasetmessageid: <1351551122.11.0.0678496091034.issue16361@psf.upfronthosting.co.za>
2012-10-29 22:52:02pventuralinkissue16361 messages
2012-10-29 22:52:01pventuracreate