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

Using java.net.useSystemProxies has no effect #4285

Open
jskov-jyskebank-dk opened this issue Feb 2, 2022 · 1 comment
Open

Using java.net.useSystemProxies has no effect #4285

jskov-jyskebank-dk opened this issue Feb 2, 2022 · 1 comment
Assignees
Labels

Comments

@jskov-jyskebank-dk
Copy link

Describe the issue

We use graalvm as a JDK for building native applications.

The build happens in a container where we need to set a proxy, as general egress is blocked.

Using -Djava.net.useSystemProxies=true has no apparent effect when using graalvm. It works with "regular" JDKs.

The http[s].proxyHost/proxyPort counterparts fortunately work, so we can use those instead.

Steps to reproduce the issue

Hard to reproduce without setting up an external proxy.

Describe GraalVM and your environment:

  • GraalVM version: CE 22.0.0.2(tried on 21.3.0 and 21.3.1 as well)
  • JDK major version: 11
  • OS: linux
  • Architecture: AMD64

More details

-XshowSettings shows that the setting of the property is registered. It just has no apparent effect.

@rodrigar-mx rodrigar-mx self-assigned this Feb 4, 2022
@rodrigar-mx
Copy link
Contributor

Thanks for reporting this issue. We will take a look into it and get back to you.

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