[GH-ISSUE #2163] blueprint label rule match: country ALL gives error in log #6877

Closed
opened 2026-04-25 15:52:39 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @arnoutvw on GitHub (Dec 24, 2025).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/2163

Originally assigned to: @oschwartz10612 on GitHub.

Describe the Bug

I have the following blueprint rule defined in my compose file:
pangolin.proxy-resources.radarr.rules[3].match: country pangolin.proxy-resources.radarr.rules[3].action: deny pangolin.proxy-resources.radarr.rules[3].value: ALL

With pangolin 1.14 i get the following error in the log:

Failed to update database from config: Error: Validation error: Value must be a 2-letter country code when match is 'country' at "proxy-resources.radarr.rules[3].value";

Environment

  • OS Type & Version: Ubuntu 24.04
  • Pangolin Version: 1.14.0
  • Gerbil Version: 1.3.0
  • Traefik Version: 3.6.5
  • Newt Version: 1.7.0

To Reproduce

Create a blueprint like:
proxy-resources: radarr: auth: sso-enabled: true full-domain: #### name: radarr protocol: http rules: - action: pass match: country value: NL - action: pass match: country value: DE - action: deny match: country value: ALL ssl: true client-resources: {}

And deploy it.

Expected Behavior

expect no error in the log and it configures the rules on the resource

Originally created by @arnoutvw on GitHub (Dec 24, 2025). Original GitHub issue: https://github.com/fosrl/pangolin/issues/2163 Originally assigned to: @oschwartz10612 on GitHub. ### Describe the Bug I have the following blueprint rule defined in my compose file: ` pangolin.proxy-resources.radarr.rules[3].match: country pangolin.proxy-resources.radarr.rules[3].action: deny pangolin.proxy-resources.radarr.rules[3].value: ALL` With pangolin 1.14 i get the following error in the log: Failed to update database from config: Error: Validation error: Value must be a 2-letter country code when match is 'country' at "proxy-resources.radarr.rules[3].value"; ### Environment - OS Type & Version: Ubuntu 24.04 - Pangolin Version: 1.14.0 - Gerbil Version: 1.3.0 - Traefik Version: 3.6.5 - Newt Version: 1.7.0 ### To Reproduce Create a blueprint like: `proxy-resources: radarr: auth: sso-enabled: true full-domain: #### name: radarr protocol: http rules: - action: pass match: country value: NL - action: pass match: country value: DE - action: deny match: country value: ALL ssl: true client-resources: {}` And deploy it. ### Expected Behavior expect no error in the log and it configures the rules on the resource
GiteaMirror added the bug label 2026-04-25 15:52:39 -05:00
Author
Owner

@oschwartz10612 commented on GitHub (Dec 24, 2025):

Will be fixed in the next patch release by 40eeb9b

<!-- gh-comment-id:3690142132 --> @oschwartz10612 commented on GitHub (Dec 24, 2025): Will be fixed in the next patch release by 40eeb9b
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/pangolin#6877