Geoblock rules don't get created properly by blueprint (Docker Labels) #752

Closed
opened 2026-04-05 17:39:05 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @txwgnd on 10/19/2025

Describe the Bug

Hello All,

I experienced a bug when creating a ressource with Docker Labels.
The match type doesn't get populated properly for type country.
The rule doesn't work either when created like this so it is not just a UI bug!

Macht type country:
Image

In comparison to match type path:
Image

Environment

  • OS Type & Version: TrueNAS 25.04
  • Pangolin Version: 1.11.0
  • Gerbil Version: 1.2.1
  • Traefik Version: v3.5.3
  • Newt Version: 1.5.2
  • Olm Version: (if applicable)

To Reproduce

Create a ressource with a ruleset for match type country inside of Pangolin through Newt's Docker Socket connection with Docker Labels.

e.g.

labels:
  - pangolin.proxy-resources.pocket-id.name=Pocket ID
  - pangolin.proxy-resources.pocket-id.full-domain=${IDP_SUB}.${MAIN_DOMAIN}
  - pangolin.proxy-resources.pocket-id.protocol=http   
  - pangolin.proxy-resources.pocket-id.ssl=true
  - pangolin.proxy-resources.pocket-id.enabled=true
  - pangolin.proxy-resources.pocket-id.targets[0].site=${SITE}
  - pangolin.proxy-resources.pocket-id.targets[0].hostname=pid
  - pangolin.proxy-resources.pocket-id.targets[0].port=${IDP_PORT}
  - pangolin.proxy-resources.pocket-id.targets[0].method=http
  - pangolin.proxy-resources.pocket-id.rules[0].action=allow
  - pangolin.proxy-resources.pocket-id.rules[0].match=country
  - pangolin.proxy-resources.pocket-id.rules[0].value=DE

Expected Behavior

The rule should be created with the match type filled in properly and work as set.

*Originally created by @txwgnd on 10/19/2025* ### Describe the Bug Hello All, I experienced a bug when creating a ressource with Docker Labels. The match type doesn't get populated properly for type `country`. The rule doesn't work either when created like this so it is not just a UI bug! Macht type `country`: <img width="1239" height="332" alt="Image" src="https://github.com/user-attachments/assets/840c341a-694a-4f7e-923d-174b00bf5a2a" /> In comparison to match type `path`: <img width="1240" height="347" alt="Image" src="https://github.com/user-attachments/assets/3960bc99-9e1e-4909-a81f-ec3d5dd298d8" /> ### Environment - OS Type & Version: TrueNAS 25.04 - Pangolin Version: 1.11.0 - Gerbil Version: 1.2.1 - Traefik Version: v3.5.3 - Newt Version: 1.5.2 - Olm Version: (if applicable) ### To Reproduce Create a ressource with a ruleset for match type `country` inside of Pangolin through Newt's Docker Socket connection with Docker Labels. e.g. > labels: > - pangolin.proxy-resources.pocket-id.name=Pocket ID > - pangolin.proxy-resources.pocket-id.full-domain=${IDP_SUB}.${MAIN_DOMAIN} > - pangolin.proxy-resources.pocket-id.protocol=http > - pangolin.proxy-resources.pocket-id.ssl=true > - pangolin.proxy-resources.pocket-id.enabled=true > - pangolin.proxy-resources.pocket-id.targets[0].site=${SITE} > - pangolin.proxy-resources.pocket-id.targets[0].hostname=pid > - pangolin.proxy-resources.pocket-id.targets[0].port=${IDP_PORT} > - pangolin.proxy-resources.pocket-id.targets[0].method=http > - pangolin.proxy-resources.pocket-id.rules[0].action=allow > - pangolin.proxy-resources.pocket-id.rules[0].match=country > - pangolin.proxy-resources.pocket-id.rules[0].value=DE ### Expected Behavior The rule should be created with the match type filled in properly and work as set.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/pangolin#752