Connection issues between a RUT955 and Azure IoT Hub (again)

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

Greetings,

Could you confirm whether the issue still persists when running the latest 7.6.17 firmware on your device?

Additionally, I would like to clarify a few points:

  • Does the connection loss occur regularly or unexpectedly?
  • Can you verify if the device maintains a stable internet connection during these failures? Could there be temporary data disruptions or mentioned power losses affecting the connectivity?

If the suggestion to restart the data_sender service did not help, could you try restarting the Azure IoT Hub service with the following command and check if it makes any improvement?

/etc/init.d/azure_iothub restart

Please let me know whether the issue persists or if it was resolved already.

Best regards,

Hello I am currently of from workfor two weeks, I will give a proper reply when I get back.

This topic was automatically closed after 60 days. New replies are no longer allowed.