I’m on a standard install, self-hosted & current.
I created an account at MaxMind, and added a new license key.
I edited the ENV section of app.yml to:
## The maxmind geolocation IP address key for IP address lookup
## see https://meta.discourse.org/t/-/137387/23 for details
DISCOURSE_MAXMIND_ACCOUNT_ID: [my account ID]
DISCOURSE_MAXMIND_LICENSE_KEY: [my license key]
…then ran ./launcher rebuild app
On rebuild, these “401 Unauthorized” errors were logged:
Hey sorry this topic is languishing. I don’t have alot of experience with this myself. Are you experiencing problems with IP lookups in the review queue? Maybe this is just a warning that you don’t need to worry about?
I don’t have much of a review queue, but without the MaxMind DB I wouldn’t be able to do a location lookup for a user if I needed to research some issue, and…
Curious to know if others have seen an issue connecting to MaxMind for the DB downloads, or if it’s just me. Seems like something that could go unnoticed until you need it.
Hopefully, somehow you don’t have your stuff in the env: section of the app.yml (though your pasted comments suggest that they are in the right place), which would be easy to fix.
Thank you Jay – your troubleshooting steps above all checked out, so while I was in there, I just cleared things out and started over. This time Discourse downloaded the MaxMind dbs, and I can now geo-resolve IP addresses.
All I can guess is an oddball glitch with my MaxMind account, or maybe a copy/paste error with the original license key.
Your efforts ruled out other issues, so I’ll mark that as the solution.