Comment 6 for bug 380504

Revision history for this message
Bryce Harrington (bryce) wrote : Re: HTTP Error 502: Bad Gateway

Interesting. I do have my cronjob set to run 1 min after the hour, so it would presumably get run at the time when edge is down. I should be able to adjust my cronjobs to avoid this window.

However, in looking at the time for my most recent 502 error, it doesn't correspond to midnight GMT:

Date: Mon, 01 Jun 2009 21:03:45 -0700
From: Cron Daemon <email address hidden>
To: <email address hidden>
Subject: Cron <bryce@chideok> /home/bryce/src/Arsenal/arsenal/hooks/data-symptoms-intel

Traceback (most recent call last):
  File "/home/bryce/src/Arsenal/arsenal/scripts//bugs-symptoms.py", line 51, in <module>
    bug = ArsenalBug(bugtask.bug, arsenal.launchpad)
  File "/home/bryce/src/Arsenal/arsenal/scripts/arsenal_lib.py", line 137, in __init__
    self.owner_firstname = self.owner.name.split(' ')[0]
  File "/usr/lib/python2.6/dist-packages/launchpadlib/resource.py", line 457, in __getattr__
    return super(Entry, self).__getattr__(name)
  File "/usr/lib/python2.6/dist-packages/launchpadlib/resource.py", line 295, in __getattr__
    return self.lp_get_parameter(attr)
  File "/usr/lib/python2.6/dist-packages/launchpadlib/resource.py", line 186, in lp_get_parameter
    self._ensure_representation()
  File "/usr/lib/python2.6/dist-packages/launchpadlib/resource.py", line 316, in _ensure_representation
    representation = self._root._browser.get(self._wadl_resource)
  File "/usr/lib/python2.6/dist-packages/launchpadlib/_browser.py", line 222, in get
    response, content = self._request(url, extra_headers=headers)
  File "/usr/lib/python2.6/dist-packages/launchpadlib/_browser.py", line 212, in _request
    raise HTTPError(response, content)
launchpadlib.errors.HTTPError: HTTP Error 502: Bad Gateway
Error: (1) Could not create symptoms_intel.json