Connection reset by peer using python urllib2.urlopen()

Siqi Member Posts: 1

Hi Team,

We have a "Connection reset by peer" when using python2 urllib2 to send message to solace. This error is resolved if we restart/retry the job. Any ideas what might be causing this?

f = urllib2.urlopen(req , timeout = 7200000, context = ctx)

File "../", line 154, in urlopen

return, data, timeout)

File "../thirdparty/python/python2/lib/python2.7/", line 429, in open

response = self._open(req, data)

File "../thirdparty/python/python2/lib/python2.7/", line 447, in _open

\'_open\', req)

File "../", line 407, in _call_chain\n result = func(*args)\n

File "../thirdparty/python/python2/lib/python2.7/", line 1241, in https_open\n context=self._context)\n

File "../thirdparty/python/python2/lib/python2.7/", line 1198, in do_open\n

raise URLError(err)\n

URLError: <urlopen error [Errno 104] Connection reset by peer>\n',)