Gitpod: can not access bundle.js in China

Created on 11 Jul 2019  路  13Comments  路  Source: gitpod-io/gitpod

When I opened a project, it stucked in the loading page.

I checked the chromium dev panel, found that the bundle.js is not loaded. (I am in China)

Here is the link: https://cdn.gitpod.io/theia/d6bb72857cb6b599c90e4e9b12d790e2/bundle.js

Can I redirect this link to another cdn or something like that?

Or if there are some other way to solve this problem.

Every suggestion will be appreciated!

Thank all genius guys here!

reporter-feedback-needed stale

All 13 comments

Hi @ginhton ,

we have investigated that issue in the past. Unfortunately it's somewhat intractable as the CDN seems to work for some users in China, and not for others. We have been unable to find a solution as of now that would work reliably on mainland China and integrate with our infrastructure.

Would you be able to recommend a CDN's which provides reliable service in China?

Thank you for your reply!

To the best of my knowledge, aliyun CDN is well known in China, and is accessable in every part of China, but is not free.
here are some link:
aliyun CDN documentation
aliyun CDN main page

Another thing, I am in LiaoNing province, and I can access cdnjs and its contents. Maybe you can just put bundle.js to that. And I don't know if it is acceessable in other province.

I am very appreciated about what you guys are doing! Thank you for all of your hard work and passion!
Have a good day!

Can I download bundle.js and offer it in my server or somewhere else? Does it works?

@ginhton bundle.js is referenced only at build time, so I don't think that works.

I say we need to investigate further on what Gitpod can do so it cn be brought to Chinese audience.

Thank you for reply! @sr229

绉戝涓婄綉濂藉儚鑳借В鍐宠繖涓棶棰橈紙鎴戞槸骞夸笢鐨勶級

To the best of my knowledge, aliyun CDN is well known in China, and is accessable in every part of China, but is not free.

@ginhton Thank you for the links - we'll check if we can integrate that CDN (i.e. how much effort that would be).

Does the DNS name resolution of gitpod.io work for you?

@32leaves The DNS resolution works for me or for my school in DaLian.

Here is something intesting and maybe helpful.
link of https gitpod domain
link of http gitpod domain
This web tool calculate the response time from each part of China.

Thank for your hard work!

Another thing, if it is really accessible in most part of China.
It will be a HUGE BURDEN and RISK for Gitpod, I think.
Maybe you should prepare for that.

I don't think it would be a huge risk especially if we're only making a cloud IDE service accessible to China. Checking Gitpod's legal obligations there, I think its in line along with the Cloud IDEs natively hosted in China as well.

Someone may use gitpod to bypass GFW, but the government of China doesn't allow that.

It's a pity it doesn't work for me without proxy.
And I'm in Guangdong Province.
img

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Kreyren picture Kreyren  路  3Comments

tekumara picture tekumara  路  3Comments

kuniss picture kuniss  路  3Comments

alesanchezr picture alesanchezr  路  3Comments

ColbyWTaylor picture ColbyWTaylor  路  3Comments