Fail to configuration Analytics, HTTP Post request failed, 400 bad request
Hello everyone, 

I recently installed GA on its dedicated server and try to configure it to monitor our ArcGIS Server, Portal etc. by "remote monitoring". The GA is configured to use our ArcGIS Online identity. Once I loged on, I could see it has by default the hub server added as a resource. However I'm could add/config/remove any resource at the moment. When I did try, it failed with error message like "unable to save configuration", "unable to remove the server" etc. I checked the network logs of the web browser (Firefox) and noticed all POST communications (GET/SET) failed which lead the unsuccessful configuration. And the response error of the failed POST communication is like "More than one role configuration found for Analytics.xxxxx". What does this mean? Has anyone saw this kind of error before? thank you.


0
-
Hi Jack,
It sounds like there was a backup file of one of the role.config files that is still being loaded. If there are multiple .config files in the NSRoot folder, then you cannot configure that collector through the configuration page. Also, it may result in multiple versions of the same role starting. Here's what I would suggest to troubleshoot/fix this.
1) Stop the Geocortex Core service on any nodes in your Core cluster (This may include your Essentials machine, and agents servers)
2) Navigate to the following folder: C:\Program Files\Latitude Geographics\Geocortex Core\NSRoot\Geocortex\Analytics\Collectors\SystemInfo\1.2.0
NOTE: The path may be different depending on the version of Analytics you have installed
3) Look at the files. There should only be one file ending in .config (named role.config). If there are multiple files that end in .config, move the others out of the folder. Look through the other folders as well and make sure there are no other copies of any other role.config files.
4) Navigate to the following folder: C:\Program Files\Latitude Geographics\Geocortex Core\Data\DocumentStore\DocumentStore\YourCluster\nodes\0\indices
NOTE: Replace 'YourCluster' with the name of your actual cluster. Also the path may be different, depending on where you installed your Core data folder.
5) Delete the folder 'geocortex.core.configuration'
6) Repeat step 2 through 5 on all other cluster nodes
7) Start the Geocortex Core service
When Core starts up, you should be able to add your servers with the configuration page.
Please contact support if this does not work, or if you need assistance!
Thanks,
Danny0 -
hi Danny, thank you very much for the help. by following your guide the problem seems gone now. Just FYI we didn't have any duplicate role.config files in the folders. by remove the 'geocortex.core.configuration' folder as mentioned in step 4 and 5 now it's all good. Thank you. 0 -
Hi Jack,
Interesting! Usually the issue is triggered by backup files, but it seems like that was not the case here. Either way, I'm glad you were able to solve it :)
Cheers!
Danny0
Vous devez vous connecter pour laisser un commentaire.
Commentaires
3 commentaires