Closed
Bug 1188902
Opened 9 years ago
Closed 8 years ago
Loop Server Nginx configuration returns HTML 502
Categories
(Cloud Services :: Operations: Miscellaneous, task)
Cloud Services
Operations: Miscellaneous
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: rhubscher, Assigned: bobm)
Details
It seems that the Nginx configuration of loop-server rewrite 500 into 502 which is wrong. Also every response should return JSON. (currently return 502 in HTML)
Assignee | ||
Comment 1•9 years ago
|
||
I don't see any logic in the Nginx configuration for Loop Server for converting response codes. Can you give me an example URL that will reproduce this behavior?
Comment 2•9 years ago
|
||
As we don't have any response that generates 500 errors, nope :) (and it's a good thing!) I confirm I don't see anything that's creating this behaviour in the puppet recipes, though: https://github.com/mozilla-services/puppet-config/tree/master/loop/modules/loop_server/templates
Reporter | ||
Comment 3•9 years ago
|
||
One way to reproduce the HTML 502 is to stop the loop-server circus daemon and call the nginx server.
Reporter | ||
Comment 4•9 years ago
|
||
Th nginx configuration I had in mind is https://github.com/mozilla-services/puppet-config/blob/master/readinglist/modules/readinglist/templates/nginx_readinglist_config.erb#L20 but it doesn't looks to be the case with Loop. Also we've got a HTML 502 nevertheless if the loop-server is stopped and we reach nginx.
Reporter | ||
Updated•9 years ago
|
Summary: Loop Server Nginx configuration rewrite 503 into 502 → Loop Server Nginx configuration returns HTML 502
Assignee | ||
Updated•8 years ago
|
Status: NEW → ASSIGNED
Updated•8 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•