Blank selected source peer in policy creation #2428

Open
opened 2025-11-20 07:09:38 -05:00 by saavagebueno · 0 comments
Owner

Originally created by @gwirn on GitHub (Oct 31, 2025).

Describe the problem

When creating a new policy in the (docker based selfhosted) dashboard between two peers under + Add Policy the selected source field stays blank even though a peer is selected. Upon saving the policy the source peer is visible in the dashboard > Access Control > Policies.

To Reproduce

Steps to reproduce the behavior:

  1. Open the dashboard
  2. Go to Access Control
  3. Go to Policies
  4. Click on + Add Policy
  5. Click on Select source(s)...
  6. Click on Peers and select one
  7. Click on Select destination(s)...
  8. Click on Peers and select on
  9. Continue the policy creation and save it
    Expected behavior

seeing the selected peer in the sources

EDIT
After saving the new policy it shows up and after a while I get the following error message Request failed with status code 422 Error: Specify either sources or source resources, not both - so can I not set policies between peers?

Are you using NetBird Cloud?

No

NetBird version

0.59.11

Screenshots

Image Image

Have you tried these troubleshooting steps?

  • Reviewed client troubleshooting (if applicable)
  • [ x] Checked for newer NetBird versions
  • [ x] Searched for similar issues on GitHub (including closed ones)
  • [ x] Restarted the NetBird client
  • Disabled other VPN software
  • [ x] Checked firewall settings
Originally created by @gwirn on GitHub (Oct 31, 2025). **Describe the problem** When creating a new policy in the (docker based selfhosted) dashboard between two peers under `+ Add Policy` the selected source field stays blank even though a peer is selected. Upon saving the policy the source peer is visible in the dashboard > Access Control > Policies. **To Reproduce** Steps to reproduce the behavior: 1. Open the dashboard 2. Go to `Access Control` 3. Go to `Policies` 4. Click on `+ Add Policy` 5. Click on `Select source(s)...` 6. Click on `Peers` and select one 7. Click on `Select destination(s)...` 8. Click on `Peers` and select on 9. Continue the policy creation and save it **Expected behavior** seeing the selected peer in the sources EDIT After saving the new policy it shows up and after a while I get the following error message `Request failed with status code 422 Error: Specify either sources or source resources, not both` - so can I not set policies between peers? **Are you using NetBird Cloud?** No **NetBird version** `0.59.11` **Screenshots** <img width="904" height="776" alt="Image" src="https://github.com/user-attachments/assets/3bf31da3-185c-4586-98c8-035ae25b1621" /> <img width="1938" height="86" alt="Image" src="https://github.com/user-attachments/assets/84e3caf6-deba-44ac-880d-0e4dc36b573c" /> **Have you tried these troubleshooting steps?** - [ ] 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 - [ ] Disabled other VPN software - [ x] Checked firewall settings
saavagebueno added the bugdashboard labels 2025-11-20 07:09:38 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#2428