[GH-ISSUE #2422] Unable to reach /api/peers, receive 404 #5184

Open
opened 2026-08-05 01:01:51 -04:00 by saavagebueno · 0 comments
Owner

Originally created by @velopsiraptor-github on GitHub (Aug 11, 2024).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/2422

Describe the problem

I deployed netbird (self-hosted) via the advanced guide. I have netbird running successfully and authenticating with Zitadel. However, when attempting to query /api/peers via curl or anything else to use the API, I get a 404. It seems that the management UI has /peers, and when I go to /api/peers in the UI, it redirects me back to /peers.

I can only assume that I have something misconfigured, but I swear I've looked over everything and I can't seem to find anything that would point me in the right direction. Has this been seen before? Is there an easy solution or place I can start looking to resolve this?

Are you using NetBird Cloud?

Self-hosted

NetBird version

0.28.7

NetBird status -dA output:

Unable to run this, netbird running in docker, no apparent netbird binary in any of the containers.

Additional context

Clients seem to connect just fine and are able to ping each other over the tunnel IPs. Just not sure why /api/peers is returning a 404, along with other /api/* routes.

Originally created by @velopsiraptor-github on GitHub (Aug 11, 2024). Original GitHub issue: https://github.com/netbirdio/netbird/issues/2422 **Describe the problem** I deployed netbird (self-hosted) via the advanced guide. I have netbird running successfully and authenticating with Zitadel. However, when attempting to query `/api/peers` via curl or anything else to use the API, I get a 404. It seems that the management UI has `/peers`, and when I go to `/api/peers` in the UI, it redirects me back to `/peers`. I can only assume that I have something misconfigured, but I swear I've looked over everything and I can't seem to find anything that would point me in the right direction. Has this been seen before? Is there an easy solution or place I can start looking to resolve this? **Are you using NetBird Cloud?** Self-hosted **NetBird version** 0.28.7 **NetBird status -dA output:** Unable to run this, netbird running in docker, no apparent `netbird` binary in any of the containers. **Additional context** Clients seem to connect just fine and are able to ping each other over the tunnel IPs. Just not sure why `/api/peers` is returning a `404`, along with other `/api/*` routes.
saavagebueno added the triage-needed label 2026-08-05 01:01:51 -04:00
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#5184