Product/components used and version/fix level:
OS: Yocto Linux
Linux version 6.1.46-gnid (oe-user@oe-host) (aarch64-oe-linux-gcc (GCC) 11.4.0, GNU ld (GNU Binutils) 2.38.20220708)
Thin-Edge 1.2.0
Detailed explanation of the problem:
Trying to connect device to Cumulocity using a thin-edge client. Certificate upload is successful and I am able to see it in the Cumulocity web interface, but connection fails and gives “ConnectionRefused” error message (please see output from connect below).
Error messages / full error message screenshot / log file:
root@IRX200-K234500070:~# tedge connect c8y
The system config file ‘/etc/tedge/system.toml’ doesn’t exist. Using ‘/bin/systemctl’ as the default service manager
Detected mosquitto version >= 2.0.0
Checking if systemd is available.
Checking if configuration for requested bridge already exists.
Validating the bridge certificates.
Creating the device in Cumulocity cloud.
Saving configuration for requested bridge.
Restarting mosquitto service.
Awaiting mosquitto to start. This may take up to 5 seconds.
Enabling mosquitto service on reboots.
Successfully created bridge connection!
Sending packets to check connection. This may take up to 2 seconds.
ERROR: Io(Os { code: 111, kind: ConnectionRefused, message: “Connection refused” })
Warning: Bridge has been configured, but Cumulocity connection check failed.
Checking if tedge-mapper is installed.
Warning: tedge-mapper is not installed.
ERROR: Io(Os { code: 111, kind: ConnectionRefused, message: “Connection refused” })
Make sure mosquitto is running.
Failed to get the connected tenant URL from Cumulocity.
Enabling software management.
Checking if tedge-agent is installed.
Info: Software management is not installed. So, skipping enabling related components.