IMAP account: [Errno -2] Name or service not known

Bug #880570 reported by aslam karachiwala
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cloudsn
Invalid
Undecided
Unassigned

Bug Description

Below is the error traceback from my /tmp/cloudsn-<user>.log corresponding to an IMAP account in CloudSN-- the email check seems to work only the first time after CloudSN launches, which is the only time the notification reports the email count as expected.

ERROR:cloudsn:Error trying to update the account <imap_account_name>: [Errno -2] Name or service not known
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/cloudsn/core/controller.py", line 162, in __real_update_account
    self.am.update_account(acc)
  File "/usr/lib/pymodules/python2.7/cloudsn/core/account.py", line 222, in update_account
    acc.provider.update_account (acc)
  File "/usr/lib/pymodules/python2.7/cloudsn/providers/imapprovider.py", line 59, in update_account
    mails = g.get_mails()
  File "/usr/lib/pymodules/python2.7/cloudsn/providers/imapprovider.py", line 195, in get_mails
    self.__connect()
  File "/usr/lib/pymodules/python2.7/cloudsn/providers/imapprovider.py", line 188, in __connect
    self.mbox = imaplib.IMAP4_SSL(self.host, self.port)
  File "/usr/lib/python2.7/imaplib.py", line 1148, in __init__
    IMAP4.__init__(self, host, port)
  File "/usr/lib/python2.7/imaplib.py", line 163, in __init__
    self.open(host, port)
  File "/usr/lib/python2.7/imaplib.py", line 1159, in open
    self.sock = socket.create_connection((host, port))
  File "/usr/lib/python2.7/socket.py", line 553, in create_connection
    for res in getaddrinfo(host, port, 0, SOCK_STREAM):
gaierror: [Errno -2] Name or service not known

Revision history for this message
perriman (chuchiperriman) wrote :

It is not a cloudsn problem, is a problem with your computer, inet connection, DNS etc.

Changed in cloudsn:
status: New → Invalid
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.