internetarchive / liveweb

Liveweb proxy of the Wayback Machine project
https://web.archive.org/
44 stars 13 forks source link

catch connection timeout #22

Closed rajbot closed 12 years ago

rajbot commented 12 years ago

error: [Errno 110] Connection timed out stacktrace should not appear in logs - sam

a sysadmin-friendly statement should appear in logs

when the app prints timeout info, it should print:

anandology commented 12 years ago

The exception is handled now and it returns an ARC record with "502 Bad Gateway"

anandology commented 12 years ago

All the timeouts are handled now and the value of the config setting is printed to the log.

E31: connection timedout (timed out) {'conn_timeout': 1} - http://cache.eonline.com/Ads/Media/Images/dvd3.vert.gif