My Oracle Support Banner

weblogic.net.http.HttpsURLConnection Does Not Honor -Dhttp.nonProxyHosts Java Option (Doc ID 2318977.1)

Last updated on OCTOBER 12, 2021

Applies to:

Oracle WebLogic Server - Version 12.2.1.2.0 to 12.2.1.3.0 [Release 12c]
Information in this document applies to any platform.

Symptoms

When standalone weblogic client initiates ssl connection using following options:

-Dhttps.proxyHost=<proxy_host.domain> -Dhttps.proxyPort=<proxy_port> -Dhttp.nonProxyHosts=<test_host.domain>

You will notice that any SSL connection made using weblogic.net.http.HttpsURLConnection will still try to use the HTTP Proxy Server when connecting to an HTTPS destination. let's take a look at below sample code:

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.