[STS] Error 1172 Could not connect to RabbitMQ broker in STS Maintenance Software on Boot

Updated Nov 4, 2026

Reported In

Software

  • STS Maintenance Software

System

  • STS T2 M2
  • STS T1 M2
  • STS T4 M2

Other

  • RabbitMQ Windows Service

Issue Details

When launching STS Maintenance Software (MSW) or booting the system, an Error 1172 dialog appears:

Error 1172 occurred at Constructor Node Error creating instance of STS... (NationalInstruments.Skyline.MessageBus.SkylineException: Could not connect to RabbitMQ broker)

Inner Exception: RabbitMQ.Client.Exceptions.BrokerUnreachableException: None of the specified endpoints were reachable

 
error.png

Solution

NOTE: In newer STS versions, the RabbitMQ Windows Service is named NI SystemLink Message Bus. In older versions, it appears as RabbitMQ.
 
  • Scenario A: Service timing out or failing on startup (Non-destructive / Recommended First Step)
    If the broker service is not ready before MSW attempts to connect, or if the service encounters a single transient failure during system boot without restarting:
    1. Open Windows Services (services.msc) as Administrator.
    2. Right-click NI SystemLink Message Bus (or RabbitMQ) and select Properties.
      • General tab: Change Startup type to Automatic (Delayed Start).
      • Recovery tab: Set First failure, Second failure, and Subsequent failures to Restart the Service, with Restart service after set to 1 minute.
    3. Apply the same Recovery settings to NI SystemLink Service Manager.
    4. Reboot the system and verify both services are Running and MSW launches without Error 1172.
  • Scenario B: Corrupted Message Bus / RabbitMQ database (e.g., after unexpected shutdown or crash)
    If the service refuses to start or manually starting it fails:
    1. Open services.msc and ensure NI SystemLink Message Bus (or RabbitMQ) is stopped.
    2. Navigate to C:\ProgramData\RabbitMQ\db (or C:\ProgramData\National Instruments\Skyline\RabbitMQ\db) and delete the folder rabbit@localhost-mnesia.
    3. Open Command Prompt as Administrator and run:
      "C:\Program Files\National Instruments\Shared\Skyline\rabbitmqconfig.exe" --configure-admin --version=2
    4. Verify that NI SystemLink Message Bus (or RabbitMQ) is now Running.
    5. Restart the NI SystemLink Service Manager service.