Azure-Samples / signalr-service-quickstart-serverless-chat

Serverless chat quickstart samples for Azure SignalR
MIT License
75 stars 61 forks source link

Error Indexing Method 'negotiate' #7

Open ChrisAllisonMalta opened 5 years ago

ChrisAllisonMalta commented 5 years ago

When I try running the sample as is I get the following error:

Error indexing method 'negotiate' Microsoft.Azure.WebJobs.Host: Error indexing method 'negotiate'. Microsoft.Azure.WebJobs.Extensions.SignalRService: The SignalR Service connection string must be set either via an 'AzureSignalRConnectionString' app setting, via an 'AzureSignalRConnectionString' environment variable, or directly in code via SignalROptions.ConnectionString or SignalRConnectionInfoAttribute.ConnectionStringSetting.

The local.settings.sample.json file needs renaming to local.settings.json to launch

eduardomb08 commented 5 years ago

I ran on this problem with the sample today. The fix reported by @ChrisAllisonMalta works.