Unable to set site remote subnets #740

Closed
opened 2025-11-13 12:09:49 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @aarononeal on GitHub (Oct 21, 2025).

Describe the Bug

When editing a Site, no matter what you enter into the CIDR box, the API call POSTs an empty remoteSubnets property.

{
  "name": "DMZ",
  "dockerSocketEnabled": true,
  "remoteSubnets": ""
}

Which of course just returns success and then reloading the page shows the CIDR did not persist.

This makes it impossible to establish routing between sites.

Environment

  • OS Type & Version: Ubuntu 24.04 LTS
  • Pangolin Version: 1.11.1
  • Gerbil Version: 1.2.2
  • Traefik Version: 3.5.3
  • Newt Version: 1.5.2
  • Olm Version: N/A

To Reproduce

  1. Create a new Site
  2. Edit the Site
  3. Enter CIDR into Remote Subnets
  4. Save All Settings
  5. Monitor POST using browser tools and note remoteSubnets = "" or reload page and note CIDR is empty

Expected Behavior

The CIDR should be persisted and routes added to Gerbil.

Originally created by @aarononeal on GitHub (Oct 21, 2025). ### Describe the Bug When editing a Site, no matter what you enter into the CIDR box, the API call POSTs an empty `remoteSubnets` property. ```json { "name": "DMZ", "dockerSocketEnabled": true, "remoteSubnets": "" } ``` Which of course just returns success and then reloading the page shows the CIDR did not persist. This makes it impossible to establish routing between sites. ### Environment - OS Type & Version: Ubuntu 24.04 LTS - Pangolin Version: 1.11.1 - Gerbil Version: 1.2.2 - Traefik Version: 3.5.3 - Newt Version: 1.5.2 - Olm Version: N/A ### To Reproduce 1. Create a new Site 2. Edit the Site 3. Enter CIDR into Remote Subnets 4. Save All Settings 5. Monitor POST using browser tools and note `remoteSubnets` = `""` or reload page and note CIDR is empty ### Expected Behavior The CIDR should be persisted and routes added to Gerbil.
Author
Owner

@aarononeal commented on GitHub (Oct 21, 2025):

Resolved: You can't just click Save. You have to hit enter in the CIDR field before Save.

Might be helpful to add a note indicating that field doesn't work the same as the others (e.g. press enter to parse the CIDR).

@aarononeal commented on GitHub (Oct 21, 2025): Resolved: You can't just click Save. You have to hit enter in the CIDR field before Save. Might be helpful to add a note indicating that field doesn't work the same as the others (e.g. press enter to parse the CIDR).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/pangolin#740