Skip to main content
18-Opal
February 5, 2018
Solved

Unable to fetch license file with device id...

  • February 5, 2018
  • 3 replies
  • 6442 views

Good morning

 

 

Attempting to install Thingworx 8.1.3.

I have manually imported the license file referring to CS271439.

I will tell you step by step.

 

 

First

{

    "PersistenceProviderPackageConfigs": {

        "PostgresPersistenceProviderPackage": {

            "ConnectionInformation": {

                "jdbcUrl": "jdbc: postgresql: // localhost: 5432 / thingworx",

                "password": "<password>",

                "username": "twadmin"

             }

         }

     },

    "PlatformSettingsConfig": {

        "LicensingConnectionSettings": {

          "username": "<PTC_support_portal_username>",

          "password": "<PTC_support_portal_password>",

          "timeout": "<value>"

         }

     }

}

I added the above code to get licenseRequestFile.txt.

I received the ##### _ license_capability_response.bin file through the device ID on the license management page of PTC support.

 

 

Then we modified the contents of platform-settings.json as follows.

{

    "PersistenceProviderPackageConfigs": {

        "PostgresPersistenceProviderPackage": {

            "ConnectionInformation": {

                "jdbcUrl": "jdbc: postgresql: // localhost: 5432 / thingworx",

                "password": "<password>",

                "username": "twadmin"

             }

         }

     },

    "PlatformSettingsConfig": {

        "LicensingConnectionSettings": {

          "username": "<PTC_support_portal_username>",

          "password": "<PTC_support_portal_password>",

          "activationIds": "<deviceID>"

         }

     }

}

 

The next time i run ThingWorx, you are connected and an entity is created.

However, ApplicationLog still shows Unable to fetch license file with device id <devieID>.

 

 

What's the problem?

How should we solve it?

Where can I find my activation ID?

 

 

thank

Best answer by nbansal

Hello Seonho,

Activation IDs are no longer required. I would suggest you to follow below article for detailed steps regarding licensing process in ThingWorx:

https://www.ptc.com/en/support/article?n=CS271439

Also, do not copy device id from LicenseRequestFile ,It contains special character and spaces while opened in Notepad. Manually type device id from LicenseRequestFile and place it on portal to download license file.

Thanks,

Nidhi

3 replies

19-Tanzanite
February 5, 2018

Hi ,

Place license file in "ThingworxPlatform" folder and rename to “license_capability_response.bin"

You can remove "platformsettingconfig" from platform-setting.json file

nbansal14-AlexandriteAnswer
14-Alexandrite
February 5, 2018

Hello Seonho,

Activation IDs are no longer required. I would suggest you to follow below article for detailed steps regarding licensing process in ThingWorx:

https://www.ptc.com/en/support/article?n=CS271439

Also, do not copy device id from LicenseRequestFile ,It contains special character and spaces while opened in Notepad. Manually type device id from LicenseRequestFile and place it on portal to download license file.

Thanks,

Nidhi

CHASEONHO18-OpalAuthor
18-Opal
February 5, 2018

Thanks Niahi Bansal

I configured Navigate and succeeded in the credentials. However, the HttpOperationFailedException is thrown in the integrated runtime.

Why does HttpOperationFailedException occur when Navigate retrieves design data?

Can you tell me please?