on 01-28-2016 11:53 AM
Hi guys,
i have a problem with rest receiver adapter in SAP PI 7.4 single stack version. Endpoint is awaiting a header field for authorization. So i put in "HTTP Headers" the following value:
URL-Pattern:
I'm using Proxy.
Error i receive:
With postman app call is working. Here if i not sending header key i receive same "Forbidden" error. Now i have no idea whats wrong.
Has anyone ideas?
Regards,
Marcus
The postman payload and header settings are correct. The data format was also correct.
I think i have found the error. We had some mistake in firewall configuration. Now i'm fighting with handshake error.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Marcus
In addition to what the others have mentioned here, I'd definitely recommend that you have XPI Inspector in your system. It comes in very handy to troubleshoot such issues as yours as there are more details in the logs.
For handshake issues, you can refer to my blog below on using XPI inspector to troubleshoot it.
Rgds
Eng Swee
Hi Marcus
From the description of your logs it looks like it's trying to establish HTTPS connection as it's using the common HTTPS 443 port.
Can you try running the XPI inspector test as described in my blog and post the IAIK/SSL debug log here? That would provide more insight into the reason for the handshake failure.
Rgds
Eng Swee
Hi Marcus
By default, HTTPS uses port 443. I noticed in your logs that port 443 is used, so that's why my guess is that you are transmitting on HTTPS instead of HTTP.
However, from the debug log, it is unusually short for an SSL debug log. Maybe the server really does not accept HTTPS the way you mentioned how SOAP UI does not require it.
Can you share a screenshot of your configuration of the communication channel, in particular the section regarding URL or target host?
Rgds
Eng Swee
Hi Eng,
at the moment i check some things with server team. Could be that SAP/Proxy not supports SNI (Server Name Indication https://en.wikipedia.org/wiki/Server_Name_Indication).
Regards,
Marcus
Hi Marcus,
The forbidden error is raised when the server can't understand the http call and it can't find the authentication or there are something issue with the structure or the data.
Try to confirm:
- All the http headers
- Try to respect the case sensitive in the http headers and their values comparing Postman APP
- Payload as Raghuraman said.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Marcus,
Can you post the payload your using the Postman APP?
Are you adding custom headers over there as well?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
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.