Do you want to work on this issue?
You can request for a bounty in order to promote it!
1 active bounty request
Improve how 503 Errors from preprint servers are handled #75
dasaderi posted onGitHub
- 10.31219/osf.io/abx7s seems to be a bug
- the medrxiv / biorxiv ones seem to come from medrxiv / biorxiv responding with a 503 error.
Thanks, @sballesteros. So it's not an issue on our end? What can we do?
Not sure, I will check in more details tonight after work. The URL we want to load seems to work (e.g., https://www.biorxiv.org/content/biorxiv/early/2020/03/12/2020.03.11.987958.full.pdf) so not sure why we get the 503. Just a vague theory but given that we are proxying the request through https://github.com/PREreview/rapid-prereview/blob/master/src/routes/api-routes.js#L374-L398 and that the URL works without the proxy maybe biorxiv / medrxiv blacklisted us?
https://outbreaksci.prereview.org/10.3389/fpsyg.2019.01557 works and it's the exact same code path.
We also tested and found that the arxiv is down, so not a bug for rapid-prereview from that perspective.
Instead we should probably change this bug to be that rapid needs a way to handle in the UI for when the arxiv servers are having issues and communicate that to the user.
As far as i can tell the medrxiv and biorxiv servers are (currently) not down for the DOI I checked and the issue is only when the PDF is proxied (the raw URL works fine)
it seems that medrxiv / biorxiv are now using an extra layer of protection to protect from DDoS attacks and maybe we got blacklisted as part of it?
@sballesteros we were getting 503s here on the raw arxiv URL also. I think they might be having an intermittent issue due to increased load. My point is that rapid-prereview probably needs a way to handle the fact that the source material might not be available, and so have a way provide a good user experience in that event.
sure assuming that it's intermittent (which I am not 100% sure yet 🤞) improving the error message and UX is definitely a good idea and could be done in a new issue 👍
also AFAIK arxiv and biorxiv / medrxiv are hosted on different infrastructure so their status should be independent (i think that biorxiv / medrxiv are on the same infra).
<img width="967" alt="Screen Shot 2020-03-18 at 4 11 55 PM" src="https://user-images.githubusercontent.com/1141327/77015830-39ab5600-6933-11ea-96f5-faf1ed3fdfd6.png">
^^ that's the new protection layer from biorxiv / medrxiv which may be creating an issue for our proxy but hopefully it's just an intermittent glitch 🤞
Another user signaled this problem with the following preprints:
THE CAUSE OF PANIC AT THE OUTBREAK OF COVID-19 IN SOUTH AFRICA – A COMPARATIVE ANALYSIS WITH SIMILAR OUTBREAK IN CHINA AND NEW YORK https://outbreaksci.prereview.org/10.31730/osf.io/sy54p
COVID-19 in unequally ageing European regions https://outbreaksci.prereview.org/10.31219/osf.io/abx7s
yes any OSF preprint should be like that, i am working on a PR that I am hoping to send soon
@dasaderi @sballesteros is this issue still relevant? It seems like the OSF preprint issue is different, but I don't know if there's an issue for that?
I'm not sure.
From May 12th Meeting:
- Not COVID specific
- No feedback for the user on why no data is returned and why/where
@prereview has funded $100.00 to this issue.
- Submit pull request via IssueHunt to receive this reward.
- Want to contribute? Chip in to this issue via IssueHunt.
- Checkout the IssueHunt Issue Explorer to see more funded issues.
- Need help from developers? Add your repository on IssueHunt to raise funds.