# Dashboard shows 0 servers, jobs keep being done

**URL:** <https://discuss.hangfire.io/t/dashboard-shows-0-servers-jobs-keep-being-done/10041>\
**Category:** bug?\
**Tags:** dashboard\
**Created:** [June 21, 2023, 2:21pm UTC](https://discuss.hangfire.io/t/dashboard-shows-0-servers-jobs-keep-being-done/10041 "2023-06-21T14:21:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![skttzo3308](https://dub1.discourse-cdn.com/flex017/user_avatar/discuss.hangfire.io/skttzo3308/32/3375_2.png) [@skttzo3308](https://discuss.hangfire.io/u/skttzo3308)\
**Post date:** [June 21, 2023, 2:21pm UTC](https://discuss.hangfire.io/t/dashboard-shows-0-servers-jobs-keep-being-done/10041/1 "2023-06-21T14:21:52Z")

</div>

Greetings!

There seems to be a discrepancy between running jobs and Hangfire Server count displayed in the Dashboard. Jobs keep performing but the Dashboard shows 0 Servers. When in the Servers tab no servers are displayed too.

Repro steps: random occurrence

Context:

> **Context**
>
> -number of apps working with this hangfire database - 1 (only this, simplest case, no multi-app meddling)  
> -number of hangfire servers in the app - 8 (shows 0)  
> -nuget Hangfire.AspNetCore version: 1.7.18  
> -host hardware: checked hardware resources should be ok 99.99% of the time, sometimes processor spikes to high loads due to (different) 3rd party apps hosted on the same machine.  
> -ASP.NET Core 3.1 configuration: (usage of db provider defined in .UseHangfire() method only, not in .UseHangfireDashboard - normally working ok)  
> -types of jobs being done: IBackgroundJobClient.Enqueue, via IBackgroundJobClient injected in the class by [ASP.NET](http://ASP.NET) (default case when not calling the static BackgroundJob.Enqueue)

> **Configuration code**
>
> ```auto
> services.AddHangfire((serviceProvider, config) =>
> {
> config.UsePostgreSqlStorage(hangfireDbConnectionString,
> new PostgreSqlStorageOptions()
> {
> InvisibilityTimeout = TimeSpan.FromHours(12),
> PrepareSchemaIfNecessary = false,
> });
> config.UseFilter(serviceProvider.GetRequiredService<HangfireJobFilters>());
> });
> 
> ```
> 
> ```auto
> public void UseHangfireDashbord(IApplicationBuilder app)
> {
> app.UseHangfireDashboard("/hangfire", new DashboardOptions
> {
> Authorization = new[]
> {
> new BasicAuthAuthorizationFilter(
> options: new BasicAuthAuthorizationFilterOptions
> {
> RequireSsl = false,
> SslRedirect = false,
> LoginCaseSensitive = true,
> Users = new []
> {
> new BasicAuthAuthorizationUser
> {
> Login = _hangfireConfiguration.BasicAuthAuthorizationUser.Username,
> PasswordClear = _hangfireConfiguration.BasicAuthAuthorizationUser.Password
> }
> }
> })
> },
> IsReadOnlyFunc = (DashboardContext context) => _hangfireConfiguration.IsHangfireDashboardReadOnly
> });
> }
> 
> ```

 ![before_resume](https://europe1.discourse-cdn.com/flex017/uploads/hangfire/original/2X/e/ea7b95786112b0ce2f4f3013120fc797fa61bea3.png)

After some time (tracked around 1 hr) the servers go back up to standard. This happens auto-magically. No app restart or anything.

> **Normal operation restored screenshot**
>
> ![after_resume](https://europe1.discourse-cdn.com/flex017/uploads/hangfire/original/2X/0/0e7e788c7683b24d006c017b99d8f4e8f0e0753e.png)

Any knowledge on why is the Dashboard’s showing 0 servers?  
Is it a known issue?  
Is it event a dashboard problem or is it something deeper and concerning?
