on 12-18-2018 9:44 AM
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
Hi Rashmita,
Are you connectiong to any cloud base sytem or on-premise?
Regards,
Bhaskar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.