Authorization Fails With "HTTP/1.1 401 Authorization Required"
(Doc ID 1643570.1)
Last updated on OCTOBER 10, 2020
Applies to:
Oracle Payments - Version 12.2.3 to 12.2.4 [Release 12.2]Information in this document applies to any platform.
Symptoms
On : 12.2.3 version, FC Core
When attempting to perform an authorization through tunneling to a web servlet which handles integration with Paymentech provider and is protected by simple HTTP password, a "HTTP/1.1 401 Authorization Required" error is seen in the debug log:
iby.engine.TransmitConfig.transmit(3arg-security) Enter
iby.engine.TransmitConfig.transmit(3arg-security) starting to tunnel
.....
iby.net.NetUtils.openURLSocket destination url=http://<server.domain>:<port>/paymentech/oramipp_ptk
iby.net.NetUtils.openURLSocket phase 2: checking proxy settings
iby.net.NetUtils.getProxyForHost ENTER
iby.net.NetUtils.getProxyForHost no proxy domain=<domain>
iby.net.NetUtils.openURLSocket phase 3: opening socket
.....
iby.net.NetUtils.writeHttpPost phase 2: writing POST headers
iby.net.NetUtils.normalizeProtocol ENTER
iby.net.NetUtils.normalizeProtocol replacing protocol https with http
iby.net.NetUtils.normalizeProtocol EXIT
iby.net.NetUtils.writeHttpPost OapfDelEnvLen: 1667
iby.net.NetUtils.writeHttpPost content len=Content-length: 1772
iby.net.NetUtils.writeHttpPost setting the auth header last=Authorization: Basic XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX==
iby.net.NetUtils.writeHttpPost phase 3: writing POST body
iby.net.NetUtils.writeHttpPost phase 4: reading HTTP response
iby.net.NetUtils.writeHttpPost bytes read in response=577
iby.net.NetUtils.writeHttpPost closing socket
iby.net.NetUtils.writeHttpPost phase 5: parsing HTTP response
iby.net.NetUtils.parseHttpResponse ENTER
iby.net.NetUtils.parseHttpResponse phase 1: converting raw bytes into a string
iby.net.NetUtils.parseHttpResponse using iso8859-1
iby.net.NetUtils.parseHttpResponse seperator index=279
iby.net.NetUtils.parseHttpResponse phase 2: parsing the HTTP headers
iby.net.NetUtils.parseHttpResponse "raw header content:
HTTP/1.1 401 Authorization Required
Date: Tue, 25 Feb 2014 08:31:33 GMT
Server: Oracle-Application-Server-11g
WWW-Authenticate: Basic realm=""iPayment servlet access""
Content-Length: 294
Connection: close
Content-Type: text/html; charset=iso-8859-1
X-Pad: avoid browser bug"
iby.net.NetUtils.parseHttpResponse "header not well-formatted: HTTP/1.1 401 Authorization Required
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 |