OSB 3.0 INTERMITTENT ERROR WITH SECURE REQUESTS FROM .NET TO SERVICE BUS

(Doc ID 967964.1)

Last updated on OCTOBER 18, 2016

Applies to:

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

Symptoms

Oracle Service Bus (OSB) Product Information Center  > Index Master Note for Oracle Service Bus > Master Note for Troubleshooting Security Related Issues in Oracle Service Bus > Note 967964.1


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

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