Article - CS320586

ThingWorx Platform docker container fails to read commercial license file

Modified: 20-Mar-2024   


Applies To

  • ThingWorx Platform 8.5 to 9.5
  • Docker

Description

  • Docker container fails to read commercial license at restart
  • ThingWorx Platform Container fails to acquire license automatically when using LS_USERNAME and LS_PASSWORD parameters
  • Steps to reproduce :
    • Start container with commercial license license_capability_response.bin in ThingworxPlatform folder (docker-compose -f docker-compose-type.yml up -d)
      • License is renamed successful_license license_capability_response.bin
    • Stop container (docker-compose -f docker-compose-type.yml down)
    • Restart container and notice that any basic action (i.e. Create a new Thing) throws message License has not been installed
  • Connected licensing not working

  • Docker container fails to start with below error message:
Unable to connect to the PTC license server.  Please make sure the LicensingConnectionSettings settings in the platform-settings.json in the ThingworxPlatform directory are correct. If your server is not connected to the internet please use the request file licenseRequestFile.txt created in the ThingworxPlatform directory to do a manual install of the license 
This is a printer-friendly version of Article 320586 and may be out of date. For the latest version click CS320586