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

Error on celery container #1

Open
menegon opened this issue Jan 30, 2025 · 2 comments
Open

Error on celery container #1

menegon opened this issue Jan 30, 2025 · 2 comments

Comments

@menegon
Copy link

menegon commented Jan 30, 2025

Nel nuovo server CINECA il container docker celery4geoportal genera periodicamente questo errore

celery4geoportal | Traceback (most recent call last):
celery4geoportal | File "/usr/src/geonode/geonode/upload/tasks.py", line 95, in finalize_incomplete_session_uploads
celery4geoportal | session = gs_uploader.get_session(_upload.import_id)
celery4geoportal | File "/usr/local/lib/python3.8/site-packages/gsimporter/client.py", line 54, in get_session
celery4geoportal | return self._call(self.client.get_import, id)
celery4geoportal | File "/usr/local/lib/python3.8/site-packages/gsimporter/client.py", line 34, in _call
celery4geoportal | robj = fun(*args)
celery4geoportal | File "/usr/local/lib/python3.8/site-packages/gsimporter/client.py", line 218, in get_import
celery4geoportal | return parse_response(self._request(self.url("imports/%s?expand=3" % i)))
celery4geoportal | File "/usr/local/lib/python3.8/site-packages/gsimporter/client.py", line 194, in _request
celery4geoportal | raise NotFound()
celery4geoportal | gsimporter.api.NotFound

@frafra
Copy link
Collaborator

frafra commented Jan 31, 2025

Penso sia legato a questo: GeoNode/geonode#6916

@frafra
Copy link
Collaborator

frafra commented Feb 17, 2025

Abbiamo lo slash finale, quindi non è quello a causare l'errore. Il task dovrebbe essere eseguito ogni 10 minuti, ma l'errore non si vede dal 2025-02-03, quindi si tratta di un problema transitorio. Siccome appare per una chiamata di finalize_incomplete_session_uploads sembra che si tratti di un upload fallito. Terrò d'occhio i log.

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

No branches or pull requests

2 participants