Azure IoT Edge API Proxy Module support for ARM64 Devices

Dhanavath Vishnu 366 Reputation points
2023-11-22T17:55:21.05+00:00

Hello Everyone,

Hi @LeelaRajeshSayana-MSFT ,

I am trying to test the Azure IoT Edge API Proxy module for ARM64 and AMD64 VM's to up and run, using the following image tag: mcr.microsoft.com/azureiotedge-api-proxy from microsoft.

This module up and running on both OS architecture, but on ARM64 the module is not routing any API's which we call from Frontend to Backend module through apiproxymodule. Getting an error like this:

User's image

But the same image is working for the AMD64 VM, able to perform all type of API routings and singalR events, everything is working normally. I have checked the docker image support also, it shows the image can support both the OS architecture platform.

Why the apirproxymodule is giving this error page on ARM64 VM, can you please give your suggestion/feedback to fix this issue.

This is easily tested by spinning the two VM's with different OS Architecture (AMD64, ARM64) selection.

Thanks for your time and efforts.

Regards

D. Vishnu

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

3 answers

Sort by: Most helpful
  1. LeelaRajeshSayana-MSFT 15,241 Reputation points Microsoft Employee
    2023-11-27T17:15:49.56+00:00

    Hi @Dhanavath Vishnu Apologies for the delayed response on this issue. I have checked with the product team on this, and they wanted to work with you on this closely through a support ticket. Could you please send an email to azcommunity@microsoft.com with the below details, so that we can work offline on this matter.

    Thread URL: Link to this thread.

    Azure Subscription ID:

    Email Subject : Attn Leela

    The resolution for this issue would be updated later based on the findings of the product team.


  2. Dhanavath Vishnu 366 Reputation points
    2023-11-28T17:32:45.1833333+00:00

    Hi @LeelaRajeshSayana-MSFT ,

    I am unable to reply to your email, it is saying undeliverable, that is why posting here.

    Hello Rajesh, 
    Thanks for your mail.
    My access to the subscription is too limited, I am afraid I can’t share the subscription Id. Is there any other way we can solve this issue, please do let me know. 
    
    The scenario I am working is like, I will be having 4 IoT Edge modules, which are running on VM (both, amd64, arm64 Architecture). 
    Module 1 - > Backend
    Module 2 -> Frontend
    Module 3 -> MongoDB
    Module 4 -> API Proxy
    I have used API proxy module to route the API calls between the Backend and Frontend using the proxy config file. 
    
    I just want to run this scenario, for me this is correctly working on AMD64 architecture, but for ARM64 architecture I was getting the following error 
    Is this because of any restrictions of IoT Edge API proxy module support for ARM64 based architecture, or the configuration error.
    Please do let me know.
    
    Thanks & Regards
    D. Vishnu
    
    0 comments No comments

  3. Dhanavath Vishnu 366 Reputation points
    2023-12-06T18:11:13.4+00:00

    Hi @LeelaRajeshSayana-MSFT ,

    I have dig deep into the error I am facing, I found the logs from API proxy module which is running ARM64 host VM is as follows:

    [2023-12-06T16:57:38Z INFO api_proxy_module::monitors::config_monitor] Initializing config monitoring loop

    [2023-12-06T16:57:38Z INFO api_proxy_module::monitors::config_monitor] Starting config monitoring loop

    [2023-12-06T16:57:38Z INFO api_proxy_module::monitors::certs_monitor] Initializing certs monitoring loop

    [2023-12-06T16:57:39Z INFO api_proxy_module::monitors::certs_monitor] Starting certs monitoring loop

    [2023-12-06T16:57:40Z INFO api_proxy_module] Starting/Restarting API-Proxy

    *2023/12/06 17:01:45 [info] 9#9: 1 client sent plain HTTP request to HTTPS port while reading client request headers.

    With this info, if you can suggest me some working solution, which I can try it out sort out this issue, without any support ticket is raising. it will be great.

    Thanks & Regards,

    D. Vishnu


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.