Select to view content in your preferred language

ArcGIS Data Store "Failed to log in" error message

2651
11
07-28-2022 01:12 PM
FraserHand
Occasional Contributor III

Hi there,

We are having the same issue as described here

https://community.esri.com/t5/arcgis-enterprise-questions/keep-getting-a-warning-in-server-log-says-...

When validating the data stores via the admin API I see the same token error coming from data store

Validate: Machine 'https://...:6443/arcgis/admin/generateToken' returned an error. 'Failed to log in. Invalid username or password specified.'

then the 

failed to log in. Invalid username 'some guid' or password specified.

The only place I've seen any sort of credentials stored is in the dsadmindb in the <data store schema> storeregistry table. There are the following columns auth,storekey, storepwd, sharedkey and regtarget that store some encrypted data - are these related back to Server and are we able to reset this auth if it is the auth that the data store uses to try to generate the token. In the other post @JonathanQuinn says

"Data Store shouldn't store the PSA credentials as Server supports those credentials changing. It should establish a trust between itself and the Server."

How is this trust established and can we reset it without having to unregister the data store - which seems to be the common fix in the thread.

Thanks

Fraser

@MarcGraham2 

 

 

 

 

0 Kudos
11 Replies
FraserHand
Occasional Contributor III

I hadn't considered portal as I got stuck focusing on the generate token from the GIS server in the logs. But if the error goes away when it can talk to portal then it must be in the mix. Good thinking Scott!

0 Kudos
MarcGraham2
Occasional Contributor III

Thanks also to @FraserHand for digging into the depths of data store and also suggesting re-registering in his original post!

0 Kudos