Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in Caddy Log, breaks reverse proxy. #16

Open
Obsidiannite21 opened this issue Jul 13, 2023 · 0 comments
Open

Error in Caddy Log, breaks reverse proxy. #16

Obsidiannite21 opened this issue Jul 13, 2023 · 0 comments

Comments

@Obsidiannite21
Copy link

Hello. I'm getting the following error in my Caddy Log:

WRN ts=1689260875.3299775 logger=http.matchers.maxmind_geolocation msg=cannot lookup IP address address=192.168.0.1:43852 error=invalid node in search tree

Caddy works for a random period of days then this error will flood my log. It will persist & repeat until I reboot Caddy and I can't access the items behind the reverse proxy unless I am on the local network. I pull the database once a day using cron / script, but other than that it's a pretty standard config. Any suggestions?

(GEOFILTER) {
@geofilter {
not maxmind_geolocation {
db_path "/data/GeoLite2-Country.mmdb"
allow_countries US
}
not remote_ip 192.168.0.0/24
not remote_ip 172.20.0.1
}
respond @geofilter 403
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant