Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Replaced "SSC" with "Control Panel"

Problem

Walk through the suggested solution here if you face any of these problems.

  1. Your newly installed and configured Site Controller is not shown in Social Sensor Cloud → Control PanelMy Organization → Locations
  2. Your Site Controller shows OFFLINE for the cloud_connected sensor
  3. You see errors in log/cloudConnector.log file.

...

Code Block
titleConnection refused
2016-02-22 13:25:15,236:3541:[cloudConnector.py:571]:WARNING:Could not publish to ExternalCloudBroker (azetibroker02.azeti.net)!
...
2016-02-22 13:24:41,982:3541:[cloudConnector.py:380]:DEBUG:ExternalCloudBroker: on_connect - rc: Connection Refused: not authorised. [5] flags: {'session present': 0}
2016-02-22 13:24:41,983:3541:[cloudConnector.py:414]:DEBUG:ExternalCloudBroker: Disconnected - rc: Connection Refused: not authorised.
2016-02-22 13:24:41,983:3541:[cloudConnector.py:425]:DEBUG:ExternalCloudBroker: is already marked as disconnected

Solution

  •  Make sure SIteController runs, check by running SiteController/run_SiteController.py status on your device.
  •  Error message on_connect - rc: Connection Refused: not authorised. implies incorrect MQTT credentials. Verify the configured user and pass in config/SiteController.cfg
  •  Error message error: [Errno 111] Connection refused implies that Site Controller can't establish an outgoing MQTT TCP connection. Check your firewall settings and test for a successful outgoing connection with telnet (see below).
  •  Error message no route to host implies that the broker host cannot be reached, either because the host is offline or you have no network connection to the host. Test if you can reach the MQTT broker as configured in config/SiteController.cfg,
Code Block
telnet> open azetibroker02.azeti.net 1883
Trying 54.93.215.194...
Connected to azetibroker02.azeti.net.
Escape character is '^]'.

...

Page Properties
hiddentrue
Related issues