netbird self hosted with keycloak. Client able to connect, but client are not able to come online #1462

Open
opened 2025-11-20 05:31:02 -05:00 by saavagebueno · 0 comments
Owner

Originally created by @rahul-jangra on GitHub (Dec 1, 2024).

Describe the problem

I have self hosted netbird instance with keycloak IDP.
I am able to access dashboard.
I install android client app, and try to to connect host. I get redirected to keycloak login page, I enter the user credentials, I get a login succesfull message
I go back to previous page, it still shows connecting.
I check dashboard, new client is added, but its not online.
I check management logs, I get following error msg:

management-1  | 2024-12-01T08:33:02Z WARN [context: GRPC, requestID: f285a960-373e-49e5-adc7-20ee92005945, accountID: UNKNOWN, peerID: 9bRKd5PKG5YuHXW8dpK9RVLLvJGy56CxH9CdMuBqzBE=] management/server/grpcserver.go:466: failed logging in peer 9bRKd5PKG5YuHXW8dpK9RVLLvJGy56CxH9CdMuBqzBE=: no peer auth method provided, please use a setup key or interactive SSO login
management-1  | 2024-12-01T08:33:04Z WARN [context: GRPC, requestID: 27b8344f-e739-4991-9183-1df2076650e9, accountID: UNKNOWN, peerID: 9bRKd5PKG5YuHXW8dpK9RVLLvJGy56CxH9CdMuBqzBE=] management/server/grpcserver.go:466: failed logging in peer 9bRKd5PKG5YuHXW8dpK9RVLLvJGy56CxH9CdMuBqzBE=: no peer auth method provided, please use a setup key or interactive SSO login
management-1  | 2024-12-01T08:33:05Z INFO management/server/peer.go:737: Peer needs login
management-1  | 2024-12-01T08:33:18Z INFO management/server/peer.go:737: Peer needs login
management-1  | 2024-12-01T08:33:31Z INFO management/server/peer.go:737: Peer needs login
management-1  | 2024-12-01T08:33:46Z INFO management/server/peer.go:737: Peer needs login
management-1  | 2024-12-01T08:33:59Z INFO management/server/peer.go:737: Peer needs login
management-1  | 2024-12-01T08:34:10Z INFO management/server/peer.go:737: Peer needs login

Are you using NetBird Cloud?
No, this is a self hosted instance.

NetBird version

latest as of today

CONTAINER                REPOSITORY             TAG                 IMAGE ID            SIZE
artifacts-coturn-1       coturn/coturn          latest              0d2918daccb2        169MB
artifacts-dashboard-1    netbirdio/dashboard    latest              3f69a0adf9cd        121MB
artifacts-management-1   netbirdio/management   latest              27929d72790e        185MB
artifacts-relay-1        netbirdio/relay        latest              9a5e48d4e593        51.4MB
artifacts-signal-1       netbirdio/signal       latest              7946e65988f4        47.6MB

Screenshots

able to access dashbord, client added but it never comes online :-
Screenshot 2024-12-01 at 2 16 27 PM

mobile client login successfull image :-
image

error screenshot :-
Screenshot 2024-12-01 at 2 04 54 PM

Originally created by @rahul-jangra on GitHub (Dec 1, 2024). **Describe the problem** I have self hosted netbird instance with keycloak IDP. I am able to access dashboard. I install android client app, and try to to connect host. I get redirected to keycloak login page, I enter the user credentials, I get a login succesfull message I go back to previous page, it still shows connecting. I check dashboard, new client is added, but its not online. I check management logs, I get following error msg: ``` management-1 | 2024-12-01T08:33:02Z WARN [context: GRPC, requestID: f285a960-373e-49e5-adc7-20ee92005945, accountID: UNKNOWN, peerID: 9bRKd5PKG5YuHXW8dpK9RVLLvJGy56CxH9CdMuBqzBE=] management/server/grpcserver.go:466: failed logging in peer 9bRKd5PKG5YuHXW8dpK9RVLLvJGy56CxH9CdMuBqzBE=: no peer auth method provided, please use a setup key or interactive SSO login management-1 | 2024-12-01T08:33:04Z WARN [context: GRPC, requestID: 27b8344f-e739-4991-9183-1df2076650e9, accountID: UNKNOWN, peerID: 9bRKd5PKG5YuHXW8dpK9RVLLvJGy56CxH9CdMuBqzBE=] management/server/grpcserver.go:466: failed logging in peer 9bRKd5PKG5YuHXW8dpK9RVLLvJGy56CxH9CdMuBqzBE=: no peer auth method provided, please use a setup key or interactive SSO login management-1 | 2024-12-01T08:33:05Z INFO management/server/peer.go:737: Peer needs login management-1 | 2024-12-01T08:33:18Z INFO management/server/peer.go:737: Peer needs login management-1 | 2024-12-01T08:33:31Z INFO management/server/peer.go:737: Peer needs login management-1 | 2024-12-01T08:33:46Z INFO management/server/peer.go:737: Peer needs login management-1 | 2024-12-01T08:33:59Z INFO management/server/peer.go:737: Peer needs login management-1 | 2024-12-01T08:34:10Z INFO management/server/peer.go:737: Peer needs login ``` **Are you using NetBird Cloud?** No, this is a self hosted instance. **NetBird version** `latest as of today` ``` CONTAINER REPOSITORY TAG IMAGE ID SIZE artifacts-coturn-1 coturn/coturn latest 0d2918daccb2 169MB artifacts-dashboard-1 netbirdio/dashboard latest 3f69a0adf9cd 121MB artifacts-management-1 netbirdio/management latest 27929d72790e 185MB artifacts-relay-1 netbirdio/relay latest 9a5e48d4e593 51.4MB artifacts-signal-1 netbirdio/signal latest 7946e65988f4 47.6MB ``` **Screenshots** able to access dashbord, client added but it never comes online :- <img width="1438" alt="Screenshot 2024-12-01 at 2 16 27 PM" src="https://github.com/user-attachments/assets/a528f1d4-8560-4c08-9bf6-5e72b16e7978"> mobile client login successfull image :- ![image](https://github.com/user-attachments/assets/372c8710-94ab-4478-8685-2fba3bf51bb8) error screenshot :- <img width="1148" alt="Screenshot 2024-12-01 at 2 04 54 PM" src="https://github.com/user-attachments/assets/0a8bf910-eddd-4187-b11f-c79d7e64b051">
saavagebueno added the waiting-feedbackself-hosting labels 2025-11-20 05:31:02 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#1462