技术文章 - CS323653

新安装的 ThingWorx Flow 挂在 ThingWorx 徽标上

已修改: 28-Apr-2024   


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

适用于

  • ThingWorx Platform 8.5 to 9.5

说明

  • ThingWorx Composer 可直接或通过NGINX完全访问,但ThingWorx Flow无法工作
  • 无法访问ThingWorx Flow
    • ThingWorx 徽标持续旋转
  • /Thingworx/Composer/apps/flow持续加载,且永不打开ThingWorx Flow
  • 在 Web 浏览器中使用F12/开发人员工具显示currentUser调用返回502504错误
  • 使用网络浏览器 F12 开发人员工具报告以下错误:
Access to XMLHttpRequest at 'https://xxx:<port>/Thingworx/Flow/currentUser' from origin 'https://127.0.0.1' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource
  • 安装后无法直接使用ThingWorx Flow
  • ThingWorx Flow URL 将跳转到 ThingWorx Foundation URL,但返回错误
502 Bad Gateway
  • F12开发人员工具也报告以下错误:
GET https://<ThingWorx-host>/Thingworx/Composer 502 (Bad Gateway)
  • 浏览 ThingWorx子系统 > WorkflowSubsystem > 服务并运行ValidateFlowSetup服务时,返回以下错误:
Found 1 issues. [FLOW-API-02] - Failed to connect to Flow. Ensure that you are accessing ThingWorx via Nginx URL."
或者
<html><body><h1>504 Gateway Time-out</h1> The server didn’t respond in time.</body></html>
  • ThingWorx Flow 服务启动成功,但 ThingWorx WorkflowSubsystem启动失败
  • ThingWorx Foundation 无法连接到 Flow, /ThingworxStorage/logs /ApplicationLog.log 中出现以下错误:
[L: ERROR] [O: c.t.q.r.RabbitUtilities] [I: ] [U: Administrator] [S: ] [P: ] [T: https-openssl-nio-443-exec-2] Connection refused: connect
[L: ERROR] [O: c.t.s.s.f.WorkflowSubsystem] [I: ] [U: Administrator] [S: ] [P: ] [T: https-openssl-nio-443-exec-2] Failed to connect to RabbitMQCould not connect to RabbitMQ: Connection timed out
这是文章 323653 的 PDF 版本,可能已过期。最新版本 CS323653