Hi @jsdelivr developers:
I'm using cdn of jsdelivr recently, but encountered some problems.
When I open this link: https://cdn.jsdelivr.net/gh/pexcn/daily@gh-pages/pac/, the following error will be reported:
Failed to fetch version info for pexcn/daily.
Its target file is this: https://github.com/pexcn/daily/tree/gh-pages/pac
How should this problem be solved?
Thanks.
Looks like it works now, maybe you changed something on your end
It seems very unstable, just now when I visited another link, it got this error again.
link: https://cdn.jsdelivr.net/gh/pexcn/daily@gh-pages/pac/whitelist.pac

EDIT:
I think it has some kind of bug, it should be fixed as soon as possible.
We're currently having issues fetching some of new files from GitHub. It shouldn' affect existing files.
I think we're getting back to normal now.
Why is this closed? The issue still persists and seems to get worse. Icons, mostly svg across multiple production projects are missing. This seems to be rather random as different resources are missing on different days.
Ideally we wouldn't use a version to always access the latest version of master but this doesn't seem to be working at all these days.
I had the same problem, if you visit like xxx@master. And only by creating new release, it worked.
I didn't actually do a release in the first place. But it worked intermittently. I have done now a release but it still doesn't work on most resources. e.g. https://cdn.jsdelivr.net/gh/GEOLYTIX/gla/icon_location.svg
Just testing this icon now and it works. It's very intermittent.
The issue came back this morning as we're again seeing a huge spike in /gh/ traffic, which causes issues when fetching new files form GitHub in some cases. We've made some improvements to our analytics now that should make it easier to distinguish between regular users and spam/abuse and make this better. A long-term solution to this problem will be in development in the next months.
Note that this issue mostly affects @branch links, as they are only cached for a short time by the CDN and need to be updated from GitHub frequently. If you use @release links, after the first successful fetch they are stored on our servers permanently and do not need to be checked again with GitHub.
EDIT: Also, @commitHash links don't have this issue at all since they are static.
I am pulling some JSON data from 3rd party repo, that has no tagged releases, and I had already seen this multiple times for it.
Please consider serving stale data or something in such cases rather than just fail with 404. 馃檹
Please consider serving stale data or something in such cases rather than just fail with 404. 馃檹
Indeed that's a good idea, we changed the status code for this specific case to 502 which should trigger stale-on-error behavior at the CDN. We also improved caching for the cases that are causing this, will see in a few hours how that helped.
@Rarst if the files don't need to be updated often there's one more option that I forgot to mention here: use @commitHash (needs to be full 40 characters), then the check which is causing this issue is bypassed completely.
We'll keep monitoring this but in the past 24 hours, there wasn't a single error 馃帀
Trying to use a @release link but I'm getting this error:
Failed to fetch version info for monokee/Cue.
https://cdn.jsdelivr.net/gh/monokee/[email protected]/build/cue.min.js
Got this error also...
https://cdn.jsdelivr.net/gh/jimmywarting/native-file-system-adapter/src/adapters/memory.js
Hi, this issue still exists. I got this error for my repo
https://cdn.jsdelivr.net/gh/akhilarjun/tinylibs@latest/themejs/theme.js
The error is still present
The error still exists
Thats just a wrong URL
https://cdn.jsdelivr.net/gh/tsq456/picBed@master/bg.png
To everyone else reporting issues please include URLs and HTTP headers. At the moment everything is fine on our end.
@jimaek
Could you help look into this:
https://cdn.jsdelivr.net/gh/PatentsView/[email protected]/header_footer.js
https://cdn.jsdelivr.net/gh/PatentsView/pv-header-footer@master/header_footer.js
https://cdn.jsdelivr.net/gh/PatentsView/pv-header-footer/header_footer.js
I created a release tagged 0.01. But none of these work. The repo is private. But I tried with another private repo and it works. Not sure what is special here?
What other private repo did you try and it worked?
jsDelivr can't possibly have access to any private repo, it's currently built to support only public ones
Open a new issue please, this one is unrelated
Most helpful comment
Why is this closed? The issue still persists and seems to get worse. Icons, mostly svg across multiple production projects are missing. This seems to be rather random as different resources are missing on different days.
Ideally we wouldn't use a version to always access the latest version of master but this doesn't seem to be working at all these days.