cancel
Showing results for 
Search instead for 
Did you mean: 

Authentication Failed in DpAgent

Eisson
Participant
0 Kudos
446

Hello, we set up the dpagent connected to SAP Datasphere and the connection is successful.

S0022329864_0-1723742493861.png

after a few minutes or hours, the agent is disconnected due to failed authentication.

S0022329864_2-1723742673022.png

My question is if this has happened to anyone else?

In the settings it gives the option to save password, where is this password saved?

S0022329864_1-1723742612875.png

I appreciate their collaboration experts.

 

 

View Entire Topic
xiaoming_wu
Product and Topic Expert
Product and Topic Expert

When you see the authentication error, there might be case that the user password is changed after setup DP agent connection with datasphere. In this case, you can request a new password in datasphere page and update the password in DP agent by following steps.

  1. At the command line, navigate to <DPAgent_root>/bin
  2. Execute one of the following commands using the --setSecureProperty parameter:
    On Windows, agentcli.bat --setSecureProperty
    On Linux, ./agentcli.sh --setSecureProperty
  3. If you want to use a different HANA User for Agent Messaging, choose Set HANA XS Username and enter the new username as prompted
  4. Choose Set HANA XS Password and enter the new password as prompted
  5. Restart the Data Provisioning Agent

There is also case that the hana db user is actually locked in the database, you can open through hana cockpit and see if the user is locked, then unlock that user, restart DP agent and check again.

Best regards
Helen

Eisson
Participant
0 Kudos
Thank you very much for your help, I will try it