Problems installing Platform-Analytics 8.5.1
- May 11, 2020
- 6 replies
- 2923 views
Hello,
After installing Platform-Analytics, Things (PropertyTransformThing, StatisticalMonitoringThing, StatisticalCalculationThing) are not created in the platform.
My environment is:
- Virtual Machine 1
- THW Platform: 8.5.2
- SSL:443
- Autogenerated certificate
- Virtual Machine 2
- Analytics Server: 8.5.2
- Connected to the platform and it seems working (see attached: "Analytics-Server.png")
- Platform-Analytics: 8.5.1
- RabbitMQ and Apache Flink from the installer
- Erlang 21.0
- The installation summary said that everything went OK and Things were created, but I can't find them on the platform. In addition, in the install.log file it seems that connection with the platform went OK:
"
[12:05:25] - Removing hidden characters from AppKey...
[12:05:25] - Removed hidden characters from AppKey.
[12:05:25] - Verifying if ThingWorx Foundation is installed and running ...
Executing /opt/ThingWorxAnalytics/PlatformAnalytics/validation/twxfoundation_appkey_validator 192.168.243.150 443 **** "true" "false"
Script exit code: 0
Script output:
ThingWorx Foundation connection verified
Script stderr:
[12:05:25] - ThingWorx Foundation verification [SUCCEEDED]
"
Attached:
- install_summary.txt
- install.log
- log folder
I found the following error in the configuration.log file:
"
2020-05-11 12:08:45 [NettyClient-NIO-1] WARN c.t.c.c.c.n.ThingworxClientConnectionHandler - [ClientHandler: 1515049024] SSLHandshake Exception, websocket not created:
java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
at java.base/sun.security.validator.PKIXValidator.<init>(PKIXValidator.java:102)
at java.base/sun.security.validator.Validator.getInstance(Validator.java:181)
at java.base/sun.security.ssl.X509TrustManagerImpl.getValidator(X509TrustManagerImpl.java:300)
at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrustedInit(X509TrustManagerImpl.java:176)
at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:246)
at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:141)
at java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.checkServerCerts(CertificateMessage.java:623)
at java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.onCertificate(CertificateMessage.java:464)
at java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.consume(CertificateMessage.java:360)
at java.base/sun.security.ssl.SSLHandshake.consume(SSLHandshake.java:392)
"
It seems to be related with the SSL certificate but I cannot understand the problem because on the same server there is an installation of Analytics-Server connected to the platform using the same certificate and parameters (autogenerated certificate and 443 port).
Thanks in advance for your help.
Regards,
Olatz.

