So I have freshly installed GeoEvent extension to a ArcGIS 10.5 Server with some registered ArcGIS server connections. One of the connections require username and password. When I try to use that (successfully added) server connection in a field enricher, this error can be found in the stacktrace.. (slightly cut for readability)
Key file does not exist. java.lang.Exception: Key file does not exist. at com.esri.ges.security.cryptography.internal.GeoEventServerCryptoImpl.doDecrypt(GeoEve....
Error trying to decrypt Web Tier Password.
I can also see some zookeeper issues in the log. Maybe the keyfile are stored in zookeeper and it all fails because of this?
What am I missing?
Can you try resetting the password for the account you are referencing? I see this in your errors:
.DefaultArcGISServerConnection | Error trying to decrypt Web Tier Password.
Your password might be utilizing a character that is not decrypted properly.
In regards to the Keyfile that is created when you installed ArcGIS Server and authorized its role as Geoevent should be:
Provide the path and file name of the keycodes file that was created when you authorized ArcGIS for Server Enterprise. This file is in the \\Program Files\ESRI\License<release#>\sysgen folder on Windows or /arcgis/server/framework/runtime/.wine/drive_c/Program Files/ESRI/License<release#>/sysgen directory on Linux. If you have not already done so, authorize ArcGIS for Server to create this file.
The "keycodes" file are there:
And the password contains only a-zA-Z0-9 nothing special at all. Instead of having the username and password I generated a long lived token and the password message is gone from the logs. So it's a workaround.
Okey, So I changed to token based auth, and the server connection is green under "Data Stores" in the event manager. And, I can see updates of the services every now and then (DEBUG Level at com.esri.ges.httpclient.Http). But, when I run the Field enricher it still fails (but in a new way). The field enricher must be utterly disconnected 😕
Is this a single machine or multi tier machine deployment? If single, how did you register your arcgis server address in GeoEvent's datastores? Local host, IP, or full DNS entry?