Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-67593

Removal of public access to MaxMind databases is causing unit test failures

    XMLWordPrintable

Details

    • MOODLE_35_STABLE, MOODLE_36_STABLE, MOODLE_37_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE
    • MOODLE_35_STABLE, MOODLE_36_STABLE, MOODLE_37_STABLE, MOODLE_38_STABLE
    • MDL-67593-master
    • Hide

      Cibot will cover this, however, if you wish to confirm the fix you can run the iplookup unit tests:

      vendor/bin/phpunit iplookup/tests/geoip_test.php
      

      Show
      Cibot will cover this, however, if you wish to confirm the fix you can run the iplookup unit tests: vendor/bin/phpunit iplookup/tests/geoip_test.php

    Description

      We try to fetch the following db for use in the iplookup/tests/geoip_test.php unit test:
      http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.mmdb.gz

      But this is now no longer available as of Dec 30, 2019:
      https://blog.maxmind.com/2019/12/18/significant-changes-to-accessing-and-using-geolite2-databases/

       

      We'll need to find a way to work around this.

      Attachments

        Activity

          People

            jaked Jake Dallimore
            jaked Jake Dallimore
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            CiBoT CiBoT
            David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              13/Jan/20

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 55 minutes
                1h 55m