cancel
Showing results for 
Search instead for 
Did you mean: 

Error 32 - Broken pipe (Write failed) in REST Receiver Adapter

S0005892775
Explorer
0 Kudos

Good Morning,

I am facing the below error while trying to connect to third party system.Following is the error from XPI_ Inspector.

ssl_debug(45563): Starting handshake (iSaSiLk 5.2)...

ssl_debug(45563): Sending v3 client_hello message to AAAAAA.AAA.es:50036, requesting version 3.3...
ssl_debug(45563): Sending extensions: renegotiation_info (65281), signature_algorithms (13)
ssl_debug(45563): Received v3 server_hello handshake message.
ssl_debug(45563): Server selected SSL version 3.3.
ssl_debug(45563): Server created new session F0:D1:E6:58:D6:68:9E:D0...
ssl_debug(45563): CipherSuite selected by server: TLS_RSA_WITH_AES_128_GCM_SHA256
ssl_debug(45563): CompressionMethod selected by server: NULL
ssl_debug(45563): TLS extensions sent by the server: renegotiation_info (65281)
ssl_debug(45563): Server supports secure renegotiation.
ssl_debug(45563): Received certificate handshake message with server certificate.
ssl_debug(45563): Server sent a 2048 bit RSA certificate, chain has 1 elements.
ssl_debug(45563): ServerCertChain[0]:
ssl_debug(45563): Version: 3
ssl_debug(45563): Serial Number: 0xb5d411fe
ssl_debug(45563): Signature Algorithm: SHA1withRSA
ssl_debug(45563): Issuer: CN=server.es
ssl_debug(45563): OU=SAP Web AS
ssl_debug(45563): O=SAP Trust Community
ssl_debug(45563): C=ES
ssl_debug(45563): Validity:
ssl_debug(45563): Not Before: Wed Dec 11 18:05:06 CET 2019
ssl_debug(45563): Not After: Sun Dec 11 18:05:06 CET 2039
ssl_debug(45563): Subject: CN=server.ono.es
ssl_debug(45563): OU=SAP Web AS
ssl_debug(45563): O=SAP Trust Community
ssl_debug(45563): C=ES
ssl_debug(45563): Public Key: RSA, 2048 bit

ssl_debug(45563): ChainVerifier: No trusted certificate found, rejected.
ssl_debug(45563): Sending alert: Alert Fatal: bad certificate
ssl_debug(45563): Shutting down SSL layer...
ssl_debug(45563): SSLException while handshaking: Peer certificate rejected by ChainVerifier
ssl_debug(45563): Closing transport...

Error while executing method of the SAP HTTP Client: error 32 - Broken pipe (Write failed) (local port 42160 to address NNN.NN.NN.NN (AAAAAAA.AAA.es), remote host unknown)
08:25:12:906 ~tException: error 32 - Broken pipe Catching java.io.IOException: java.net.SocketException: error 32 - Broken pipe (Write failed) (local port 42160 to address NNN.NN.NN.NN (AAAAAAA.AAA.es), remote host unknown)
at com.sap.aii.adapter.rest.ejb.common.http.SAPHttpClientWrapper.executeMethod(SAPHttpClientWrapper.java:54)
at com.sap.aii.adapter.rest.ejb.channel.HTTPWrapper.executeCall(HTTPWrapper.java:431)
at com.sap.aii.adapter.rest.ejb.receiver.RESTReceiverChannel.executeCall(RESTReceiverChannel.java:511)
at com.sap.aii.adapter.rest.ejb.receiver.RESTReceiverChannel.channel_receiveAsync(RESTReceiverChannel.java:398)
at com.sap.aii.adapter.rest.ejb.common.channel.AbstractReceiverChannel.receive(AbstractReceiverChannel.java:61)
at com.sap.aii.adapter.rest.ejb.common.channel.AbstractReceiverChannel.process(AbstractReceiverChannel.java:90)
at com.sap.aii.adapter.rest.ejb.common.ChannelManager.process(ChannelManager.java:152)
at com.sap.aii.adapter.rest.ejb.common.AbstractPIAdapter.process(AbstractPIAdapter.java:311)
at com.sap.aii.adapter.rest.ejb.common.AbstractPIAdapterBean.process(AbstractPIAdapterBean.java:57)
at sun.reflect.GeneratedMethodAccessor723.invoke(Unknown Source)
Caused by: java.net.SocketException: error 32 - Broken pipe (Write failed) (local port 42160 to address 172.17.12.15 (AAAAAAA.AAA.es), remote host unknown)
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:111)
at java.net.SocketOutputStream.write(SocketOutputStream.java:155)
at java.io.BufferedOutputStream.write(BufferedOutputStream.java:122)
at java.io.FilterOutputStream.write(FilterOutputStream.java:97)
at com.sap.httpclient.utils.dump.DumpOutputStream.write(DumpOutputStream.java:63)
at com.sap.httpclient.http.methods.InputStreamRequestData.writeRequest(InputStreamRequestData.java:142)
at com.sap.httpclient.http.methods.DataContainingRequest.writeRequestBody(DataContainingRequest.java:281)
at com.sap.httpclient.HttpMethodImpl.writeRequest(HttpMethodImpl.java:1427)
at com.sap.httpclient.HttpMethodImpl.execute(HttpMethodImpl.java:840)
at com.sap.httpclient.HttpMethodProcessor.executeWithRetry(HttpMethodProcessor.java:350)
at com.sap.httpclient.HttpMethodProcessor.executeMethod(HttpMethodProcessor.java:149)
at com.sap.httpclient.HttpClient.executeMethod(HttpClient.java:298)
at com.sap.httpclient.HttpClient.executeMethod(HttpClient.java:236)
at com.sap.aii.adapter.rest.ejb.common.http.SAPHttpClientWrapper.executeMethod(SAPHttpClientWrapper.java:50)
... 100 more

We have timeout parameter defined to 5 minutes, so we think this is not the problem because the error is inmediatly.

We also think that the size of payload is not the problem because we have sent files loger than the files which have failed. For example, we attach files sent correctly and with error where you can see the size of payload (i have tried to attach image file but i have the error "Unable to authorize the file").

Also we have try to resend these error files from SAP PI and we have been able to send some of them but others no.

Could you please help us?

Many thanks and regards

Accepted Solutions (0)

Answers (0)