How to resolve SignalR connect time-out

Asare, Kofi Asabere Bediako 20 Reputation points

I am using the Azure Digital Twins Plugin for Unreal Engine and have a SignalR resource I want to use to broadcast updates from my ADT instance to the twin. I have a broadcast and negotiate functions published to my funcatin app. The utility widget is able to establish connection with the Azure Digital Twin instance but returns as error of "Connect timed-out from SignalR, check to if negotiation URL is correct". I am sure the negotiation URL is correct as it is myfuncationapphostname/api/. How do I resolve this?

Azure Digital Twins
Azure Digital Twins
An Azure platform that is used to create digital representations of real-world things, places, business processes, and people.
221 questions
Azure SignalR Service
Azure SignalR Service
An Azure service that is used for adding real-time communications to web applications.
123 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. AshokPeddakotla-MSFT 28,406 Reputation points

    @Asare, Kofi Asabere Bediako Welcome to Microsoft Q&A forum! Below are the possible root causes for the SignalR connection time-out errors. Please see below and see if that helps to resolve your issue.

    • Make sure that the URL you are using for the negotiation endpoint is correct and matches the URL of your function app. You can also try accessing the URL directly in a web browser to see if it returns a valid response.
    • Make sure that the firewall settings for your SignalR resource are configured correctly to allow incoming connections.
    • Check the logs for your SignalR resource to see if there are any errors or warnings that may be related to the connection issue. You can access the logs in the Azure portal.
    • Try a different SignalR resource: If the above steps do not resolve the issue, you can try creating a new SignalR resource and using that instead. This can help rule out any issues with the current resource.
    • Check the network connectivity: Make sure that the network connectivity between your Azure Digital Twins instance and the SignalR resource is working correctly. You can try pinging the SignalR resource from your Azure Digital Twins instance to check the connectivity.
    • Check the version of the Azure Digital Twins Plugin for Unreal Engine: Make sure that you are using the latest version of the Azure Digital Twins Plugin for Unreal Engine. You can check for updates in the Unreal Engine Marketplace.

    I hope these suggestions help you resolve the SignalR connect time-out issue with Azure Digital Twins. If you continue to experience problems, please share more information on the error message and any other relevant details for further assistance.