SAP PI/PO REST Adapter: Investigate LOGIN.FAILED Messages

Authentication failures in the AS Java log viewer can appear even when a REST message ultimately succeeds. A challenge followed by an authenticated retry can produce both an HTTP 401 and a successful response.

Identify the failing connection

Correlate the log entry with the communication channel and message monitor. Verify the authentication scheme, target endpoint, credentials and any proxy or Web Dispatcher that may alter request headers. Do not assume every failed logon is harmless.

Review preemptive authentication

For a receiver channel using Basic authentication, review the REST adapter advanced settings and the applicability of useAuthPreemptive to the installed support package. SAP Note 2952313 addresses related behavior on NetWeaver 7.50 SP17 and later. Use HTTPS, test in a lower environment and compare response codes and log entries before and after the change.

Related SAP Note: 2952313.

SAP Note: 3698719

You May Also Like

Leave a Reply?