# Timeouts within mainland China

**URL:** https://meta.discourse.org/t/timeouts-within-mainland-china/120723
**Category:** Support
**Created:** [June 18, 2019, 6:20pm UTC](https://meta.discourse.org/t/timeouts-within-mainland-china/120723 "2019-06-18T18:20:32Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![Jeremy\_Williams](https://avatars.discourse-cdn.com/v4/letter/j/c37758/32.png) [@Jeremy\_Williams](https://meta.discourse.org/u/Jeremy_Williams)
#### Post date: [June 18, 2019, 6:20pm UTC](https://meta.discourse.org/t/timeouts-within-mainland-china/120723/1 "2019-06-18T18:20:32Z")

</div>

Our Discourse site appears to be timing out from within mainland China after about 30 seconds. The browser gives up and reports that the connection has timed out. Has you seen this issue before and is there any way to resolve this issue?

---

<div class="post-metadata">

### Author: ![supermathie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/supermathie/32/507518_2.png) [@supermathie](https://meta.discourse.org/u/supermathie)
#### Post date: [June 18, 2019, 6:30pm UTC](https://meta.discourse.org/t/timeouts-within-mainland-china/120723/2 "2019-06-18T18:30:46Z")

</div>

We see [frequent complains](https://meta.discourse.org/search?q=china) about this, both for self-hosted and sites we host.

This is almost definitely the work of China’s Great Firewall:

> **[Great Firewall](https://en.wikipedia.org/wiki/Great_Firewall)**
>
> The Great Firewall (GFW; simplified Chinese: 防火长城; traditional Chinese: 防火長城; pinyin: Fánghuǒ Chángchéng) is the combination of legislative actions and technologies enforced by the People's Republic of China to regulate the Internet domestically. Its role in internet censorship in China is to block access to selected foreign websites and to slow down cross-border internet traffic. The Great Firewall operates by checking transmission control protocol (TCP) packets for keywords or sensitive w Besid...

I (speaking personally) would suggest that your users use a VPN to bypass the firewall.

---

<div class="post-metadata">

### Author: ![Jeremy\_Williams](https://avatars.discourse-cdn.com/v4/letter/j/c37758/32.png) [@Jeremy\_Williams](https://meta.discourse.org/u/Jeremy_Williams)
#### Post date: [June 18, 2019, 7:05pm UTC](https://meta.discourse.org/t/timeouts-within-mainland-china/120723/3 "2019-06-18T19:05:57Z")

</div>

Thanks Michael, this was our suspicion as well. Are their any typical suggestions for getting around this that wouldn’t be considered offensive to the PRC?

---

<div class="post-metadata">

### Author: ![supermathie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/supermathie/32/507518_2.png) [@supermathie](https://meta.discourse.org/u/supermathie)
#### Post date: [June 18, 2019, 7:48pm UTC](https://meta.discourse.org/t/timeouts-within-mainland-china/120723/4 "2019-06-18T19:48:10Z")

</div>

There’s some suggestions for this already on meta, I would recommend [searching](https://meta.discourse.org/search?q=china) and going through the results.

For example:

> [@Our Discourse is blocked by The Great Firewall of China, any tips?](https://meta.discourse.org/t/our-discourse-is-blocked-by-the-great-firewall-of-china-any-tips/67423/4):
>
> Discourse itself, as a general technology, doesn’t appear to be on any permanent blocklists. In my experience, the key to not getting a given site blocked by the GFoC is to not piss off the Chinese Government. That means: Don’t have any talk about Falun Gong, criticism of the regime, or similarly politically controversial topics on your site. Don’t compete with anything run by a Chinese company. Mirroring of content to anywhere else outside of China is unlikely to last long, as they’ll fin…

> [@Jeremy\_Williams](#):
>
> wouldn’t be considered offensive to the PRC

Unfortunately I suspect _any_ recommendation other than “behave well and hope you don’t get quietly blocked” would be offensive to the PRC.

---

<div class="post-metadata">

### Author: ![schleifer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/schleifer/32/86416_2.png) [@schleifer](https://meta.discourse.org/u/schleifer)
#### Post date: [June 19, 2019, 9:14am UTC](https://meta.discourse.org/t/timeouts-within-mainland-china/120723/5 "2019-06-19T09:14:50Z")

</div>

The GFW uses a few different methods of blocking, but the most common is by blacklisting IP addresses. If your content is not something specifically disapproved by the censors, then you may be on an address or in a netblock that was blocked previously. Changing your IP or hosting may help.

If you don’t have HTTPS enabled, then do so, as that will bypass the naive keyword blocking that sometimes happens. Also, do you use a CDN for assets? Many are heavily throttled or outright denied. Enabling Google Analytics is another possible cause.

---

<div class="post-metadata">

### Author: ![hawm](https://avatars.discourse-cdn.com/v4/letter/h/f07891/32.png) [@hawm](https://meta.discourse.org/u/hawm)
#### Post date: [June 19, 2019, 9:48am UTC](https://meta.discourse.org/t/timeouts-within-mainland-china/120723/6 "2019-06-19T09:48:29Z")

</div>

Is your domain be blocked? If yes, change your domain, no other options.  
Is your IP be blocked? Contact your provider to change IP or deploy your site behind the CDN which not be blocked by the GFW. Some provider most IP is blocked, so you need to change to a new provider.

* * *

> [@schleifer](#):
>
> Enabling Google Analytics is another possible cause.

Google Analytics isn’t blocked.

---

<div class="post-metadata">

### Author: ![Jeremy\_Williams](https://avatars.discourse-cdn.com/v4/letter/j/c37758/32.png) [@Jeremy\_Williams](https://meta.discourse.org/u/Jeremy_Williams)
#### Post date: [June 19, 2019, 3:44pm UTC](https://meta.discourse.org/t/timeouts-within-mainland-china/120723/7 "2019-06-19T15:44:23Z")

</div>

We attempted to create a new domain name and then CNAME over to the site but that didn’t seem to have any affect.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [November 28, 2022, 9:30pm UTC](https://meta.discourse.org/t/timeouts-within-mainland-china/120723/8 "2022-11-28T21:30:26Z")

</div>



---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [November 28, 2022, 9:53pm UTC](https://meta.discourse.org/t/timeouts-within-mainland-china/120723/9 "2022-11-28T21:53:35Z")

</div>


