My Oracle Support Banner

OSB 3.0 INTERMITTENT ERROR WITH SECURE REQUESTS FROM .NET TO SERVICE BUS (Doc ID 967964.1)

Last updated on DECEMBER 15, 2023

Applies to:

Oracle Service Bus - Version 3.0 and later
Information in this document applies to any platform.

Symptoms

When attempting to make a secure WebService call from a .NET client, the following error occurs on the .NET side.


ERROR
-----------------------
System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a receive. ---> 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.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
at System.Net.Security._SslStream.StartFrameHeader(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security._SslStream.StartReading(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security._SslStream.ProcessRead(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.TlsStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetrievedStream, Boolean probeRead)
--- End of inner exception stack trace ---
at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request)
at System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest request)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at SSLIssuesDemo.TestService.CaseManagementService.GetCaseHistory(GetCaseHistoryRequest GetCaseHistoryRequest) in C:\DevProjects\SSLIssuesDemo\SSLIssuesDemo\Web References\TestService\Reference.cs:line 334
at SSLIssuesDemo.TestServiceHelper.CallServiceReUsingProxy(SoapHttpClientProtocol service) in C:\DevProjects\SSLIssuesDemo\SSLIssuesDemo\TestServiceHelper.cs:line 205

This issue will occur in all .NET clients calls against a deployed proxy service on OSB using SSL.

The busineszs impact of this issue is that all secure requests from .NET to OSB can be intermittently be stopped with the above error message. This will also prevent OSB to process the incoming request.

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


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