[PR #1930] [MERGED] Fix a panic when management is behind an invalid proxy #14470

Open
opened 2026-08-05 03:05:41 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/1930
Author: @mlsmaycon
Created: 5/6/2024
Status: Merged
Merged: 5/6/2024
Merged by: @mlsmaycon

Base: mainHead: fix/panic-when-management-behind-invalid-proxy


📝 Commits (3)

  • c9d1cc7 Fix a panic when management is behind an invalid proxy
  • e804a30 add todo
  • 7ff0c0d handle the error in the grpc method

📊 Changes

2 files changed (+3 additions, -2 deletions)

View changed files

📝 client/internal/login.go (+1 -1)
📝 management/client/grpc.go (+2 -1)

📄 Description

Describe your changes

Try login only if we have a server public key

fixes #1907

Checklist

  • Is it a bug fix
  • Is a typo/documentation fix
  • Is a feature enhancement
  • It is a refactor
  • Created tests that fail without the change (if possible)
  • Extended the README / documentation, if necessary

🔄 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/1930 **Author:** [@mlsmaycon](https://github.com/mlsmaycon) **Created:** 5/6/2024 **Status:** ✅ Merged **Merged:** 5/6/2024 **Merged by:** [@mlsmaycon](https://github.com/mlsmaycon) **Base:** `main` ← **Head:** `fix/panic-when-management-behind-invalid-proxy` --- ### 📝 Commits (3) - [`c9d1cc7`](https://github.com/netbirdio/netbird/commit/c9d1cc7f5a57642af00ed4868b0109bcc379e1f6) Fix a panic when management is behind an invalid proxy - [`e804a30`](https://github.com/netbirdio/netbird/commit/e804a3038b580cff0e1f6b527d66fab2995ac663) add todo - [`7ff0c0d`](https://github.com/netbirdio/netbird/commit/7ff0c0d472f6b0840b3b8908cc749b7e843a7e8b) handle the error in the grpc method ### 📊 Changes **2 files changed** (+3 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `client/internal/login.go` (+1 -1) 📝 `management/client/grpc.go` (+2 -1) </details> ### 📄 Description ## Describe your changes Try login only if we have a server public key ## Issue ticket number and link fixes #1907 ### Checklist - [x] Is it a bug fix - [ ] Is a typo/documentation fix - [ ] Is a feature enhancement - [ ] It is a refactor - [ ] Created tests that fail without the change (if possible) - [ ] Extended the README / documentation, if necessary --- <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 03:05:41 -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#14470