Closed Bug 1338565 Opened 8 years ago Closed 8 years ago

It isn't possible to search for a "proto-signature is" since the generated URL is too long

Categories

(Socorro :: Webapp, task)

task
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: calixte, Unassigned)

References

()

Details

I've the same issue when using the API with "proto_signature=".
Flags: needinfo?(adrian)
Miles, could it be possible to increase the URL size limit in our nginx servers?
Flags: needinfo?(adrian) → needinfo?(miles)
If this was an nginx problem we would get a 414 and not a 502. nginx logs confirm that the error is coming from the upstream server (the webapp). From nginx error log: recv() failed (104: Connection reset by peer) while reading response header from upstream, client: ***.***.***.***, server: crash-stats, request: "GET /search/?proto_signature=......"
Flags: needinfo?(miles)
Looking further, this is because of uWSGI buffer size[1]. Increasing buffer size from default of 4096 to 16384 (out of max of 65536) was sufficient for this query to work in stage. PR here: https://github.com/mozilla/socorro/pull/3669. [1] http://uwsgi-docs.readthedocs.io/en/latest/Options.html#buffer-size
Commit pushed to master at https://github.com/mozilla/socorro https://github.com/mozilla/socorro/commit/507ed84a39dc3b4548aa22737898705d5ee26b83 Merge pull request #3669 from milescrabill/up-wsgi-buffer-size Bug 1338565 - webapp: increase uwsgi buffer-size 4096 (default) => 16384
This fix is now live in prod.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.