-
Notifications
You must be signed in to change notification settings - Fork 193
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
create
: check HTML response is 200 when fetching logo
#1369
Comments
Okay, so you have it in the template, but it is not copied over correctly? Or why is the linting also complaining? |
So the I guess that this happens when the website is hit by all pipelines at once during the sync to generate a lot of images. It will have been especially severe here because we changed the filenames and added new logo, so instead of using the cached logo results, it will have needed to generate 100+ logos all at one time. We could add some code to the |
create
: check HTML response is 200 when fetching logo
Okay, sounds reasonable. How should we handle if the response is != 200? wait and try again? |
Actually, I checked for cageseq and the image was correct in the assets directory (for the email template), but not in the docs. So, it doesn't look like a image creation / caching issue, more that it can't get everything delivered? |
The issue was only for the dark logo, which I think was only in the bin folder |
I think that the docs and assets images are different resolutions? So will be treated as totally separate -> still a generation error (needs cache). I think it's fine to just wait a few seconds and retry if we get != 200 for the fetch, maybe with max 5 retries or something? Hopefully that should get most through. I feel like we did something similar already for creating PRs which failed when we had a surge..? |
FWIW I got a separate error in the eager auto-sync <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE> 508 Resource Limit Is Reached</TITLE>
</HEAD><BODY>
<H1>Resource Limit Is Reached</H1>
The website is temporarily unable to service your request as it exceeded resource limit.
Please try again later.
</BODY></HTML> This was both in light and dark |
Also if someone comes searching for how to fix it |
ah great to know @jfy133 🎉 |
… pipeline logos from the website Fixes nf-core#1369
ok, now retries with varying wait times and even checks that the downloaded file looks like a PNG file 😎 Hopefully should resolve this issue.. |
Description of the bug
After an automated sync of the nf-core tools v2.2, the dark logo for Epitopeprediction was not created and instead this was inside that file:
I obtained the same results when running
nf-core sync
locally.This also causes an nf-core lint error as the file "is not equal to the template"
Command used and terminal output
nf-core sync
System information
I'm not sure what are the versions installed in the server.
Locally I was using
NXF_VER = 21.10.5
and nf-core toolsv2.2
on macOSThe text was updated successfully, but these errors were encountered: