This site is an archive; learn more about 8 years of OpenHatch.

[Devel] [Kaboom at OH] [celery at linode.openhatch.org] Error: Task profile.FetchPersonDataFromOhloh (69c4881d-a301-4864-983c-a7aa4a591125): {'url': 'http://www.ohloh.net/contributors.xml?query=me%40acm.jhu.edu&api_key=SXvLaGPJFaKXQC0VOocAg', 'code': '502'}

Asheesh Laroia asheesh at openhatch.org
Sun Nov 29 21:39:08 UTC 2009


Excerpts from mr_website's message of Sun Nov 29 03:38:47 UTC 2009:
> Task profile.FetchPersonDataFromOhloh with id
> 69c4881d-a301-4864-983c-a7aa4a591125 raised exception: {'url':
> 'http://www.ohloh.net/contributors.xml?query=me%40acm.jhu.edu&api_key=SXvLaGPJFa
> KXQC0VOocAg', 'code': '502'}

502 is "Bad Gateway," meaning the Ohloh Rails code returned some bad 
HTTP to their HTTP proxy.

I just retried the query, and it's spinning for a while...

...and just got Gateway Time-Out. And hitting reload made it work.

So I think we should add 502 to the list of HTTP errors that cause us to 
retry.

I've just made and deployed that change. I ran "bash -x scripts/deploy" 
then I kicked celeryd via screen.

-- Asheesh.

-- 
The surest protection against temptation is cowardice.
		-- Mark Twain


More information about the Devel mailing list