Hello!
I have previously written about some issues with connection being lost sporadically between a RUT955 and azure iot hub here. The current firmware on the devices are RUT9_R_00.07.06.16.
On my last post I got the suggestion to restart the service with the following command
/etc/init.d/data_sender restart
The data_sender didn’t work but I have tried
/etc/init.d# datasender restart
and got the following error message:
[Severity ] Message
[Error ] Failed to publish ubus object for data_sender collection ‘1’
[Error ] [1] Error while adding UBUS object
So I think something is wrong with the command.
I have tried to read the logs of the machines that stop sending but I can’t find anything unusual that differs from the working ones but I will try to get a new fresh log when the next one fails. We suspect that it might be because the power to the Teltonika device unexpectentantly interrupts or due to temporarily bad connection.
One the topic of this, is it possible to restart the data_sender automatically remotely somehow, like via an API or something like that?
— EDIT —
I just got a new faulty machine and the error written in the system.log is the following:
Thu Mar 20 10:04:46 2025 daemon.err data_sender: (AzureCom) Failed to connect. Connection refused
Thu Mar 20 10:04:46 2025 daemon.err data_sender: Failed to connect. Connection refused
Thu Mar 20 10:04:47 2025 daemon.err data_sender: Failed to connect. Connection refused
Thu Mar 20 10:04:48 2025 daemon.err data_sender: Failed to connect. Connection refused
Thu Mar 20 10:04:49 2025 daemon.err data_sender: Failed to connect. Connection refused
Thu Mar 20 10:04:50 2025 daemon.err data_sender: Failed to connect. Connection refused (Will stop printing error messages due to log spam. That does not mean that the problem is no longer present!)
Kind regards
Henrik