Open Closed

Chat is Connecting #9283


0
Jorahealth created

I have hosted my apllication on Azure and configured SignalR on it while publishing it from Visual Studio. The connection strings are in place. The chat function in my angular app keeps saying 'Chat is connecting' could you help me resolve. Many Thanks


2 Answer(s)
  • 0
    maliming created
    Support Team

    Please check if there is any information in the browser's console and the application's logs?

  • 0
    Jorahealth created

    Hi, This is what I found in application log: (Could you recommend steps) FATAL 2020-07-02 17:07:26,211 [1 ] Microsoft.AspNetCore.Hosting.Diagnostics - Hosting startup assembly exception System.InvalidOperationException: Startup assembly Microsoft.Azure.SignalR failed to execute. See the inner exception for more details. ---> System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Azure.SignalR, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. File name: 'Microsoft.Azure.SignalR, Culture=neutral, PublicKeyToken=null' at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, RuntimeAssembly assemblyContext, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, AssemblyLoadContext assemblyLoadContext) at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, StackCrawlMark& stackMark, AssemblyLoadContext assemblyLoadContext) at System.Reflection.Assembly.Load(AssemblyName assemblyRef, StackCrawlMark& stackMark, AssemblyLoadContext assemblyLoadContext) at System.Reflection.Assembly.Load(AssemblyName assemblyRef) at Microsoft.AspNetCore.Hosting.WebHostBuilder.BuildCommonServices(AggregateException& hostingStartupErrors)

    I have configured SignalR in Azure but do not see the connection string or access key in aspsettings.json. I added this but it fails to connect. I do not have a technical background but am looking for steps to advise my developers