SAP Knowledge Base Article - Preview

3017074 - 401 error when connecting PI or PO to CPI

Symptom

You are setting up a connection between PI or PO and CPI and it fails with 401 Unauthorized. In PI/PO Receiver channel you are going to see errors similar to the one below:

Error while processing outbound message. HTTP POST call to https://<tenant-id>-iflmap.hcisbp.<host>.hana.ondemand.com/http/<endpoint> not successful.

The HTTP logs from CPI will show that no credentials were sent by PI/PO:

xx.xxx.xxx.x (xxx.xxx.xxx.xx) - - [10/Dec/2020:18:30:59 +0000] GET /<endpoint> HTTP/1.1 404 431

In the XPI Inspectors traces collected from PI/PO, it is possible to see that no client certificate was available, therefore the system sent an empty certificate which explains the error in CPI:

ssl_debug(105): Received server_hello_done handshake message.
ssl_debug(105): No client certificate available, sending empty certificate message...


Read more...

Environment

  • SAP Cloud Platform Integration for process services
  • SAP Netweaver
  • SAP Process Integration

Product

Cloud Integration all versions ; SAP NetWeaver all versions ; SAP Process Integration all versions

Keywords

SAP HANA Cloud Integration, SAP HCI, SAP CPI, SCPI, tenant, iFlow, Integration Flow, SOAP receiver channel, REST receiver channel, client certificate authentication, certificate authority, CA, certificate chain, issued, trusted, MessagingException, SocketException, Connection reset, No client certificate available, sending empty certificate message, handshake failure, Connection reset by peer, socket write error, SSL, TLS, Process Integration 7.0, PI 7.0, PI 7.01, PI 7.02, Process Integration 7.10, PI 7.10, Process Integration 7.11, PI 7.11, Process Integration 7.30, PI 7.30, Process Integration 7.31, PI 7.31, Process Orchestration 7.4, PI 7.4, PO 7.4, Process Orchestration 7.5, PI 7.5, PO 7.5, XI, AEX, soap adapter, rest adapter, rest, soap , KBA , LOD-HCI-PI-OPS , SAP Cloud Platform Integration Operations , BC-XI-CON-AFW-SEC , Security , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.