Symptom
When establishing a connection between a JCo Standalone Application and S/4HANA Cloud via WebSocket RFC, the following error appears in the trace.
[JCoAPI] JCoClient.connect() using { jco.client.wsport=443, jco.client.destination=MY_DESTINATION, jco.client.type=W, jco.client.wshost=myxxxxxx.s4hana.cloud.sap, jco.destination.userid=xxxxx, jco.client.passwd=<secret>, jco.destination.auth_type=CONFIGURED_USER, propertiesProvider=test_sap_btp.SAPDestinationProvider, jco.client.user=xxxx } failed with com.sap.conn.jco.JCoException: (103) JCO_ERROR_LOGON_FAILURE: Name or password is incorrect (repeat logon) (remote system is [CFV|myxxxxxx.s4hana.cloud.sap:443])
main <1> [2024-02-16 11:52:57.457]: [JCoAPI] Exception occurred:
com.sap.conn.jco.JCoException: (103) JCO_ERROR_LOGON_FAILURE: Initialization of repository destination MY_DESTINATION failed: Name or password is incorrect (repeat logon)
at com.sap.conn.jco.rt.RfcDestination.getSystemID(RfcDestination.java:1651)
at com.sap.conn.jco.rt.RepositoryManager.getRepository(RepositoryManager.java:27)
at com.sap.conn.jco.rt.RfcDestination.initRepository(RfcDestination.java:1555)
at com.sap.conn.jco.rt.RfcDestination.getRepository(RfcDestination.java:1939)
at com.sap.conn.jco.rt.RfcDestination.getRepository(RfcDestination.java:40)
at test_sap_btp.SAPFunctionCall.main(SAPFunctionCall.java:23)
Caused by: com.sap.conn.jco.JCoException: (103) JCO_ERROR_LOGON_FAILURE: Name or password is incorrect (repeat logon) (remote system is [CFV|myxxxxxx.s4hana.cloud.sap:443])
at com.sap.conn.jco.rt.AbstractConnection.generateJCoException(AbstractConnection.java:615)
Read more...
Environment
JCo 3.1.8 - JCo 3.1.13
Product
Keywords
JCo, Websocket RFC, S/4HANA Cloud, Name or password is incorrect , KBA , BC-MID-CON-JCO , Java-Connector , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview