Red Hat Bugzilla – Bug 1277363
502 Proxy Error when changing several bugs at once
Last modified: 2016-06-15 22:23:17 EDT
Description of problem:
If I navigate to a large bug list and use the "Change Several Bugs at Once" feature to add a comment and change the status of all the bugs, after submitting, the page tries to load for a while and eventually stops with:
502 Proxy Error
The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request POST /process_bug.cgi.
Reason: Error reading from remote server
There is no indication whether my changes were applied, in full or partially.
Version-Release number of selected component (if applicable):
unknown; probably easy to reproduce with >100 bugs
Steps to Reproduce:
1. Navigate to a bug list with >100 bugs
2. Click "Change Several Bugs at Once"
3. In the form, enter a comment, and select a status
Browser waits for a response for a while, then renders 502 Proxy Error.
Response is successfully rendered and/or progress is somehow reported asynchronously.
The specific bug list where I've most recently seen this is this one, with 102 bugs:
We have a 2 minute (IIRC) timeout which will kill any long running HTTP connections.
Bulk changes should continue to run in the background.
This is to prevent excessive load on the system.
The only workaround I can offer is to perform the updates in smaller chunks or just trust that the process worked, despite the 502 error.
> progress is somehow reported asynchronously.
I think bugzilla 5.0 has this feature, but the proxy timeout limit will still apply.
I hit this with the bugzilla command line tool, too, while trying to close about 60 old bugs that are no longer valid.
$ bugzilla modify -l "Closing as CURRENTRELEASE" \
-k CURRENTRELEASE $(bugzilla query -p Acadia -t ON_QA \
Connection lost/failed: 502 Server Error: Proxy Error
*** This bug has been marked as a duplicate of bug 1282925 ***