技术文章 - CS337014
错误“502 Bad Gateway”,安装 ThingWorx Flow 后 ThingWorx Platform 将无法启动
已修改: 26-Feb-2024
适用于
- ThingWorx Platform 9.0 to 9.3
说明
- Flow 成功安装后,ThingWorx 停止工作并给出502-Bad Gateway错误
- 安装后无法访问 ThingWorx Flow
- ThingWorx Platform KeyStore 中不存在encrypt.queue.password ,因此 ThingWorx 将不会启动
- 即使 ThingWorx Flow 和 ThingWorx Platform 位于同一主机上,也会生成Flowkeys.tar
- ThingWorx Flow 安装在与 ThingWorx Platform 相同的主机上,但安装程序似乎未根据 ThingWorx Flow 安装日志找到安装:
- <Flow 安装程序临时目录的路径>\.ptc_ccif\ThingWorxFoundation.xml 不存在
- 无法安装需要 ThingWorx Flow 的 ThingWorx 扩展
- 导入失败后,在<ThingworxStorage>\logs\ErrorLog.log文件中观察到错误:
异常:java.io.UncheckedIOException:com.rabbitmq.client.AuthenticationFailureException:ACCESS_REFUSED - 使用身份验证机制 PLAIN 拒绝登录。有关详细信息,请参阅代理日志文件
- 在C:\Program Files\nginx<version>\logs\error.log中,可以看到错误:
[错误] 3312#3428: *8 connect() 失败(10061:无法建立连接,因为目标机器主动拒绝)连接到上游时,客户端:<ip_address>,服务器:<hostname>,请求:“GET /Thingworx HTTP/1.1”,上游:“https://<ip_address>:<port>/Thingworx”,主机:“<主机名>:<Flow_port>”
- 位于 <tomcat_home>\logs 的 Apache Tomcat 日志显示错误:
ch.qos.logback.core.joran.spi.Interpreter@3:88 中出现错误 - 标签 [contextListener] com.thingworx.exceptions.ConfigurationException 的操作中出现 RuntimeException:java.lang.Exception:未指定队列密码。
在 com.thingworx.exceptions.ConfigurationException:java.lang.Exception:未指定队列密码。
在 com.thingworx.system.configuration.PlatformSettings.getInstance(PlatformSettings.java:3053)
在 com.thingworx.logging.LogbackUtilities.loadLogbackConfiguration(LogbackUtilities.java:54)
在 com.thingworx.logging.LogUtilities.initializeLoggerContext(LogUtilities.java:440)
在 com.thingworx.logging.LogbackCustomLoggerContextListener.start(LogbackCustomLoggerContextListener.java:23)
在 ch.qos.logback.classic.joran.action.LoggerContextListenerAction.end(LoggerContextListenerAction.java:70)
在 com.thingworx.system.configuration.PlatformSettings.getInstance(PlatformSettings.java:3053)
在 com.thingworx.logging.LogbackUtilities.loadLogbackConfiguration(LogbackUtilities.java:54)
在 com.thingworx.logging.LogUtilities.initializeLoggerContext(LogUtilities.java:440)
在 com.thingworx.logging.LogbackCustomLoggerContextListener.start(LogbackCustomLoggerContextListener.java:23)
在 ch.qos.logback.classic.joran.action.LoggerContextListenerAction.end(LoggerContextListenerAction.java:70)
- 在 ThingWorx Flow 的安装日志中,观察到以下消息:
C:\Users\Administrator\.ptc_ccif\ThingWorxFoundation.xml 不存在
这是文章 337014 的 PDF 版本,可能已过期。最新版本 CS337014