jsdelivr: Failed to fetch version info for xxx/xxx.

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.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 22 (10 by maintainers)

Most upvoted comments

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.

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.

@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.

I think we’re getting back to normal now.

I had the same problem, if you visit like xxx@master. And only by creating new release, it worked.

Looks like it works now, maybe you changed something on your end