[GH-ISSUE #5421] Cant remove peer because of stale proxy entry which cant be removed. #11176

Open
opened 2026-08-05 01:28:47 -04:00 by saavagebueno · 1 comment
Owner

Originally created by @davidkirch on GitHub (Feb 23, 2026).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/5421

Describe the problem

I am unable to remove some peers. The error message looks like this:
Code 412: Peer d6csba2t1hcc73cm5okg is in use by proxy d6csde2t1hcc73cm5s2g

When I check in the reverse proxy menu under services or in the Network tab under exposed services there are no entries to remove which contain this peer.

To Reproduce

I previously used this peer to expose a service. When I removed the service again netbird froze and I had to shut it down manually before starting it again. This happened a couple of times. In another occurance I tried to change the domain over which a service was exposed only for netbird to freeze again (ui unacessible stuck on loading animation). I had to restart manually again.

Expected behavior

Give me a way in the ui or via the api (completely missing reverse proxy endpoints) to remove stale proxy entries. Alternatively give me a force remove option.

Are you using NetBird Cloud?

Self-Hosted

NetBird version

Management: v0.65.3
Dashboard: v2.32.5

Is any other VPN software installed?

No

Have you tried these troubleshooting steps?

  • Reviewed client troubleshooting (if applicable)
  • Checked for newer NetBird versions
  • Searched for similar issues on GitHub (including closed ones)
  • Restarted the NetBird client
  • Disabled other VPN software
  • Checked firewall settings
Originally created by @davidkirch on GitHub (Feb 23, 2026). Original GitHub issue: https://github.com/netbirdio/netbird/issues/5421 **Describe the problem** I am unable to remove some peers. The error message looks like this: Code 412: Peer d6csba2t1hcc73cm5okg is in use by proxy d6csde2t1hcc73cm5s2g When I check in the reverse proxy menu under services or in the Network tab under exposed services there are no entries to remove which contain this peer. **To Reproduce** I previously used this peer to expose a service. When I removed the service again netbird froze and I had to shut it down manually before starting it again. This happened a couple of times. In another occurance I tried to change the domain over which a service was exposed only for netbird to freeze again (ui unacessible stuck on loading animation). I had to restart manually again. **Expected behavior** Give me a way in the ui or via the api (completely missing reverse proxy endpoints) to remove stale proxy entries. Alternatively give me a force remove option. **Are you using NetBird Cloud?** Self-Hosted **NetBird version** Management: v0.65.3 Dashboard: v2.32.5 **Is any other VPN software installed?** No **Have you tried these troubleshooting steps?** - [x] Reviewed [client troubleshooting](https://docs.netbird.io/how-to/troubleshooting-client) (if applicable) - [x] Checked for newer NetBird versions - [x] Searched for similar issues on GitHub (including closed ones) - [x] Restarted the NetBird client - [x] Disabled other VPN software - [x] Checked firewall settings
saavagebueno added the triage-needed label 2026-08-05 01:28:47 -04:00
Author
Owner

@pascal-fischer commented on GitHub (Feb 23, 2026):

Hi @davidkirch, this is a duplicate of https://github.com/netbirdio/netbird/issues/5398 and should be fixed soon. There is an issue with the cascading delete on sqlite.

<!-- gh-comment-id:3947710281 --> @pascal-fischer commented on GitHub (Feb 23, 2026): Hi @davidkirch, this is a duplicate of https://github.com/netbirdio/netbird/issues/5398 and should be fixed soon. There is an issue with the cascading delete on sqlite.
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#11176