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

On my mac,I find a proess".vscode/extensions/redhat.java-1.40.0-darwin-arm64/jre/21.0.6-macosx-aarch64/bin/java" connect 104.16.72.101 this is why #3965

Open
darth-j opened this issue Mar 4, 2025 · 3 comments
Labels

Comments

@darth-j
Copy link

darth-j commented Mar 4, 2025

Is this normal?this ip is from cf,Instead of redhat

@rgrunber
Copy link
Member

rgrunber commented Mar 7, 2025

We package a JRE for most supported platforms. This is definitely something we provide for darwin-arm64 : https://github.com/redhat-developer/vscode-java/releases/tag/v1.40.0 .

$ unzip -Z1 ~/Downloads/java-darwin-arm64-1.40.0-476.vsix | grep 'java$'
extension/jre/21.0.6-macosx-aarch64/bin/java

As for the IP address, https://otx.alienvault.com/indicator/ip/104.16.72.101

$ dig +short services.gradle.org
104.16.73.101
104.16.72.101

We do have code that would attempt to download the correct gradle distribution defined by a particular project.

@darth-j
Copy link
Author

darth-j commented Mar 8, 2025

This behavior should be communicated proactively. When using Lulu on macOS, the domain name for session requests is not displayed; only the IP address is visible. This lack of transparency, without prior notification, may cause users to question the security of the application.think you

@rgrunber
Copy link
Member

Yes, but even VS Code itself makes many outbound requests without notifying. The underlying Java process that starts the language server used by vscode-java can make even more outbound requests than the one listed above.

If you have a completely fresh Maven, or Gradle project that has external dependencies, it will make requests to Maven/Gradle services in order to resolve them. That might be a particular Gradle distribution version, Maven plugin/dependency, etc. It may even direct to a mirror of the content. Many of these are defined by the project itself. We do have java.import.maven.offline.enabled & java.import.gradle.offline.enabled to reduce these for those users that want more control but then a project might not build at all unless the dependencies have been cached.

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

No branches or pull requests

2 participants