Endpoint status always Online
See original GitHub issueHi,
I’m trying to understand how SignalR and Azure SignalR resiliency works according Resiliency and disaster recovery and Sharding.md.
I have created a very dummy custom router class to be able to check my primary endpoints and there status.
public class CustomRouter : EndpointRouterDecorator
{
private readonly ILogger<CustomRouter> _logger;
public CustomRouter(ILogger<CustomRouter> logger)
{
_logger = logger;
}
public override ServiceEndpoint GetNegotiateEndpoint(HttpContext context, IEnumerable<ServiceEndpoint> endpoints)
{
var onlinePrimaryEndpointsCount = endpoints.Where(s => s.Online && s.EndpointType == EndpointType.Primary).Count();
_logger.LogInformation(onlinePrimaryEndpointsCount > 0 ? "Some Primary Online" : "No Primary Online");
var endpoint = base.GetNegotiateEndpoint(context, endpoints);
_logger.LogInformation($"Endpoint : {endpoint.ConnectionString}");
return endpoint;
}
}
When I delete my signalR service in azure portal and try to connect a signalR client, I was expected my endpoint to not be marked as online
but it currently is.
Is there something I misunderstood ?
I’m using:
- ASP.NET Core v3.0-preview5
- Microsoft.Azure.SignalR v1.1.0-preview1-10420
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:8 (4 by maintainers)
Top Results From Across the Web
What is the meaning of an Offline Status | Endpoint Protection
The "Offline" status is only really cause for concern if you think those client should be online. In which case, it's time to...
Read more >Always On - Endpoint Ownership
Whoever creates an AlwaysOn group is, by default, the owner of the endpoint. This is generally not a problem…unless that person leaves the ......
Read more >Endpoint beta/me/presence is always returning availability ...
Hello All,. I have developed a piece of a code where I have an app registration on azure. 1) Grant the admin consent...
Read more >Skype always shows me online even when it's not running
Solution (from Solution for SKYPE ALWAYS ONLINE):. Use these commands in a chat window with any person: /showplaces - Lists other instances ...
Read more >Endpoint offline in OneView
If your endpoint is showing offline in OneView console, it may be due to missing ... ChromeOS, iOS, or a proxy, the online/offline...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for the info. @alarco-l We will release the
1.0.11
package fornetstandard2.0
as well as the1.1.x
preview package fornetcoreapp3.0
in next release, which is planned in next week.It should change. Could you try the latest one
Install-Package Microsoft.Azure.SignalR -Version 1.1.0-preview1-10435 -Source https://www.myget.org/F/azure-signalr-dev/api/v3/index.json
? We made several fixes toendpoint
after10420
.