HangfireIO / HangfireIO/Hangfire

Sacle up one Pod in Kubernetes ,hangfire servers (hf/servers) from dashboard giving 401

Open
#2,128 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
10.1k
Forks
1.8k
Avg merge
1h 19m
Merged PRs (30d)
1

Description

Step 1: We having one Pod (Pod1)in Kubernetes & we are try to see the list of servers from Hangfire Dashboard ,One server coming & Ok,no access issue. dashboard.
Step 2: We are manually scale up another Pod(Pod2). [For testing the scale up ]

Step 3: Then trying to see the the list of servers from Hangfire Dashboard from the user who has logged inin in Pod 1,Dashboad (hf/servers) giving 401 unauthorized.

My question is a)How to resolve this?
b)Is the manually scale up is a proper process ?
c)Why we are having this issue?

FYI: We have implemented :
app.UseHangfireDashboard("/hf", options: new DashboardOptions()
{
Authorization = new IDashboardAuthorizationFilter[]
{

new HangfireSysAdminAuth()
},
IgnoreAntiforgeryToken = true
});

Contributor guide

Open the contributing guide

Research direction

Start with the app.UseHangfireDashboard("/hf") configuration, especially DashboardOptions.Authorization and the HangfireSysAdminAuth filter. Reproduce the manual two-pod scale-up and inspect the /hf/servers request that returns 401, comparing authentication between pods. Done means identifying why the request is unauthorized and documenting the supported resolution and scaling process.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, kubernetes
Domain
authentication, backend, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.