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

"Who Represents Me" 500 error

Description

Using the who represents me tool you provide is returning a 500 error from its submission to this URL:
http://openstates.org/api/v1/legislators/geo/?callback=jQuery18308986798368860036_1455569043137&apikey=34b4a0c2252b4a8582140cc55bd4c874&lat=58.3018264&long=-134.4202956&_=1455569130241

Console response:

Failed to load resource: the server responded with a status of 500 (INTERNAL SERVER ERROR)

http://openstates.org/api/v1/legislators/geo/?callback=jQuery18308986798368860036_1455569043138&apikey=34b4a0c2252b4a8582140cc55bd4c874&lat=34.1030032&long=-118.4104684&_=1455569262177

Response:
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

Anonymous

Priority

Normal