My Oracle Support Banner

OAG Connect To URL Fails When Passing HTTPS Requests Through a Proxy Requiring Authentication (Doc ID 2147661.1)

Last updated on DECEMBER 01, 2017

Applies to:

Oracle API Gateway - Version 11.1.2 and later
Information in this document applies to any platform.


An Attemptis being made to forward a request to an SSL URL through a proxy server.  This proxy requires a username and password for passthrough.

When setting up the proxy and providing the correct authentication, the request is not being forwarded successfully.

The proxy returns a message that the request is being blocked because the authorization is not being attempted. The message being returned:

Your credentials could not be authenticated: "Credentials are missing.". You will not be permitted access until your credentials can be verified.

The trace log shows the following:

DATA [1641] Calling write log on class com.vordel.log.rolloverfile.TextRollOverLogger
DATA [1641] Wrote log message of size 179
DATA [1641] }
DEBUG [1641] run filter [Connect to URL for External WebService] {
DEBUG [1641] optimise write for vordelDoc com.vordel.jaxprovider.libxml.DocumentImpl@198f82
DEBUG [1641] ... to non-vordel output stream
DEBUG [1641] handle type application/octet-stream with factory class com.vordel.mime.RawBody$Factory
DEBUG [1641] Adding MessageListener:$1@1cbd9a
DEBUG [1641] get connection to host port 443 scheme https
DEBUG [1641] routing via proxy:
DEBUG [1641] Proxy-Authorization header set with user name mrajpconf
DEBUG [1641] Resolved to:
DEBUG [1641]
DEBUG [1641] Trying to acquire connection to: , connection count: 0, max connections:128
DEBUG [1641] Connection to: acquired, connection count: 1
DEBUG [1641] connected to
DEBUG [1641] new connection d39360, settings source service-wide defaults (allow 1.1=no, idleTimeout=300000, activeTimeout=21600000, maxConnections=128, contentLength: req=no, res=no)
DEBUG [1641] push SSL protocol on to connection
DATA [1641] [SSL_connect, 5000] before/connect initialization.
DATA [1641] [SSL_connect, 1210] SSLv2/v3 write client hello A.
ERROR [1641] [SSL_connect, 1220]: error - SSLv2/v3 read server hello A.
DEBUG [1641] Decrementing connection count for connection:, connections count: 1
DEBUG [1641] destroying connection d39360 with transaction 0
DEBUG [1641] delete connection d39360
ERROR [1641] transient failure connecting to remote: SSL protocol error
DEBUG [1641] connection processor made 1 attempts to transact
DEBUG [1641] } = 0, filter [Connect to URL for External WebService]
DEBUG [1641] Filter [Connect to URL for External WebService] completes in 5 milliseconds.
DATA  [1641] LogManager logging {
DATA  [1641] Logging at Failure
DATA  [1641] Calling write log on class com.vordel.log.trace.TraceLogg


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

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