Skip to main content

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

Comments

3 comments

  • Permanently deleted user
    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,

     

    Danny
    0
  • Permanently deleted user
    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
  • Permanently deleted user
    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!

     

    Danny
    0

Please sign in to leave a comment.