Comments (3)
The errors are caused by an unwarranted execution of the "remote HTTP tests"[*] group, which perform various checks of the ability to load databases directly from MaxMind.
The execution of that particular test group is triggered depending on two conditions:
- the currently checked out commit is tagged (so that we won't run these network-expensive test cases during everyday development)
- the license key is defined through an environment variable (
MAXMIND_LICENSE_KEY
)
Condition 2) is erroneously evaluating as true in your case; this is due to a bad check of whether said environment variable is defined. This issue has likely been present since 1.9.0-beta
(when license key awareness was introduced.)
The fix is easy enough.
[*]: In addition to "local HTTP tests", in which a local web server serves the database files.
from locus.
As for the reason why make ci_test
works: the "remote HTTP tests" group has been explicitly disabled for CI stuff for quite some time, as network access is not very reliable and the tests would often fail because of this.
from locus.
Fixed in 42cdbda and released under 1.2.2
.
from locus.
Related Issues (20)
- Document compatibility with db-ip.com databases HOT 2
- Corrupted DB download when packet loss on network HOT 6
- Provide REBAR2 config for locus HOT 2
- HTTPS redirects may fail HOT 2
- Add tests covering HTTP redirection handling
- rebar3 warning in elixir projects HOT 3
- Update CA bundle (certifi) to latest version HOT 1
- Fix `tls_certificate_check` build errors on OTP 20.1+, when on top of macOS Big Sur HOT 1
- Replace Travis CI with GitHub actions
- Ability to pass a function as a database source HOT 4
- Run CI on Windows HOT 1
- Noisy warning about rebar3_hank HOT 7
- Fix flaky CI HOT 1
- "latest" URL of DB-IP database HOT 3
- Locus with IP2Proxy support HOT 5
- [Feature Request] Supporting IPinfo MMDB databases HOT 6
- IPv4-in-IPv6 root node is wrong HOT 3
- Unable to use latest MaxMind test data
- Changes to GeoLite2 license and distribution require changes to this project HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from locus.