cessda / cessda.cvs.two

Apache License 2.0
0 stars 1 forks source link

Reproducable issue while downloading certain PDFs throug the API #926

Open OliverHopt opened 3 months ago

OliverHopt commented 3 months ago

I was facing a reproducable issue when requesting a PDF with these two paths with nothing but the accepted content type being set to PDF:

https://vocabularies.cessda.eu/v2/vocabularies/ModeOfCollection/4.0.3 https://vocabularies.cessda.eu/v2/vocabularies/ModeOfCollection/4.0.0

Both calls resulted in a response without a document and HTTP Code 504 - Gateway Timeout.

As this happens within a sequence of API calls, this is followed by a series of calls resulting in HTTP Code 503 - Service unavailable. This remains for some minutes (2-5) even though I have inserted several seconds of delay between calls.

By skipping these paths one by one, I managed to narrow the issue down to exactly these two documents.

Lorenz1983 commented 1 month ago

Dear Oliver, thanks for the information and for creating the issue. @matthew-morris-cessda Can you take a look at the issue? Thank you very much.