Skip to content

jetbrains-gateway in air-gapped environment can't download the backend #112

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

Open
Heshmatkhah opened this issue May 21, 2025 · 0 comments
Open
Assignees

Comments

@Heshmatkhah
Copy link

Hi
In addition to #22,

When you use JetBrains Client Downloader to clone required IDEs into your air-gapped environment, It will create/update a /products.json file witch contains all required information of your mirror, including

  • build number
  • version
  • download link

But, The module hardcoded the download link of each IDE instead of getting current the releases_base_link/products.json

Also the version info is downloaded from {releases_base_link}/products/releases instead of {releases_base_link}/products.json and that endpoint is only available on official mirror.

Potential fix:

Use {releases_base_link}/products.json to get release information.

When you are generating effective_jetbrains_ide_versions from jetbrains_ide_versions, save the .releases[{INDEX}].downloads[{INDEX_2}].{PLATFORM}.link and use that with the download_base_link!

In most air-gapped environments, the download_base_link and releases_base_link should be the same.

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

No branches or pull requests

2 participants