NHMDenmark / DaSSCo-asset-service

DaSSCo asset service is part of DaSSCo storage system
0 stars 0 forks source link

Status 500, asset shows parent file, asset shows in dassco UI #103

Open Baeist opened 2 days ago

Baeist commented 2 days ago

The derivative with asset guid: 7e7-a-02-0e-1d-0d-1-001-01-000-015753-00000_72 institution: AU Collection: Vascular plants

When calling endpoints get asset, get asset status i get a status 500 back.

When searching the asset in the UI the asset gets found but then when you try to open it the asset is not found message is dsiplayed.

When asking for the available file list of the asset the parent asset shows up. /assetfiles/AU/Vascular plants/7e7-a-02-0e-1d-0d-1-001-01-000-015753-00000_72

I have logs showing this asset receiving a 504 during creation and 400 when attempting a sync with erda. The 504 was checked or retried and seemingly worked. Doing a manual sync also gives the 400 currently with the asset response saying "no writeable share for asset found". I can see that the file upload failed with the same status.

Grand666 commented 1 day ago

Hi @Baeist

When you get a 504, do you then have some sort of retry logic?

Baeist commented 22 hours ago

Yes, first there is a check if the asset was created anyway. Then if not the asset is rescheduled to be created again. @Grand666