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

Inconsistent responses from API container -> DataTables errors #4355

Open
Chatewgne opened this issue Oct 31, 2024 · 3 comments
Open

Inconsistent responses from API container -> DataTables errors #4355

Chatewgne opened this issue Oct 31, 2024 · 3 comments
Labels

Comments

@Chatewgne
Copy link
Contributor

Describe the bug

Several users encounter DataTables errors in the interface across all modules.

image

These errors do not appear in the internal app logs or through Sentry.

We have identified that the server returns inconsistent responses from the API container, leading to many 500 responses when there are no actual errors in the logs.

In the following example we receive status 200 (expected geojson data) or 500 (internal server error) when refreshing, even though nothing changed in between the requests and all responses should be status 200 with correct data.

image

The command docker compose restart api can be used to fix this, but the behavior is likely to happen again after some time.

Restarting nginx and emptying the web cache do not change this behavior, thus an internal problem in that container is suspected.

@eprouteau
Copy link

Bonjour, j'obtiens ce comportement également. Est ce que la commande docker compose restart api est valable également avec une installation de l'admin sans docker ?

@babastienne
Copy link
Member

Bonour @eprouteau un redémarrage complet de l'application peu également résoudre le problème. En lançant par exemple la commande sudo systemctl restart geotrek dans le cas d'une installation sans docker.

@eprouteau
Copy link

eprouteau commented Nov 2, 2024

j'avais tenté sans succès j'ai aussi reboot nginx. ces reboot on d'ailleur mis en vrac geotrek-rando qui fonctionnait malgré les erreurs de l'admin

Je mets à jour mes données via QGIS, est ce que un problème de base peux avoir eu une impact ?

je suis en version 2.107.1 et mis à part un ajout de trek via qgis (car pas en segmentation dynamique) je n'ai strictement rien touché au server.

Quels logs pourraient êtres parlant car ceux de geotrek-admin ne contiennent rien

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants