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

URL size limited by uwsgi in certain deployments #3806

Open
PascalRepond opened this issue Dec 19, 2024 · 0 comments
Open

URL size limited by uwsgi in certain deployments #3806

PascalRepond opened this issue Dec 19, 2024 · 0 comments
Labels
bug Breaks something but is not blocking

Comments

@PascalRepond
Copy link
Contributor

Bug description:

With certain very long queries, the server returns an error in sonar, sonar-test, bib-prod. Example: https://sonar.ch/global/search/documents?q=%22bonnesfontaines%22%20%7C%20%22petites%20familles%22%20%7C%20%22pramont%22%20%7C%20%22centre%20%C3%A9ducatif%22%20%7C%20%22fondation%20borel%22%20%7C%20%22l%C3%A9chaires%22%20%7C%20%22sombaille%20jeunesse%22%20%7C%20%22cit%C3%A9%20printemps%22%20%7C%20%22enfant%20c%E2%80%99est%20la%20vie%22%20%7C%20%22la%20clairi%C3%A8re%22%20%7C%20%22fondation%20officielle%20de%20la%20jeunesse%22%20%7C%20%22institut%20saint-raphael%22%20%7C%20%22placement%20d%E2%80%99enfants%22%20%7C%20%22la%20chaloupe%22%20%7C%20%22la%20fontanelle%22%20%7C%20%22placements%20forc%C3%A9s%22%20%7C%20%22enfants%20plac%C3%A9s%22%20%7C%20%22internement%20administratif%22%20%7C%20%22placement%20ferm%C3%A9%22%20%7C%20%22jeunes%20en%20difficult%C3%A9%22%20%7C%20%22unit%C3%A9%20de%20soins%20psychiatriques%20ferm%C3%A9e%20pour%20mineurs%22%20%7C%20%22fondation%20petitma%C3%AEtre%22%20%7C%20%22billodes%22%20%7C%20foyer*%20%7C%20fugue*%20%7C%20%22internat%22%20%7C%20%22internats%22%20%7C%20serix%20%7C%20%22care%20leavers%22%20%7C%20%22Szilassy%22%20%7C%20%22institut%20st-germain%22

This is due to an unset buffer-size variable in uwsgi. We should standardise this variable for all servers.

Expected behavior:

  • Even a query of 1000 characters should not return an error.
  • Ideally, if this error occurs, a message should be provided to the user to inform them that the URL is too long.
@PascalRepond PascalRepond added the bug Breaks something but is not blocking label Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Breaks something but is not blocking
Projects
Status: Inbox
Development

No branches or pull requests

1 participant