requestsync fails with 'Connection reset by peer'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-dev-tools (Ubuntu) |
Fix Released
|
Low
|
Jonathan Davies |
Bug Description
Binary package hint: ubuntu-dev-tools
I have to run requestsync multiple times to get it to work. It will work every once and a while, but more typically it times out after a minute or two with the following error:
$ requestsync --lp x11-apps intrepid
Traceback (most recent call last):
File "/usr/bin/
report += debian_
File "/usr/bin/
for l in urllib.urlopen('http://
File "/usr/lib/
return opener.open(url)
File "/usr/lib/
return getattr(self, name)(url)
File "/usr/lib/
errcode, errmsg, headers = h.getreply()
File "/usr/lib/
response = self._conn.
File "/usr/lib/
response.
File "/usr/lib/
version, status, reason = self._read_status()
File "/usr/lib/
line = self.fp.readline()
File "/usr/lib/
data = recv(1)
IOError: [Errno socket error] (104, 'Connection reset by peer')
That's a problem with packages. ubuntu. com. It would be good to catch the extension and write a nice error message instead, though.