Open ohshitgorillas opened 5 months ago
Workaround: use max-mind-db
and Geo(Lite)2 City
database.
I see, you are using ip-api
I tried switching the argument -geoip_supplier=max-mind-db
but now the metrics page is blank... edit: metrics page is back
Does this require the -max_mind_db
argument to be set? Can you please provide an example of using the -max_mind_db
argument, or how to use the Geo(Lite)2 City database?
-max_mind_db
to the path of the database.https://github.com/shizunge/endlessh-go/tree/main/examples/docker-maxmind
That works, thank you!
A friend of mine suggested that the error using ip-api
might be that I was sending too many queries and now my IP is blacklisted, so I'm getting an HTML error response instead of the usual response, hence why the response unexpectedly contains '<'. Perhaps I can set up a temporary container to test this, if I know what the command being passed should be?
A friend of mine suggested that the error using
ip-api
might be that I was sending too many queries and now my IP is blacklisted, so I'm getting an HTML error response instead of the usual response, hence why the response unexpectedly contains '<'. Perhaps I can set up a temporary container to test this, if I know what the command being passed should be?
I am not I understand your request. You previous setup seems being able to trigger the issue.
The code to handle ip-api response is at geohashAndLocationFromIpapi
Hello,
First I want to say this is a very cool and interesting app, I love the statistics output feature. Recently, however, my deployment started giving me the following errors:
This came seemingly out of nowhere as the pod was working just fine when I went to bed last night, but I woke up to these errors. There isn't an error before the pod switches from successfully geohashing to these errors.
Below is my deployment.yaml file for K8s: