Cloud Printing Fails With 401 Unauthorized Error When Using NTLM Authentication Mode (Doc ID 2120967.1)

Last updated on MAY 03, 2016

Applies to:

Oracle Fusion Payments Cloud Service - Version 11.1.8.0.0 and later
Information in this document applies to any platform.

Symptoms

 Setup cloud printer per instructions in Doc ID 1964157.1. Trying to print a report results in following error in UI

Document delivery failed
[INSTANCE_ID=xxxxxxxx.usdc2.oraclecloud.com.1457167745538] [DELIVERY_ID=1087]Error deliver document to printer::Exception happened when calling deliver API::Error deliver document to printer::Exception happened when calling deliver API::oracle.xdo.delivery.DeliveryException: oracle.xdo.delivery.DeliveryException: java.net.ConnectException: Connection timed outoracle.xdo.service.delivery.DeliveryException: oracle.xdo.delivery.DeliveryException: oracle.xdo.deliver

bipublisher.log for the issue shows following additional details:

031816_203610038][oracle.xdo.delivery.ipp.IPPDeliveryRequestHandler][STATEMENT] submitRequest(): Writing the document to the server stream.
[031816_203610039][oracle.xdo.delivery.ipp.IPPDeliveryRequestHandler][STATEMENT] submitRequest(): 9925 bytes have sent to the server.
[031816_203610040][oracle.xdo.delivery.http.HTTPClient][STATEMENT] submitRequest() called
[031816_203620141][oracle.xdo.delivery.http.HTTPClient][STATEMENT] submitRequest(): pIn.available(): 1
[031816_203620142][oracle.xdo.delivery.http.HTTPResponse][STATEMENT] Constructor called
[031816_203620143][oracle.xdo.delivery.http.HTTPResponse][STATEMENT] parseResponse() called
[031816_203620144][oracle.xdo.delivery.http.HTTPResponse][STATEMENT] pIn.available(): 1
[031816_203620145][oracle.xdo.delivery.http.HTTPResponse][STATEMENT] readLine() : [HTTP/1.1 401 Unauthorized]
[031816_203620147][oracle.xdo.delivery.http.HTTPResponse][STATEMENT] parseResponse() 1st line of response header: [HTTP/1.1 401 Unauthorized]
[031816_203620148][oracle.xdo.delivery.http.HTTPResponse][STATEMENT] readLine() : [Content-Type: text/html]
[031816_203620149][oracle.xdo.delivery.http.HTTPResponse][STATEMENT] addResponseHeader(): [content-type][text/html]
[031816_203620150][oracle.xdo.delivery.http.HTTPResponse][STATEMENT] readLine() : [Server: Microsoft-IIS/8.5]
[031816_203620150][oracle.xdo.delivery.http.HTTPResponse][STATEMENT] addResponseHeader(): [server][Microsoft-IIS/8.5]
[031816_203620151][oracle.xdo.delivery.http.HTTPResponse][STATEMENT] readLine() : [WWW-Authenticate: Negotiate]
[031816_203620152][oracle.xdo.delivery.http.HTTPResponse][STATEMENT] addResponseHeader(): [www-authenticate][Negotiate]
[031816_203620153][oracle.xdo.delivery.http.HTTPResponse][STATEMENT] readLine() : [WWW-Authenticate: NTLM]
[031816_203620154][oracle.xdo.delivery.http.HTTPResponse][STATEMENT] addResponseHeader(): [www-authenticate][NTLM]
[031816_203620155][oracle.xdo.delivery.http.HTTPResponse][STATEMENT] readLine() : [Date: Fri, 18 Mar 2016 20:36:11 GMT]
[031816_203620156][oracle.xdo.delivery.http.HTTPResponse][STATEMENT] addResponseHeader(): [date][Fri, 18 Mar 2016 20:36:11 GMT]
[031816_203620157][oracle.xdo.delivery.http.HTTPResponse][STATEMENT] readLine() : [Content-Length: 1293]
[031816_203620158][oracle.xdo.delivery.http.HTTPResponse][STATEMENT] addResponseHeader(): [content-length][1293]
[031816_203620159][oracle.xdo.delivery.http.HTTPResponse][STATEMENT] readLine() : []
[031816_203620160][oracle.xdo.delivery.http.HTTPResponse][STATEMENT] parseResponse(): end of HTTP header

 

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms