Difficulty loading Meta from China due to CDN being blocked

Does Discourse Meta have any dependencies from Google? I can’t load meta from China without a VPN. Its obviously not blocked because the domain resolves. It just gets hung up somewhere.

I have the latest stable discourse running on my site and can load it no problem in China. Just a bit concerned that there might be a dependency that will be later incorporated in the stable release and cause me problems in the future.

1 Like

There are no dependencies from Google URLs, and they will never be. (Meta does use Google Analytics, but that fails gracefully.)

It is running from AWS US-WEST I believe (and Cloudfront CDN) so maybe it’s that? Can you pinpoint the exact resource that fails? Can you share a repro with cURL ?

1 Like

Hmmm… Just tried to see, but now it loads without vpn. Must have been something in the initial download. Still doesn’t work on other devices without vpn.

EDIT: Ok, found the problem. Seems to be the CDN.

Here’s the console error message:
Failed to register/update a ServiceWorker for scope ‘https://meta.discourse.org/’: Load failed with status 404 for script ‘https://meta.discourse.org/push-service-worker.js’.

Loading failed for the <script> with source “https://d11a6trkgmumsb.cloudfront.net/assets/ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.br.js”.

1 Like

Yup, can confirm that the fastly CDN content on Meta is blocked in China.

I just kinda assumed that this is normal :man_shrugging:

curl: (7) Failed to connect to meta-s3-cdn.freetls.fastly.net port 443: Operation timed out

^ with my limited curl knowledge, I’m not sure if this is something you need


Yeah, not sure we can do something about this :man_shrugging:.


I don’t think anyone would expect you to… Its just your site, not the product. These kinds of things get broken a lot with China’s firewall. Thanks for the help.


Bumping into this topic since it’s the most recent regarding China firewall blocking our Discourse forum.

Since our forum is hosted by Discourse, our colleagues from China would like to set up their own forum (like they currently do with the official website) and my question would be if it’s better to be hosted by Discourse or self hosted?

Our hosted customers do not use fastly, they use keycdn so this issue is not relevant, we have some customers located in China who have not reported any issues to us.


Thank you, Sam. I will pass this info.