Article - CS354781

ThingWorx Flow fails to connect to RabbbitMQ with error "Failed to connect to RabbitMQCould not connect to RabbitMQ: Connection timed out." in the ApplicationLog.log

Modified: 15-Oct-2021   


Applies To

  • ThingWorx Platform 9.0 to 9.5

Description

  • ThingWorx Foundation fails to connect to Flow with the following error in /ThingworxStorage/logs/ApplicationLog.log:
YYYY-MM-DD hh:mm:ss.[L: ERROR] [O: c.t.q.r.RabbitUtilities] [I: ] [U: Administrator] [S: ] [P: ] [T: https-openssl-nio-443-exec-2] Connection refused: connect
YYYY-MM-DD hh:mm:ss [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.
  • Cannot install ThingWorx Navigate due to a problem with ThingWorx Flow setup
  • ValidateFlowSetup service in WorkflowSubsystem shows the following errors:
Found 2 issues. _  [FLOW-RABBIT-01] - Failed to connect to Publisher RabbitMQ. Check whether RabbitMQ service is running and is accessible_  [FLOW-RABBIT-02] - Failed to connect to Consumer RabbitMQ. Check whether RabbitMQ service is running and is accessible_ For more information, refer to the 'Troubleshooting Your Installation' topic in the Help Center._
  • Cannot access the RabbitMQ Management Console through http://localhost:15672
  • Getting following error message when trying to execute rabbitmq-plugins.bat enable rabbitmq_management in the command prompt to enable RabbitMQ Management Console:
Failed to create cookie file (drive:)/erlang.cookie
 
This is a printer-friendly version of Article 354781 and may be out of date. For the latest version click CS354781