ghing / CTA-Twitter

Twitter interface to CTA Bus Tracker
http://blogs.terrorware.com/geoff/code/cta-twitter/
1 stars 0 forks source link

Uncaught IMAP connection exceptions #5

Open ghing opened 15 years ago

ghing commented 15 years ago
Traceback (most recent call last):
   File "/kunden/homepages/33/d92846465/htdocs/geoff/hacks/ctatwitte/ctatwitter.py", line 519, in main
    bot.get_messages()
   File "/kunden/homepages/33/d92846465/htdocs/geoff/hacks/ctatwitter/ctatwitter.py", line 293, in get_messages
    server = imaplib.IMAP4(self._config.get('imap', 'hostname'))
   File "imaplib.py", line 163, in __init__
    self.open(host, port)
   File "imaplib.py", line 230, in open
    self.sock.connect((host, port))
   File "<string>", line 1, in connect
    error: (110, 'Connection timed out')
ghing commented 15 years ago

I need to add dates to these logs.

As a temporary measure, I set the cron job to run every 2 minutes instead of every 1 minute.