[PR #379] [MERGED] Introduce longer retries for the agent #12551

Closed
opened 2026-08-05 02:06:10 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

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

Base: mainHead: infinite-retry


📝 Commits (5)

  • 031866c Introduce longer retries for the agent
  • 98ef0fc Introduce longer retries for the agent
  • 91ad529 Rollback main method
  • 482cd80 Decrease error log verbosity
  • 7c49c47 Improve logging

📊 Changes

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

View changed files

📝 client/internal/connect.go (+8 -10)
📝 management/client/grpc.go (+26 -17)
📝 signal/client/grpc.go (+15 -11)

📄 Description

The Management client will try reconnecting in case
of network issues or non-permanent errors.
If the device was offboarded, then the client will stop retrying.

In some cases (e.g. IoT) devices might be offline for a long time with this PR device will keep retrying for 3+ months passively with a backoff.


🔄 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/379 **Author:** [@braginini](https://github.com/braginini) **Created:** 7/2/2022 **Status:** ✅ Merged **Merged:** 7/2/2022 **Merged by:** [@braginini](https://github.com/braginini) **Base:** `main` ← **Head:** `infinite-retry` --- ### 📝 Commits (5) - [`031866c`](https://github.com/netbirdio/netbird/commit/031866c513ee4b9920935becb0538fd2cd3ae381) Introduce longer retries for the agent - [`98ef0fc`](https://github.com/netbirdio/netbird/commit/98ef0fc9e3f373f5737a8df5a130a4a93d51d765) Introduce longer retries for the agent - [`91ad529`](https://github.com/netbirdio/netbird/commit/91ad5294535f56eecf0927a7dc25129806a438c8) Rollback main method - [`482cd80`](https://github.com/netbirdio/netbird/commit/482cd803a12f95dac3c3ed057b7eba602d8905d4) Decrease error log verbosity - [`7c49c47`](https://github.com/netbirdio/netbird/commit/7c49c47ee081353be66576eda36c3a6c58727746) Improve logging ### 📊 Changes **3 files changed** (+49 additions, -38 deletions) <details> <summary>View changed files</summary> 📝 `client/internal/connect.go` (+8 -10) 📝 `management/client/grpc.go` (+26 -17) 📝 `signal/client/grpc.go` (+15 -11) </details> ### 📄 Description The Management client will try reconnecting in case of network issues or non-permanent errors. If the device was offboarded, then the client will stop retrying. In some cases (e.g. IoT) devices might be offline for a long time with this PR device will keep retrying for 3+ months passively with a backoff. --- <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 2026-08-05 02:06:10 -04:00
saavagebueno changed title from [PR #379] [MERGED] Introduce longer retries for the agent to [PR #379] Introduce longer retries for the agent 2026-08-05 02:08:33 -04:00
saavagebueno changed title from [PR #379] Introduce longer retries for the agent to [PR #379] [MERGED] Introduce longer retries for the agent 2026-08-05 03:06:24 -04:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#12551