[GH-ISSUE #5356] Netbird Self Hosted doesn't start to a working state if the IDP is unavailable - PocketID #11329

Closed
opened 2026-08-05 01:29:20 -04:00 by saavagebueno · 4 comments
Owner

Originally created by @Dimtar on GitHub (Feb 16, 2026).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/5356

Describe the problem

I have a Netbird self hosted instance and its linked to the PocketID IDP. If the PocketID instance is unavailable I get this error message:

Image

To Reproduce

Steps to reproduce the behavior:

  1. Stop self hosted instance
  2. Turn off PocketID
  3. Start self host instance
  4. Be unable to login

Expected behavior

Whilst in a perfect world the IDP would be available it would be nice if Netbird could ignore the IDP being down and still start. Whilst the instance is down I risk not being able to access the Netbird mesh

Are you using NetBird Cloud?

Selfhosted

NetBird version

Managementv0.65.1
Dashboardv2.32.1

Originally created by @Dimtar on GitHub (Feb 16, 2026). Original GitHub issue: https://github.com/netbirdio/netbird/issues/5356 **Describe the problem** I have a Netbird self hosted instance and its linked to the PocketID IDP. If the PocketID instance is unavailable I get this error message: <img width="383" height="294" alt="Image" src="https://github.com/user-attachments/assets/19eecf93-fc71-4f3b-a8c3-788a9465fdc1" /> **To Reproduce** Steps to reproduce the behavior: 1. Stop self hosted instance 2. Turn off PocketID 3. Start self host instance 4. Be unable to login **Expected behavior** Whilst in a perfect world the IDP would be available it would be nice if Netbird could ignore the IDP being down and still start. Whilst the instance is down I risk not being able to access the Netbird mesh **Are you using NetBird Cloud?** Selfhosted **NetBird version** Managementv0.65.1 Dashboardv2.32.1
saavagebueno added the triage-needed label 2026-08-05 01:29:20 -04:00
Author
Owner

@heymoe commented on GitHub (Feb 16, 2026):

I noticed this too when I forgot to restart my Authentik instance. Would be nice if the Netbird login screen would handle an external iDP being offline a bit more gracefully. Maybe just make the option as offline or just remove it from the list of options or something.

<!-- gh-comment-id:3912195063 --> @heymoe commented on GitHub (Feb 16, 2026): I noticed this too when I forgot to restart my Authentik instance. Would be nice if the Netbird login screen would handle an external iDP being offline a bit more gracefully. Maybe just make the option as offline or just remove it from the list of options or something.
Author
Owner

@braginini commented on GitHub (Feb 17, 2026):

I had the same issue while developing the feature. However, it was a bit tricky to solve with Dex as it requires all connectors to be available. It wasn't trivial to disable the connector either. Didn't think that many people will encounter this error.

But seems like we need it. I'l lsee what I can do about this.

<!-- gh-comment-id:3914801973 --> @braginini commented on GitHub (Feb 17, 2026): I had the same issue while developing the feature. However, it was a bit tricky to solve with Dex as it requires all connectors to be available. It wasn't trivial to disable the connector either. Didn't think that many people will encounter this error. But seems like we need it. I'l lsee what I can do about this.
Author
Owner

@braginini commented on GitHub (Feb 17, 2026):

My bad, it was easier than I expected. Dex already handles such cases. Here is the PR. Expect to be merged with the next release: https://github.com/netbirdio/netbird/pull/5367

<!-- gh-comment-id:3914962924 --> @braginini commented on GitHub (Feb 17, 2026): My bad, it was easier than I expected. Dex already handles such cases. Here is the PR. Expect to be merged with the next release: https://github.com/netbirdio/netbird/pull/5367
Author
Owner

@braginini commented on GitHub (Feb 18, 2026):

Solved in #5367

<!-- gh-comment-id:3919213586 --> @braginini commented on GitHub (Feb 18, 2026): Solved in #5367
Sign in to join this conversation.
No Label triage-needed
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#11329