Skip to main content
1-Visitor
May 29, 2019
Solved

503 Service Unavailable error

  • May 29, 2019
  • 1 reply
  • 7124 views

I have been trying to install Thingworx platform 8.3, and when I followed the steps in the guide, I got a 503 Service Unavailable error. Apache tomcat is running.

Best answer by slangley

Hi @gstreit  and @k_ibrahem.

 

Just an update from the case.....

 

It was found that the o/s did not conform to the requirement for the trial version.  It also appeared that full rights had not been granted to the user account running the installer, and possibly other hardening had occurred that prevented the installer from completing.

 

Since entitlements to the product were already owned, ThingWorx was manually installed to get around the issues with the trial installer.

 

For the benefit of others on the community, it would be helpful if you could mark this as the Accepted Solution.

 

Regards.

 

--Sharon

1 reply

Community Manager
May 29, 2019

Hi @k_ibrahem.

 

Please provide the following:

 

  • ThingWorx logs located at \ThingworxStorage\logs
  • Tomcat logs located at <tomcat_home>\logs
  • platform-settings.json located at \ThingworxPlatform

 

We'll take a look and see if we can determine the cause of the issue.

 

Regards.

 

--Sharon

1-Visitor
May 30, 2019

Hey Sharon,

 

@k_ibrahem and I are both troubleshooting this issue on our end, so I can provide you with the files you requested. I've attached them below.

 

Thanks!

Community Manager
May 30, 2019

@gstreit wrote:

Hey Sharon,

 

@k_ibrahem and I are both troubleshooting this issue on our end, so I can provide you with the files you requested. I've attached them below.

 

Thanks!



Hi @gstreit and @k_ibrahem.

 

Attached is an updated platform-settings.json file.  There were some brackets in the wrong place.

 

Also, the ApplicationLog.log shows that the password for the model provider is incorrect.  This information is also configured in the platform-settings.json file:

 

"PersistenceProviderPackageConfigs": {
"PostgresPersistenceProviderPackage": {
"ConnectionInformation": {
"jdbcUrl": "jdbc:postgresql://localhost:5432/thingworx",
"password": "encrypt.db.password",
"username": "twadmin"

 

The password may not have been encrypted properly.  Replace the platform-settings.json file in \ThingworxPlatform with the one provided here (unzip it first).  Then change encrypt.db.password back to the actual twadmin password and restart Tomcat.  Once you work through all the kinks to get ThingWorx running, you can then work on the encryption.

 

After making the changes above, if you still have issues, please provide a new set of logs and the updated platform-settings.json for our review.

 

Regards.

 

--Sharon