🎄 Happy Holidays! 🥳
Most of Solace is closed December 24–January 1 so our employees can spend time with their families. We will re-open Thursday, January 2, 2024. Please expect slower response times during this period and open a support ticket for anything needing immediate assistance.
Happy Holidays!
Please note: most of Solace is closed December 25–January 2, and will re-open Tuesday, January 3, 2023.
Connection reset by peer using python urllib2.urlopen()
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 "../urllib2.py", line 154, in urlopen
return opener.open(url, data, timeout)
File "../thirdparty/python/python2/lib/python2.7/urllib2.py", line 429, in open
response = self._open(req, data)
File "../thirdparty/python/python2/lib/python2.7/urllib2.py", line 447, in _open
\'_open\', req)
File "../urllib2.py", line 407, in _call_chain\n result = func(*args)\n
File "../thirdparty/python/python2/lib/python2.7/urllib2.py", line 1241, in https_open\n context=self._context)\n
File "../thirdparty/python/python2/lib/python2.7/urllib2.py", line 1198, in do_open\n
raise URLError(err)\n
URLError: <urlopen error [Errno 104] Connection reset by peer>\n',)