[debug]: MaxMind ASN DB path not configured, cannot perform ASN lookup #326

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

Originally created by @Kornelius777 on 1/25/2026

Describe the Bug

Dear all,

my ./config/config.yml includes the following lines:

server:
  maxmind_db_path: "./config/geo-db/GeoLite2-Country.mmdb"

The file is available and readable:

root@ionos-1:/docker# ls -l ./config/geo-db/GeoLite2-Country.mmdb
-rw-r--r-- 1 root root 9641734 Jan 23 11:34 ./config/geo-db/GeoLite2-Country.mmdb

Now - whenever somebody connects - I get the following line in the logs:

MaxMind ASN DB path not configured, cannot perform ASN lookup

This puzzles me.

Example:

pangolin  | 2026-01-25T12:17:17+00:00 [debug]: Client IP: {"clientIp":"165.245.191.161"}
pangolin  | 2026-01-25T12:17:17+00:00 [debug]: MaxMind ASN DB path not configured, cannot perform ASN lookup
pangolin  | 2026-01-25T12:17:17+00:00 [debug]: Resource denied by rule
pangolin  | 2026-01-25T12:17:17+00:00 [debug]: {"data":{"valid":false,"pangolinVersion":"1.15.1"},"success":true,"error":false,"message":"Access denied","status":200}
pangolin  | 2026-01-25T12:17:18+00:00 [debug]: Verify session: Badger sent {"sessions":{},"originalRequestURL":"https://subdomain.domain.local/cms/wp-includes/wlwmanifest.xml","scheme":"","host":"subdomain.domain.local","path":"/cms/wp-includes/wlwmanifest.xml","method":"GET","tls":true,"requestIp":"165.245.191.161","headers":{"Accept":"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8","Accept-Language":"en-US,en;q=0.5","User-Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36","X-Forwarded-Host":"subdomain.domain.local","X-Forwarded-Port":"443","X-Forwarded-Proto":"https","X-Forwarded-Server":"d041b0a5f547","X-Real-Ip":"165.245.191.161"},"badgerVersion":"1.3.1"}

Is this a bug or a feature?

Environment

  • OS Type & Version: (e.g., Ubuntu 22.04)
root@ionos-1:/docker# cat /etc/issue
Debian GNU/Linux 13 \n \l
  • Pangolin Version:
    1.15.1

  • Gerbil Version:
    latest

  • Traefik Version:
    latest

  • Newt Version:
    1.9.0

  • Olm Version: (if applicable)

To Reproduce

see above

Expected Behavior

do not throw an error.
use the GeoIP Database as expected

*Originally created by @Kornelius777 on 1/25/2026* ### Describe the Bug Dear all, my ./config/config.yml includes the following lines: ``` server: maxmind_db_path: "./config/geo-db/GeoLite2-Country.mmdb" ``` The file is available and readable: ``` root@ionos-1:/docker# ls -l ./config/geo-db/GeoLite2-Country.mmdb -rw-r--r-- 1 root root 9641734 Jan 23 11:34 ./config/geo-db/GeoLite2-Country.mmdb ``` Now - whenever somebody connects - I get the following line in the logs: ``` MaxMind ASN DB path not configured, cannot perform ASN lookup ``` This puzzles me. Example: ``` pangolin | 2026-01-25T12:17:17+00:00 [debug]: Client IP: {"clientIp":"165.245.191.161"} pangolin | 2026-01-25T12:17:17+00:00 [debug]: MaxMind ASN DB path not configured, cannot perform ASN lookup pangolin | 2026-01-25T12:17:17+00:00 [debug]: Resource denied by rule pangolin | 2026-01-25T12:17:17+00:00 [debug]: {"data":{"valid":false,"pangolinVersion":"1.15.1"},"success":true,"error":false,"message":"Access denied","status":200} pangolin | 2026-01-25T12:17:18+00:00 [debug]: Verify session: Badger sent {"sessions":{},"originalRequestURL":"https://subdomain.domain.local/cms/wp-includes/wlwmanifest.xml","scheme":"","host":"subdomain.domain.local","path":"/cms/wp-includes/wlwmanifest.xml","method":"GET","tls":true,"requestIp":"165.245.191.161","headers":{"Accept":"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8","Accept-Language":"en-US,en;q=0.5","User-Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36","X-Forwarded-Host":"subdomain.domain.local","X-Forwarded-Port":"443","X-Forwarded-Proto":"https","X-Forwarded-Server":"d041b0a5f547","X-Real-Ip":"165.245.191.161"},"badgerVersion":"1.3.1"} ``` Is this a bug or a feature? ### Environment - OS Type & Version: (e.g., Ubuntu 22.04) ``` root@ionos-1:/docker# cat /etc/issue Debian GNU/Linux 13 \n \l ``` - Pangolin Version: 1.15.1 - Gerbil Version: latest - Traefik Version: latest - Newt Version: 1.9.0 - Olm Version: (if applicable) ### To Reproduce see above ### Expected Behavior do not throw an error. use the GeoIP Database as expected
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/pangolin#326