Closed
Bug 1654120
Opened 4 years ago
Closed 4 years ago
If an endpoint logs an error and a requests wants a gzip'd response, a 502 is returned
Categories
(Conduit :: Phabricator, defect)
Conduit
Phabricator
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: mhentges, Assigned: mhentges)
Details
While testing Phabricator locally, I've found a strange failure case when the following criteria are met:
- My XDebug tool is turned off (it's not accepting requests)
- The API endpoint being called is logging an exception (
error_log(<Throwable>)
) - The client making the request is using
Accept-encoding: gzip
(note that some other encodings also cause the issue)
In this case, a 502 Bad Gateway
is returned by nginx.
Digging into the logs, I'm seeing:
upstream sent too big header while reading response header from upstream
Hopefully this is "just" fastcgi_buffers
/fastcgi_buffer_size
-related, as recommended here?
Assignee | ||
Updated•4 years ago
|
Assignee: nobody → mhentges
Comment 1•4 years ago
|
||
merged to master.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•4 years ago
|
Summary: If an endpoint logs and error and a requests wants a gzip'd response, a 502 is returned → If an endpoint logs an error and a requests wants a gzip'd response, a 502 is returned
You need to log in
before you can comment on or make changes to this bug.
Description
•