My Oracle Support Banner

Call To OIC Service Fails And Logs Shows Error "401-UnAuhtorized" And "System.IO.IOException: Unable to read data from the transport connection" (Doc ID 2685028.1)

Last updated on JUNE 27, 2020

Applies to:

Oracle Integration-OIC - Version 18.2.5 and later
Information in this document applies to any platform.


On : 18.2.5 version, Soap Adapter

Calling OIC Service from external client fails with error


soap:ServerSystem.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
at System.Net.Sockets.Socket.EndReceive(IAsyncResult asyncResult)
at System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult)

and OIC Server logs shows error:

2020-06-23 08:13:07 0.007 0 GET /ic/api/integration/v1/flows/rest/<SERVICE NAME>/1.0/linesToReceive?OrganizationCode=OMB&amp;DocumentType=Purchase&#37;20order&amp;PONumber=2 401 "f5ac061f-3564-4059-83a1-a3ee2f4bdf3e-0045969a" - - - -
2020-06-23 09:24:11 0.003 0 GET /ic/api/integration/v1/flows/rest/<SERVICE NAME>/1.0/linesToReceive?OrganizationCode=OMB&amp;DocumentType=Purchase&#37;20order&amp;PONumber=2 401 "f5ac061f-3564-4059-83a1-a3ee2f4bdf3e-0045d7b9" - - - -

The issue can be reproduced at will with the following steps:
1. Call OIC service and note it fails with the reported error.





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.