dput crashed with gaierror in create_connection(): [Errno -2] Name or service not known

Bug #941896 reported by Nick Moffitt
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dput (Ubuntu)
New
Medium
Unassigned

Bug Description

Uploading to debexpo (via http to mentors.debian.net):
  Uploading pbs_0.98-1.dsc: Traceback (most recent call last):
  File "/usr/bin/dput", line 944, in <module>
    main()
  File "/usr/bin/dput", line 907, in main
    files_to_upload, debug, 0, progress=progress)
  File "/usr/share/dput/http.py", line 103, in upload
    conn.endheaders()
  File "/usr/lib/python2.7/httplib.py", line 954, in endheaders
    self._send_output(message_body)
  File "/usr/lib/python2.7/httplib.py", line 814, in _send_output
    self.send(msg)
  File "/usr/lib/python2.7/httplib.py", line 776, in send
    self.connect()
  File "/usr/lib/python2.7/httplib.py", line 757, in connect
    self.timeout, self.source_address)
  File "/usr/lib/python2.7/socket.py", line 553, in create_connection
    for res in getaddrinfo(host, port, 0, SOCK_STREAM):
socket.gaierror: [Errno -2] Name or service not known

Running it a second time worked fine. This isn't the first time this has happened, and I suspect it has to do with how Precise changed my unbound setup to proxy via some dnsmasq noise I never wanted.

ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: dput 0.9.6.2ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-17.27-generic 3.2.6
Uname: Linux 3.2.0-17-generic x86_64
ApportVersion: 1.93-0ubuntu2
Architecture: amd64
CrashCounter: 1
Date: Mon Feb 27 13:00:18 2012
EcryptfsInUse: Yes
ExecutablePath: /usr/bin/dput
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/dput -l debexpo ../pbs_0.98-1_source.changes
ProcEnviron:
 TERM=xterm
 SHELL=/bin/bash
 PATH=(custom, user)
 LC_COLLATE=C
 LANG=en_US.UTF-8
PythonArgs: ['/usr/bin/dput', '-l', 'debexpo', '../pbs_0.98-1_source.changes']
SourcePackage: dput
Title: dput crashed with gaierror in create_connection(): [Errno -2] Name or service not known
UpgradeStatus: Upgraded to precise on 2012-02-22 (5 days ago)
UserGroups: adm admin cdrom dialout libvirtd lpadmin plugdev sambashare staff

Revision history for this message
Nick Moffitt (nick-moffitt) wrote :
tags: removed: need-duplicate-check
visibility: private → public
Changed in dput (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Nick Moffitt (nick-moffitt) wrote :

This just happened again.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.