503 error while searching in AMO API

VERIFIED FIXED

Status

mozilla.org Graveyard
Server Operations
--
critical
VERIFIED FIXED
8 years ago
3 years ago

People

(Reporter: krupa, Assigned: oremj)

Tracking

Details

(URL)

(Reporter)

Description

8 years ago
API is pointing to preview

steps to reproduce:
1.Search for "fireFTP" in add-ons manager

observed behavior:
503-service unavailable

headers:
https://preview.addons.mozilla.org/z/en-US/firefox/api/1.2/search/fireFTP/all/10/Darwin/3.6

GET /z/en-US/firefox/api/1.2/search/fireFTP/all/10/Darwin/3.6 HTTP/1.1
Host: preview.addons.mozilla.org
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en,kn;q=0.7,en-us;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Cookie: __utma=164683759.1219887869.1262888164.1269315608.1269362751.257; __utmz=164683759.1268091031.205.16.utmccn=(referral)|utmcsr=bugzilla.mozilla.org|utmcct=/show_bug.cgi|utmcmd=referral; s_vsn_mozillapreviewaddonsorg_1=6282375132728; __utmv=164683759.Loggedin; s_vsn_mozillaaddonsorg_1=4962812972536; dloadday=63.245.220.224.1263252459804048; csrftoken=37ff9d62664fda9feef5b08efedf367f; locale-only=1; __utma=150903082.797761160.1267829795.1267829795.1267829795.1; __utmz=150903082.1267829795.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); __utmc=164683759; amo_home_promo_seen=5; s_cc=true; s_sq=%5B%5BB%5D%5D; AMOappName=thunderbird; AMOv3=aj0gqlovtjkiq6dn475g490o07; sessionid=95358289eb54d94b9a7ec60988dbaafe; __utmb=164683759

HTTP/1.1 503 SERVICE UNAVAILABLE
Server: Apache
Vary: Cookie
Cache-Control: no-cache
Content-Type: text/xml
Date: Tue, 23 Mar 2010 17:23:36 GMT
Via: Moz-Cache-zlb03
Connection: close
Set-Cookie: sessionid=95358289eb54d94b9a7ec60988dbaafe; expires=Tue, 06-Apr-2010 17:23:37 GMT; Max-Age=1209600; Path=/; secure
Content-Length: 91
(Reporter)

Updated

8 years ago
Summary: 503 error while searching in API → 503 error while searching in AMO API
is sphinx working?
(Assignee)

Updated

8 years ago
Assignee: server-ops → jeremy.orem+bugs
(Assignee)

Comment 2

8 years ago
Let me know when I should restart sphinx.
We added socket timeouts in http://github.com/jbalogh/zamboni/commit/118956c.  Sphinx can come out and play again.
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
(Reporter)

Comment 4

8 years ago
There is now an informative error message whenever sphinx is down.

<error>Could not connect to Sphinx search.</error>

verified this at-https://preview.addons.mozilla.org/z/en-US/firefox/api/1.2/search/fireFTP/all/10/Darwin/3.6
Status: RESOLVED → VERIFIED
Product: mozilla.org → mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.