Edge Runtime is 200-OK but modules are showing offline

Satyam Chauhan 537 Reputation points
2024-05-07T06:22:07.7766667+00:00

Hi ,

I am running IoT edge on a RHEL Linux server. I wanted to check the logs form portal. In the portal, I can see the IoT Edge Runtime Response as 200-OK and all the modules are in running state. But when I click on any module and select troubleshoot option, it gives error that - There was an error initializing the view.This device is offline.

How can I fix this issue, all module give the same response.

Azure IoT Edge
Azure IoT Edge
An Azure service that is used to deploy cloud workloads to run on internet of things (IoT) edge devices via standard containers.
548 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,136 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Sander van de Velde 29,856 Reputation points MVP
    2024-05-07T11:07:17.58+00:00

    Hello @Satyam Chauhan,

    welcome to this moderated Azure community forum.

    This is a tough question to answer.

    In cases like this one, you probably want to have a second way to communicate with the device via a VPN, Auto SSH (only outbound), or Azure Arc.

    Another alternative could be using OSConfig.

    If you only have the edge agent portal experience to connect, try to do a ping first.

    Then try to restart the modules, one by one.

    If this does not work, you probably need to visit the edge device in person.


    If the response helped, do "Accept Answer". If it doesn't work, please let us know the progress. All community members with similar issues will benefit by doing so. Your contribution is highly appreciated.

    0 comments No comments