Azure iot errors with custom vision

동균 류 1 Reputation point

There occurs an error : 406 runtime on my iot edge hub.

$edgeAgent and $edgehub ae running properly but the other modules from custom vision, such as image-classifier-service and camera-capture does not work at all.

Surely i have followed the all manuals but i cannot find the way to solve this error.

The most doubtful problem is that i am on it with raspberry pi 4. Is there any difference?

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.
561 questions
{count} votes

1 answer

Sort by: Most helpful
  1. AshokPeddakotla-MSFT 30,241 Reputation points


    We are sorry to hear that you are experiencing an error while running the sample.

    The error 406 means the IoT Edge device is offline or not sending status reports.

    Looks like IoT Edge runtime is not starting up properly on your device.

    Please check the EdgeAgent logs for more detailed on error.

    Also, can you try the following command
    $>sudo systemctl status iotedge

    Just to confirm, are you following the simplified version of documentation Tutorial: Perform image classification at the edge with Custom Vision Service ?

    As specified in the original repo, You can run the solution on either of the following hardware:

    I understand that your $edgeAgent and $edgehub are running properly as per your statement. I haven't tried it but the same code should work on Raspberry Pi 4 device as well.

    Please double check the complete logs and hardware required for running the sample and try again.

    If you are still blocked with the same error, as @QuantumCache mentioned, Kindly open an issue under the Custom-vision-service-iot-edge-raspberry-pi
    repo for further help.

    2 people found this answer helpful.