We're updating the issue view to help you get more done.Learn more

HTTPError: HTTP Error 502: Bad Gateway

In the OpenStates API I am trying the Legislature Geo Lookup. It was working 2 days ago and to I am getting this error report. I have cleared the bowser (Chrome) cache, closed Chrome and even rebooted.

------- Response Header ------

{ "server": "nginx/1.4.1 (Ubuntu)", "content-type": "text/html; charset=utf-8", "vary": "Authorization", "access-control-allow-origin": "*", "content-length": "1021", "date": "Thu, 17 Mar 2016 00:33:38 GMT", "x-varnish": "1673664558", "age": "0", "via": "1.1 varnish", "connection": "keep-alive" }

------- Error Report ------
Piston/0.2.3rc1 (Django 1.6.2) crash report:

Traceback (most recent call last):

File "/projects/openstates/virt/src/billy/billy/web/api/handlers.py", line 88, in new_read
obj = old_read(*args, **kwargs)

File "/projects/openstates/virt/src/billy/billy/web/api/handlers.py", line 396, in read
resp = json.load(urllib2.urlopen(url))

File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen
return _opener.open(url, data, timeout)

File "/usr/lib/python2.7/urllib2.py", line 410, in open
response = meth(req, response)

File "/usr/lib/python2.7/urllib2.py", line 523, in http_response
'http', request, response, code, msg, hdrs)

File "/usr/lib/python2.7/urllib2.py", line 448, in error
return self._call_chain(*args)

File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
result = func(*args)

File "/usr/lib/python2.7/urllib2.py", line 531, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)

HTTPError: HTTP Error 502: Bad Gateway

Status

Assignee

Unassigned

Reporter

d

Priority

Normal