cancel
Showing results for 
Search instead for 
Did you mean: 

MP: exception caught with cause java.net.SocketException: Connection reset

0 Kudos

Hi,

I am using REST receiver adapter, its Sync scenario with GET call.

Firewall is already open. I am able to call URL using POSTMAN.

I am using HTTP API key as authentication parameter.

But getting SocketException, please suggest.

arkesh_sharma
Active Participant
0 Kudos

Hi Rashmita,

I have a similar issue. Kindly let me know how you were able to resolve it?


Regards,
Arkesh

Accepted Solutions (0)

Answers (6)

Answers (6)

masztalerzl
Explorer
0 Kudos

Hi,

does anyone have a solution?

I have the same problem when I want call REST adapter.

using connection IDoc_AAE_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: java.net.SocketException: Connection reset" id="CEPJICNK.MsgDetailedView.TextKey_editor.55" style="white-space: normal;">Transmitting the message to endpoint <local> using connection IDoc_AAE_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: java.net.SocketException: Connection reset

by Postman everything is ok.

d_shestak
Explorer
0 Kudos

Hi!

Have you solved your problrm? It seem's I have the same one.

masztalerzl
Explorer
0 Kudos

Hi Denis, Hi everyone,

there were several problems. We solved it. This problem was with certificate and settings at a lower level our integration enviroment. Please check your and partner' settings for certificate and SSL layer, SNI and TLS 1,2 at a lower level. Updates or support for enviroment version.The XPI Inspector will be helpful.

Regards,

Lukas

.

former_member306381
Participant
0 Kudos

Rashmita,

if it is working in the postman tool- in the postman tool, did you see any additional parameters are added in the header tab ? so if yes you need to pass whatever added over there.

Regards,

Bhaskar

0 Kudos

No, Only header api key & password.

former_member306381
Participant
0 Kudos

Hi Rashmita,

Seems like the payload you are passing does not contain the expected key due to that reason target system is rejecting it.

Bhaskar

0 Kudos

Okay, but in HTTP Header i am simply putting API KEY and its value which i am doing same in Postman as well.

Shall i try something else to pass this HEADER key?

I am referring below link to pass API key in header:

https://answers.sap.com/questions/689965/rest-adapter-and-api-key.html

former_member306381
Participant
0 Kudos

Hi Rashmita,

Are you connectiong to any cloud base sytem or on-premise?

Regards,

Bhaskar

0 Kudos

On Premise

0 Kudos

I am using API Key & password in HTTP Headers tab of my channel. is this issue because of any certificate authorization as its HTTPS communication or i am not passing API key in header correctly ?

former_member306381
Participant
0 Kudos

Hi Rashmita,

Could you please share us the error screenshot or log text please.

Basically if it works through postman then it is pretty enough-might be other restriction is causing the problem..

Regards,

Bhaskar