aws-status stops polling if network times out

Bug #371967 reported by Jonathan Lange
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
txAWS
Fix Released
Wishlist
Unassigned

Bug Description

I was running aws-status last night and kept it running all night. During the evening, my network started dropping packets, causing any new connection attempts to time out (in fact, I had installed a temporary firewall).

When I woke up this morning, aws-status said I had six running instances, whereas Amazon said I had only one running instance. Emailed feedback from the instances themselves said they had shut down at some point during the evening.

And, aws-status had left this traceback on the console:

Unhandled error in Deferred:
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/twisted/internet/base.py", line 992, in connectionFailed
    self.factory.clientConnectionFailed(self, reason)
  File "/usr/lib/python2.6/dist-packages/twisted/web/client.py", line 314, in clientConnectionFailed
    self.deferred.errback(reason)
  File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 269, in errback
    self._startRunCallbacks(fail)
  File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 312, in _startRunCallbacks
    self._runCallbacks()
--- <exception caught here> ---
  File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 328, in _runCallbacks
    self.result = callback(self.result, *args, **kw)
  File "/home/jml/src/txaws/txaws/client/gui/gtk.py", line 83, in errorit
    print error.value, error.value.response
exceptions.AttributeError: 'TimeoutError' object has no attribute 'response'

And then when I hit Ctrl-C:
^CUser timeout caused connection failure.

Related branches

Changed in txaws:
importance: Undecided → Wishlist
status: New → Fix Committed
Changed in txaws:
status: Fix Committed → Fix Released
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.