Article - CS370099

"Unable to connect to the PersistenceProvider: InfluxPersistenceProvider" is seen when ThingWorx tries to connect to InfluxDB configured for SSL/TLS

Modified: 29-Sep-2025   


Applies To

  • ThingWorx Platform 9.0 to 10.0
  • InfluxDB

Description

  • Cannot connect ThingWorx to InfluxDB
  • InfluxDB is configured to use SSL/TLS but ThingWorx Platform cannot connect to it
  • How to setup Secondary Persistence Provider with SSL/TLS based on InfluxDB
  • Getting an error when pressing Save on an InfluxDB Persistence Provider configured to use HTTPS
  • When saving the InfluxDB Persistence Provider errors are observed in the ErrorLog.log located in <ThingworxStorage>\logs:
    [L: ERROR] [O: E.c.q.l.c.Logger] [I: ] [U: Administrator] [S: ] [P: ] [T: https-jsse-nio-443-exec-6] Import Failed: Unable to update PersistenceProvider: Unable to connect to the PersistenceProvider: InfluxPersistenceProvider java.lang.Exception: Unable to connect to the PersistenceProvider: InfluxPersistenceProvider
        at com.thingworx.persistence.provider.PersistenceProviderManager.handleUpdateEntity(PersistenceProviderManager.java:279)
        ...
    Wrapped by: java.lang.Exception: Unable to update PersistenceProvider: Unable to connect to the PersistenceProvider: InfluxPersistenceProvider
        at com.thingworx.persistence.provider.PersistenceProviderManager.handleUpdateEntity(PersistenceProviderManager.java:282)
        at com.thingworx.system.managers.BaseManager.updateEntity(BaseManager.java:742)
        at com.thingworx.system.managers.BaseManager.updateEntity(BaseManager.java:617)
        ...
    Wrapped by: java.lang.Exception: Import Failed: Unable to update PersistenceProvider: Unable to connect to the PersistenceProvider: InfluxPersistenceProvider
        at com.thingworx.contentmanagement.ImportProcessorWorker.run(ImportProcessorWorker.java:328)
        at com.thingworx.contentmanagement.ImportProcessor.processImport(ImportProcessor.java:80)
        at com.thingworx.webservices.BaseService.handleUpdate(BaseService.java:1040)
        ...

 

  • When saving the InfluxDB persistence provider entity in ThingWorx Composer following error is observed:
     PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target 
This is a printer-friendly version of Article 370099 and may be out of date. For the latest version click CS370099