AzureSignalR-samples icon indicating copy to clipboard operation
AzureSignalR-samples copied to clipboard

Negotiate end point connection error

Open sharvaridesai123 opened this issue 3 years ago • 0 comments

I am getting an error on the negotiate endpoint related to the connection. The actual error is Connection string missing required properties endpoint. (Parameter 'connectionString')

I am using BidirectionalChat example and using isolated process. My code works locally, but not when deployed to function app.

[Function("negotiate")] public async Task<SignalRConnectionInfo> Negotiate([HttpTrigger(AuthorizationLevel.Anonymous, "get")] HttpRequestData req, [SignalRConnectionInfoInput(HubName = "Events", UserId = "{query.personId}", ConnectionStringSetting = "xxxx_SignalRConnection")] SignalRConnectionInfo signalRConnectionInfo) { _logger.LogInformation("Executing Negotiate for SignalR."); return signalRConnectionInfo; } I have added xxxx_SignalRConnection to the Configuration ApplicationSettings. I don't know what is missing. It appears that it cannot find the connectionstring

sharvaridesai123 avatar Jun 28 '22 22:06 sharvaridesai123