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

java.lang.IllegalArgumentException: Failure in creating proxy URL. Proxy port is required! #5605

Closed
manusa opened this issue Nov 22, 2023 · 2 comments · Fixed by #5976
Closed
Assignees
Milestone

Comments

@manusa
Copy link
Member

manusa commented Nov 22, 2023

Description

From quarkusio/quarkus#37137

It seems that environment variables such as:

ALL_PROXY=proxy-se-uan.ddc.teliasonera.net:8080
NO_PROXY=localhost

Are causing the following stack-trace:

 java.base/java.lang.Thread.run(Thread.java:1583) Caused by: java.lang.IllegalArgumentException: Failure in creating proxy URL. Proxy port is required! at
   io.fabric8.kubernetes.client.utils.HttpClientUtils.getProxyUri(HttpClientUtils.java:91) at
   io.fabric8.kubernetes.client.utils.HttpClientUtils.configureProxy(HttpClientUtils.java:210) at
   io.fabric8.kubernetes.client.utils.HttpClientUtils.applyCommonConfiguration(HttpClientUtils.java:185) at io.fabric8.kubernetes.client.http.HttpClient$Factory.newBuilder(HttpClient.java:51) at
   io.quarkus.kubernetes.client.runtime.QuarkusHttpClientFactory.newBuilder(QuarkusHttpClientFactory.java:57) at
   io.fabric8.kubernetes.client.KubernetesClientBuilder.getHttpClient(KubernetesClientBuilder.java:90) at io.fabric8.kubernetes.client.KubernetesClientBuilder.build(KubernetesClientBuilder.java:79) at
   io.quarkus.kubernetes.client.runtime.KubernetesClientUtils.createClient(KubernetesClientUtils.java:54) at
   io.quarkus.kubernetes.config.runtime.KubernetesConfigSourceFactoryBuilder$KubernetesConfigFactory.getConfigSources(KubernetesConfigSourceFactoryBuilder.java:31) at ....

@manusa manusa self-assigned this Nov 22, 2023
@manusa manusa moved this to In Progress in Eclipse JKube Nov 22, 2023
@manusa manusa moved this from In Progress to Planned in Eclipse JKube Nov 22, 2023
Copy link

stale bot commented Feb 20, 2024

This issue has been automatically marked as stale because it has not had any activity since 90 days. It will be closed if no further activity occurs within 7 days. Thank you for your contributions!

@stale stale bot added the status/stale label Feb 20, 2024
@manusa manusa removed their assignment Apr 24, 2024
@manusa manusa added this to the 6.13.0 milestone May 2, 2024
@manusa manusa moved this from Planned to In Progress in Eclipse JKube May 2, 2024
@manusa manusa self-assigned this May 2, 2024
@manusa
Copy link
Member Author

manusa commented May 3, 2024

Complete analysis and reproducer can be found at: https://github.com/marcnuri-work/fabric8io-kubernetes-client-issues-5605-all-proxy

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

Successfully merging a pull request may close this issue.

1 participant