Article - CS323653
New installation of ThingWorx Flow hangs on the ThingWorx logo
Modified: 27-Apr-2024
Applies To
- ThingWorx Platform 8.5 to 9.5
Description
- ThingWorx Composer is fully accessible directly or via NGINX but ThingWorx Flow does not work
- Cannot access ThingWorx Flow
- ThingWorx logo continuously spinning
- /Thingworx/Composer/apps/flow continuously loads and never opens ThingWorx Flow
- Using F12/Developer Tools in the Web Browser shows that the currentUser call returns a 502 or 504 error
- Using web browser F12 Developer Tools reports below error:
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
- Cannot use ThingWorx Flow directly after install
- ThingWorx Flow URL will jump to ThingWorx Foundation URL, but returns error
502 Bad Gateway
- F12 developer tools reports below error as well:
GET https://<ThingWorx-host>/Thingworx/Composer 502 (Bad Gateway)
- When browing ThingWorx Subsystems > WorkflowSubsystem > Services and running the ValidateFlowSetup service, the following error is returned:
Found 1 issues. [FLOW-API-02] - Failed to connect to Flow. Ensure that you are accessing ThingWorx via Nginx URL."
or
<html><body><h1>504 Gateway Time-out</h1> The server didn’t respond in time.</body></html>
- ThingWorx Flow service starts successfully but ThingWorx WorkflowSubsystem fails to start
- ThingWorx Foundation fails to connect to Flow with the following error in /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
This is a printer-friendly version of Article 323653 and may be out of date. For the latest version click CS323653