Share via

Facing issue while running azure function on my local machine (Apple M1)

Shaikh, Usman 1 Reputation point
2022-10-25T09:37:04.323+00:00

Hello guys,

I am facing issue on local machine (Apple M1 chip) while running azure function, please refer following logs.

[2022-10-21T14:07:30.775Z] Executing 'Functions.ProcessTrustedFile' (Reason='New queue message detected on 'trusted-file-queue'.', Id=xxxxxxx)
[2022-10-21T14:07:30.775Z] Trigger Details: MessageId: xxxxxx, DequeueCount: 5, InsertedOn: 2022-10-21T14:07:29.000+00:00
[2022-10-21T14:07:30.777Z] Processing {"uploadType":"metric-upload","location":"file path"}

[2022-10-21T14:07:30.787Z] Executed 'Functions.ProcessTrustedFile' (Failed, Id=xxxxxx, Duration=6ms)
[2022-10-21T14:07:30.787Z] System.Private.CoreLib: Exception while executing function: Functions.ProcessTrustedFile. Microsoft.Azure.SignalR.Common: Unable to access SignalR service. Connection refused (azure_services:<port>) Please make sure the endpoint or DNS setting is correct. Request Uri: http://azure_services:<port>/api/v1/hubs/bng/users/xxxxxxx. System.Net.Http: Connection refused (azure_services:<port>). System.Net.Sockets: Connection refused.

I am looking forward for its solution
Thanks!

Azure Functions
Azure Functions

An Azure service that provides an event-driven serverless compute platform.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Mike Urnun 9,792 Reputation points Moderator
    2022-10-27T18:52:27.743+00:00

    Hello @Shaikh, Usman - The Apple M1 chip uses ARM architecture and there's an open issue filed with the Functions team for supporting it: https://github.com/Azure/azure-functions-host/issues/8666

    I'm sorry for the bad news but looking at the full tag list for the Docker container for Functions runtime, there still doesn't seem to be an image for ARM64 architecture: https://mcr.microsoft.com/v2/azure-functions/base/tags/list

    I'll report this to the Functions team & help raise its priority internally but please consider upvoting, commenting on the existing request at the following link as well: https://feedback.azure.com/d365community/idea/f1df9ac1-ebd6-ec11-a81b-0022484ee92d

    Was this answer helpful?


Your answer

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