ugent-library / biblio-backoffice

Apache License 2.0
5 stars 0 forks source link

arXiv no longer works #1630

Open mietcls opened 2 weeks ago

mietcls commented 2 weeks ago

Bug description

arXiv import no longer works (also not in production)

Steps to Reproduce import

  1. Go to https://backoffice.bibliodev.ugent.be/add-publication
  2. Select "Import your publication via an identifier"
  3. Select arXiv
  4. Use an arXiv identifier such as 2309.05768v1, 2309.05792, 10.48550/arXiv.2304.14545
  5. See error Screenshot 2024-06-24 at 10 40 56 Screenshot 2024-06-24 at 10 41 33
nicolasfranck commented 2 weeks ago

In the console I see the following error appearing:

{"time":"2024-06-24T11:12:27.239864+02:00","level":"WARN","msg":"import single publication: could not fetch publication","errors":"arxiv: request failed: Get \"https://export.arxiv.org/api/query?id_list=2309.05768v1\": context deadline exceeded (Client.Timeout exceeded while awaiting headers)","publication":"2309.05768v1"}

Apparently https://export.arxiv.org/api/query?id_list=2309.05768v1 takes a while to load. So this could have failed in production too.