I am trying to install Thingworx Analytics Server 8.1 on a Windows 10 VM using the docker installation process. While installing the analytics server, after entering the ThingWorx host and AppKey, I am getting an error message of failed validation for the Thingworx foundation connection (please see the attached screenshot).
Just to check that if the AppKey is working, I tried some simple PUT and GET request test and the key seems to be working.
However, I would like to point out that my ThingWorx core is installed on a different VM (Windows Server 2012 R2). Is this maybe the reason for the failed validation? If yes, what can be done to rectify this?
P.S. Follow the conversation from Not able to install ThingWorx Analytics server 8.1 since Docker not supported for Windows 2012 R2. I am trying to install it with the 1st suggested option.
Solved! Go to Solution.
Based on your suggestion, I installed the AnalyticsServer on a new linux based VM (stand alone or without the docker version). I am now able to see the AnalyticsServer thing in the TW core as well as, in the Analytics Builder.
Thanks for all the help!
P.S. Just a quick question , out of curiosity, is there any performance difference bewteen the versions of Analytics Server with and without docker? What exactly is the purpose of docker in the whole process?
You wrote that you are attempting to install ThingWorx Analytics on a Windows 10 machine while ThingWorx Core is on a Windows 2012 machine.
Consequently they are not on the same machine, however in the installer screenshot you have entered localhost for the ThingWorx host.
This should point to the Windows 2012 machine, which is different form the Windows 10 on which you are installing, so you should use the ip address of your ThingWorx Core machine, not localhost.
Hope this helps
Thanks for the reply.
I have tried to put in the IP address of the TW core machine (Win 2012) as well, but it didn't work too.
Also just to make sure both the machines are running at the same time, I first run my Windows 10 VM and in that VM, I run my Windows 2012 VM, but still, it is not validating and I am getting an error message.
When you are on your Windows 10 machine on which you want to install ThingWorx Analytics, could you open a browser and access your ThingWorx Core server ?
If you can, could you use the same information for host in the installation wizard ?
No I can't. See, my Thingworx core (alongwith Apache Tomcat etc.) is installed on a Windows 2012 R2 VM. However, in order to install the Analytics Server, we had to create a separate VM (which operates on Wind 10: to support docker). I am a little confused at this moment. If I understood correctly, you want me to open a browser in my Windows 10 VM and put in the <ip>:8080/Thingworx and see if it works, correct? If that was the case then, unfortunately, it didn't work (please see attached screenshot). Or did you want me to do something else?
Thank you. You did the right test.
This shows that your Windows 10 machine cannot access ThingWorx platform. This therefore explains why the installer cannot validate the ThingWorx installation. You will only be able to validate once you can access ThingWorx composer from a browser from your Windows 10 machine.
At this stage you should check if you can ping the ThingWorx machine from your Windows 10 machine.
If you can't you coudl start by stopping the fiewall on both mahcine.
If you still cannot communicate then you probably have a network issue between both VM.
You will need to fix this first and make sure both machine can communicate prior going further forward.
Thanks for the reply. I disabled the firewall on both the systems and was able to install the Analytics Server.
However, I am still not able to see the analytics thing which was supposed to be created after the installation and which I am supposed to add as an analytics gateway in the Analytics builderProblem while Configuring Communication Settings in Analytics Builder. I also didn't get any installation summary at the end of the installation as mentioned here Installing ThingWorx Analytics Server 8.0 - YouTube It just said that the installation process is finished and didn't give an option to view installation summary
Since, I am not able to see the thing in TW composer, I tried to verify if the installation is successful or not by going to the start menu (as indicated in the guide), I was able to see the twanalyticsserver Start, restart and stop options but NOT the uninstall option (as mentioned in the guide)
P.S The docker is running in the Windows container mode
On your Windows 10 where you installed Analytics, could you open a Power shell or command prompt and post the output of the command docker ps -a
also could you upload the file edgems.log created after executing the command docker logs edgems > edgems.log (the file will be created in the current working directory)
Thanks for your reply.
Please find attached the screenshots in of the two commands which you requested.
Also, I am not able to find the edgems.log file. Could you please specify as to where the file would have been created exactly? In the docker folder or somewhere else?
Could you execute again the same commands but in a Command prompt in elevated mode (Run as Administrator) ?
if you have the same output, that is no containers listed, could please collect all the .log files under the installation directory (by default C:\Program Files(x86)/ThingWorxAnalyticsServer) and upload them here ?