Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Perhaps considering the use of a CDN could better facilitate the installation of the Hub/Agent. #435

Open
CallMeR opened this issue Jan 18, 2025 · 4 comments
Labels
enhancement New feature or request

Comments

@CallMeR
Copy link

CallMeR commented Jan 18, 2025

Currently, the installation of the Hub in the install-hub.sh script still uses the original GitHub address, which makes the installation difficult in mainland China.

In the Agent's installation script, the ghp.ci proxy is used to access GitHub, but this address is still inaccessible in some regions or at certain times.

Therefore, it is hoped that the installation can be completed through a CDN network like jsDelivr.

Currently, there are two usable domains in mainland China, and the link address of gcore can provide better accessibility.

  • cdn.jsdelivr.net
  • gcore.jsdelivr.net

I tried to use this tool to convert the download address, but the following error occurred, and it is not yet certain what caused it.

Failed to fetch henrygd/beszel@releases from GitHub.

@svenvg93
Copy link

Easy solution might be to have them on beszel.dev site as that is in Cloudflare anyways.

@CallMeR
Copy link
Author

CallMeR commented Jan 18, 2025

Easy solution might be to have them on beszel.dev site as that is in Cloudflare anyways.

Indeed, on a global scale, using Cloudflare is a great solution for most regions around the world. Moreover, jsDelivr itself also utilizes Cloudflare's CDN network. Unfortunately, in mainland China, accessing Cloudflare still poses challenges. As mentioned before, it seems that Gcore has some kind of magic that enables better access from mainland China :)

@henrygd henrygd added the enhancement New feature or request label Jan 18, 2025
@henrygd
Copy link
Owner

henrygd commented Jan 18, 2025

jsDelivr does not support release assets unfortunately: jsdelivr/jsdelivr#18203

Gcore says they provide 1 TB free, so I can look into setting that up as a proxy directly.

Do you know if Bunny CDN (https://bunny.net) is reliable in mainland China? I'd have to pay for bandwidth but I'm sure donations would cover it.

@CallMeR
Copy link
Author

CallMeR commented Jan 19, 2025

Do you know if Bunny CDN (https://bunny.net) is reliable in mainland China? I'd have to pay for bandwidth but I'm sure donations would cover it.

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants