[PR #220] [MERGED] Login exits on a single attempt to connect to management #2627

Closed
opened 2025-11-20 07:11:59 -05:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/220
Author: @braginini
Created: 2/6/2022
Status: Merged
Merged: 2/6/2022
Merged by: @braginini

Base: mainHead: login-retry


📝 Commits (2)

  • 463ac94 fix: login exits on a single attempt to connect to management
  • 8778c24 chore: add log verbosity for Login operation

📊 Changes

3 files changed (+74 additions, -49 deletions)

View changed files

📝 client/cmd/login.go (+69 -44)
📝 management/client/grpc.go (+3 -3)
📝 signal/client/grpc.go (+2 -2)

📄 Description

On initial run (wiretrustee up) client makes a login request to management service.
If for some reason this command fails, client won't start anymore.

Fix: retry logic when running login command


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbirdio/netbird/pull/220 **Author:** [@braginini](https://github.com/braginini) **Created:** 2/6/2022 **Status:** ✅ Merged **Merged:** 2/6/2022 **Merged by:** [@braginini](https://github.com/braginini) **Base:** `main` ← **Head:** `login-retry` --- ### 📝 Commits (2) - [`463ac94`](https://github.com/netbirdio/netbird/commit/463ac945ab3b17c47ff74e15dfb2f74c502a894e) fix: login exits on a single attempt to connect to management - [`8778c24`](https://github.com/netbirdio/netbird/commit/8778c24184972ea06c1ad3cf86a8cd1383b2eecf) chore: add log verbosity for Login operation ### 📊 Changes **3 files changed** (+74 additions, -49 deletions) <details> <summary>View changed files</summary> 📝 `client/cmd/login.go` (+69 -44) 📝 `management/client/grpc.go` (+3 -3) 📝 `signal/client/grpc.go` (+2 -2) </details> ### 📄 Description On initial run (`wiretrustee up`) client makes a login request to management service. If for some reason this command fails, client won't start anymore. Fix: retry logic when running login command --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
saavagebueno added the pull-request label 2025-11-20 07:11:59 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#2627