技术文章 - CS370099

当 ThingWorx 尝试连接到为 SSL/TLS 配置的 InfluxDB 时,出现“无法连接到 PersistenceProvider:InfluxPersistenceProvider”

已修改: 29-Sep-2025   


注意:本文已使用机器翻译软件翻译,以方便非英语客户阅读。但翻译内容可能包含语法错误或不准确之处。请注意, PTC对本文所含信息的翻译准确性及使用后果不承担任何责任。请在 此处 查看本文的英文原始版本以便参考。有关机器翻译的更多详情,请单击 此处
感谢您告诉我们。我们将尽快审阅此译文。

适用于

  • ThingWorx Platform 9.0 to 10.0
  • InfluxDB

说明

  • 无法将 ThingWorx 连接到 InfluxDB
  • InfluxDB 配置为使用 SSL/TLS,但 ThingWorx Platform 无法连接到它
  • 如何基于 InfluxDB 设置带有 SSL/TLS 的辅助持久性提供程序
  • 在配置为使用 HTTPS 的InfluxDB 持久性提供程序上按“保存”时出现错误
  • 保存 InfluxDB 持久化提供程序时,在位于<ThingworxStorage>\logsErrorLog.log中观察到错误:
     [L: ERROR] [O: EcqlcLogger] [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) ...

  • 在 ThingWorx Composer 中保存 InfluxDB 持久化提供程序实体时出现以下错误:
     PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
这是文章 370099 的 PDF 版本,可能已过期。最新版本 CS370099