Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sources datatable broken in Nimbus production #296

Closed
srggrs opened this issue Aug 28, 2020 · 2 comments · Fixed by #300
Closed

Sources datatable broken in Nimbus production #296

srggrs opened this issue Aug 28, 2020 · 2 comments · Fixed by #300
Labels
bug Something isn't working high priority An issue that needs to be prioritised. prod Nimbus Production Deployment

Comments

@srggrs
Copy link
Contributor

srggrs commented Aug 28, 2020

as per title. Also same for table in Source detail view for Related Sources

@srggrs srggrs added bug Something isn't working high priority An issue that needs to be prioritised. prod Nimbus Production Deployment labels Aug 28, 2020
@srggrs
Copy link
Contributor Author

srggrs commented Aug 31, 2020

The request response error is:

<html>
  <head>
    <title>Bad Request</title>
  </head>
  <body>
    <h1><p>Bad Request</p></h1>
    Request Line is too large (4986 &gt; 4094)
  </body>
</html>

This is due to a Gunicorn parameter that limit the request url length to 4094 characters by default. Need to add the flag ----limit-request-line to the command as suggested in https://stackoverflow.com/questions/40625360/how-to-set-gunicorn-limit-request-line-parameter-over-8190

Will fix this at the next PR merge

@marxide
Copy link
Contributor

marxide commented Aug 31, 2020

Nice find, I didn't know there was a default limit!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working high priority An issue that needs to be prioritised. prod Nimbus Production Deployment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants