While developing a Ghost theme, I encountered an error related to the CDN used by Ghost. When attempting to access the resources served over the CDN, the following error messages were displayed in the browser console:
I have this issue as well. Not sure when it happened, but I just realized it today. And I haven’t touched the code for at least a week, so it’s unlikely that I broke it.
Also, upon checking some of the sites hosted with Ghost, I noticed the same thing — the comments portal isn’t loading and it shows the same issues in Console.
However, the customer that reported the issue is based in Europe, not in China
I have tried visiting the same sites that my customer visited—all of which use JSDelivr. They had an issue, I did not. I also tried it from different machines and could always access the files without issues. Really odd
Edit: another interesting piece of the puzzle. Apparently, for some people using a VPN solves the issue. I am not a networking pro, so having trouble trying to figure out what’s causing this…
Hey folks, there’s a team here at Ghost working on this right now.
We posted an incident update for Ghost(Pro) users. The same issue affects self-hosters too.
jsDelivr is causing console errors, affecting the functionality of the portal and comments sections on some sites. The issue with jsDelivr is noted on their status page and affects certain parts of the world. We are investigating.
Hi, Thanks for the investigation.
I’m facing the same error and trying to change the cdn.jsdelivr~~ url.
maybe changing subdomain, or use unpkg,
in versions/5.64.0/core/shared/config/defaults.json file
but struggling how to apply the changed settings…
Exactly. Due to privacy and due to the fact it is a single point of failure.
I believe we cannot avoid a CDN in Ghost long-term, yet it would be interesting to investigate privacy-oriented CDNs (I assume there are good options).
We are just holding off closing our incident while we wait to see the updates propagate, so we’ll be in monitoring for a while. It might pay to hold off making changes to your self-hosted instances now, but that is your choice of course!