SAP Knowledge Base Article - Preview

2749429 - 2696730 - SAP Cloud Connector HA setup - PingToMaster failure - 500 (Internal Server Error) - HTTP Status 401 - Cannot authenticate with the provided credentials

Symptom

After establishing High Availabity setup for SAP Cloud Connector (SCC), Shadow Instance is not connecting to Master Instance.

  • The following entries can be found in Shadow SCC's ljs_trace:
     
    [...]
    #WARN#com.sap.scc.ha#SCC HA Ping to Master#          #PingToMaster failure
    com.sap.scc.ha.HaHttpClientException: request https://<hostname>:8443/shadow failed with 500 (Internal Server Error) <html><head><title>Error report<...>
    [...]
    HTTP Status 401 - Cannot authenticate with the provided credentials</h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u>Cannot authenticate with the provided credentials</u></p><p><b>description</b> <u>This request requires HTTP authentication.</u></p><HR size="1" noshade="noshade"></body></html>
            at com.sap.scc.ha.HaHttpClientSession.checkStatusCode(HaHttpClientSession.java:156)
            at com.sap.scc.ha.HaHttpClientSession.execute(HaHttpClientSession.java:101)
            at com.sap.scc.ha.PingToMaster.initPush(PingToMaster.java:352)
            at com.sap.scc.ha.PingToMaster.run(PingToMaster.java:239)
            at java.lang.Thread.run(Thread.java:808)|
    INFO#com.sap.scc.ha#SCC HA Ping to Master#          #Initial push requests failed
    [...]
       
  • The following entries can be found in Master SCC's ljs_trace:
     
    [...]
    #WARN#org.apache.http.impl.client.DefaultHttpClient#http-bio-8443-exec-5#          #Authentication error: Unable to respond to any of these challenges: {}|
    #ERROR#com.sap.scc.ui#http-bio-8443-exec-5#          #request https://<hostname>:8443/ failed with 401 (Unauthorized) <html><head><title>Error report<...>
    [...]
    HTTP Status 401 - Cannot authenticate with the provided credentials</h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u>Cannot authenticate with the provided credentials</u></p><p><b>description</b> <u>This request requires HTTP authentication.</u></p><HR size="1" noshade="noshade"></body></html>
    [...]


Read more...

Environment

SAP Cloud Connector High Availability setup

Product

SAP Cloud Platform Connectivity 2.0

Keywords

cloud connector high availabity, high availabity, Cloud connector, PingToMaster failure, Initial push requests failed, 500 (Internal Server Error), Authentication error, Unable to respond to any of these challenges, HTTP status 401, Cannot authenticate with the provided credentials , KBA , BC-MID-SCC , SAP Cloud Connector On-Demand/On-Premise Connectivity , 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.