Closed
Bug 1508268
Opened 7 years ago
Closed 7 years ago
504 Error on revision dashboard
Categories
(developer.mozilla.org Graveyard :: General, enhancement, P1)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jwhitlock, Assigned: jwhitlock)
Details
(Keywords: in-triage, Whiteboard: [specification][type:bug][points=1])
What did you do?
================
Go to https://developer.mozilla.org/en-US/dashboards/revisions
What happened?
==============
After about 30 seconds, an error is displayed:
504 ERROR
The request could not be satisfied.
CloudFront attempted to establish a connection with the origin, but either the attempt failed or the origin closed the connection.
If you received this error while trying to use an app or access a website, please contact the provider or website owner for assistance.
If you provide content to customers through CloudFront, you can find steps to troubleshoot and help prevent this error by following steps in the CloudFront documentation (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/http-504-gateway-timeout.html).
Generated by cloudfront (CloudFront)
Request ID: CjiwqmfJnAR3cAZyn06z0Oyi6icMHOE67I5Jinyj2swWkisQHwNhiQ==
What should have happened?
==========================
A list of recent revisions is displayed
Is there anything else we should know?
======================================
Assignee | ||
Comment 1•7 years ago
|
||
A recent change [1] to make code compatible with Python 3 changed the pagination code to download the entire revision history. My guess is that the process is running out of memory and being killed. I'll update the code.
https://github.com/mozilla/kuma/pull/5071
Assignee: nobody → jwhitlock
Status: NEW → ASSIGNED
Comment 2•7 years ago
|
||
Commits pushed to master at https://github.com/mozilla/kuma
https://github.com/mozilla/kuma/commit/e1ec5c010225715df4b8d451c4d8c4167130e192
bug 1508268: Do not load queryset before paginate
Revert 25041d4bb5d406e362ddc08df6fa3b0a4ba72569, which processed the
queryset with list before paginating it, for Python 3 compatibility.
https://github.com/mozilla/kuma/commit/8db9635668007dd8bb3440411aaaead271e19856
Merge pull request #5119 from jwhitlock/paginate-1508268
bug 1508268: Do not load queryset before paginate
Updated•7 years ago
|
Keywords: in-triage
Priority: -- → P1
Whiteboard: [specification][type:bug] → [specification][type:bug][points=1]
Assignee | ||
Comment 3•7 years ago
|
||
Fix deployed to stage and production, dashboard is back.
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Updated•5 years ago
|
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•