Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 506780

Summary: China - eclipse page (and download) is suspended for several minutes over blocking use of google.com service
Product: Community Reporter: Paul Verest <paul.verest>
Component: WebsiteAssignee: Christopher Guindon <chris.guindon>
Status: CLOSED MOVED QA Contact:
Severity: normal    
Priority: P3 CC: chris.guindon, denis.roy, ian.skerrett
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows NT   
Whiteboard: stalebug

Description Paul Verest CLA 2016-10-31 05:42:34 EDT
There is no Google services in China.
Any blocking (not asynch) load from google.com will block page load for several minutes until browser timeout.

Right now page https://www.eclipse.org/downloads/download.php?file=/oomph/epp/neon/R1/eclipse-inst-win64.exe&mirror_id=448 that is main Eclipse download page waits for several minutes, before download starts.

Previously raised Bug 437568 - https://www.eclipse.org/downloads/ can't load was: Relying on Google CDN makes eclipse.org site up to 1 minute to open in China
Comment 1 Denis Roy CLA 2016-10-31 14:14:36 EDT
Perhaps we can disable Google Analytics if REMOTE_ADDR is within China?  Eric/Chris, thoughts?
Comment 2 Christopher Guindon CLA 2016-10-31 15:43:27 EDT
(In reply to Denis Roy from comment #1)
> Perhaps we can disable Google Analytics if REMOTE_ADDR is within China? 
> Eric/Chris, thoughts?

+1

I think the issue is with the google font since it's in <head> vs the google search and google analytics is in <body>.

Let's start with that and if it does not work, we should then look at removing google analytics and the google search.
Comment 3 Christopher Guindon CLA 2016-10-31 15:53:09 EDT
The more I think about it, if google is not available in china, we should remove the search/fonts and google analytics.
Comment 4 Christopher Guindon CLA 2016-10-31 16:00:09 EDT
*** Bug 437568 has been marked as a duplicate of this bug. ***
Comment 5 Christopher Guindon CLA 2016-10-31 16:01:00 EDT
I am a bit confused. 

Paul,
I took a look at our google analytic account and we got more than 500 000 visits from China.

How is this possible if google is blocked in China?
Comment 6 Ian Skerrett CLA 2016-10-31 16:14:28 EDT
(In reply to Christopher Guindon from comment #5)
> I am a bit confused. 
> 
> Paul,
> I took a look at our google analytic account and we got more than 500 000
> visits from China.
> 
> How is this possible if google is blocked in China?

I agree this seems odd. We also have lots of people successfully downloading from China IP addresses. It is our #1 country for downloads.
Comment 7 Christopher Guindon CLA 2016-10-31 16:16:39 EDT
Paul,

can you confirm which of the following url are blocked in China?

1: https://fonts.googleapis.com/
2: https://googlesyndication.com/
3: https://cse.google.com/
4: https://ssl.google-analytics.com/
5: https://www.google.com
6: https://www.google-analytics.com/
Comment 8 Christopher Guindon CLA 2016-11-07 12:15:26 EST
(In reply to Christopher Guindon from comment #7)
> Paul,
> 
> can you confirm which of the following url are blocked in China?
> 
> 1: https://fonts.googleapis.com/
> 2: https://googlesyndication.com/
> 3: https://cse.google.com/
> 4: https://ssl.google-analytics.com/
> 5: https://www.google.com
> 6: https://www.google-analytics.com/

Paul?
Comment 9 Paul Verest CLA 2016-11-09 11:13:20 EST
Hi Christopher 

Yes, all Google services are not available in China (those you listed, android.com).
Worse they are not clocked, but put into endless waiting, that only ends because of specific browser timeouts.
Even those who uses PVN will not get them fast, as there are no Google servers in China, so delays may be hundreds ms.

I just wonder how people don't care that google is close to track every page load with all these css, font, analitics etc services.

But bottom line is never assume that any external server is always available. There are always very strict companies that may block/black list some servers.
There may be (once in a time/ a region / a service)  downtime.

> I am a bit confused. 

> Paul,
> I took a look at our google analytic account and we got more than 500 000 visits from China

Well, the Big Firewall is not that even.
In some places it may even work (note that Hong Kong is out of the Big Firewall). And sometime it is loosy admins, who do not update DNS servers.
I remember I could not open eclipse.org at all once I was in Wuhan few years ago. Not to mention some small site you can't remember you came by chance.

Again, any external server may be down. It is Internet. Though now dominated by big companies.

> I agree this seems odd. We also have lots of people successfully downloading from China IP addresses. It is our #1 country for downloads.

Well, Google was not blocked in a day. If it happened, there would be a lot of angry users. What happened is service was gradually becoming less stable and reliable. That annoys. Most people just start looking around, trying other services.
"If I can't download right now one software, I can check another meanwhile."

I wonder do you count HongKong as China?

Of course there should rapidly growing download number from China.
It is just that going through pages became less joy.
Comment 10 Eclipse Genie CLA 2018-11-03 01:11:18 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 11 Christopher Guindon CLA 2019-02-19 22:56:38 EST
Hi Paul,

could you update us on the current status on our website from China?
Comment 12 Paul Verest CLA 2019-03-02 08:55:22 EST
For last few months I'd say that eclipse.org is slow.

Just check today with Firefox and Chrome,
looking at browser Developer Tool network report:


https://www.eclipse.org/ - just getting root index.html 20sec, other file
https://www.eclipse.org/downloads/ - getting index.html 20sec or 60sec
Clicking Download - again again waiting 20 sec
On shown mirror, click - starts download in few seconds.
Actual download >3MB/s

For comparison on https://spring.io/tools click on Download start download in few seconds, with speed >1MB/s

In summary getting fresh eclipse from 
https://www.eclipse.org is 3 clicks, waiting at least 1 minute in total

A bit unexpected result is that today google scripts showed as not slowing down page load, and shown response within 1-2 seconds.
With cache disabled.

If google server at least partly became available, that would be big news.
Nevertheless, I usually have NoScript browser plugins installed,
and googletagmanager, facebook, other ads serving server just blocked.
That speeds-up usual browsing.

I have https://no-google-in-china.github.io/ site to explain some technical aspects, when touching the situation.
Please "Edit/extend this page" with your comments 
(link below)
Comment 13 Eclipse Genie CLA 2021-09-25 06:58:23 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 14 Frederic Gurr CLA 2021-12-23 06:43:03 EST
This issue has been migrated to https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/issues/279.