Skip to content
This repository was archived by the owner on Nov 24, 2025. It is now read-only.
This repository was archived by the owner on Nov 24, 2025. It is now read-only.

Service 'trafficops-perl' failed to build: [...] dial tcp: lookup geolite.maxmind.com: No address associated with hostname #4246

Description

@zrhoffman

I'm submitting a ...

  • bug report
  • new feature / enhancement request
  • improvement request (usability, performance, tech debt, etc.)
  • other

Traffic Control components affected ...

  • CDN in a Box
  • Documentation
  • Grove
  • Traffic Control Client
  • Traffic Monitor
  • Traffic Ops
  • Traffic Ops ORT
  • Traffic Portal
  • Traffic Router
  • Traffic Stats
  • Traffic Vault
  • unknown

Current behavior:

The trafficops-perl Docker image for CDN-in-a-Box fails to build because the geolite.maxmind.com subdomain no longer resolves.

Expected / new behavior:

trafficops-perl should build successfully.

Minimal reproduction of the problem with instructions:

docker rmi cdn-in-a-box_perl;
docker-compose build trafficops-perl;

Failed build log follows:

Building trafficops-perl
Step 1/16 : FROM centos:7
 ---> 5e35e350aded
Step 2/16 : LABEL   name="Traffic Ops Perl"         maintainer="dev@trafficcontrol.apache.org"
 ---> Using cache
 ---> cfa2c7d6e139
Step 3/16 : EXPOSE 443
 ---> Using cache
 ---> f20b3afea2b4
Step 4/16 : ENV MOJO_MODE production
 ---> Using cache
 ---> 07c71701c21e
Step 5/16 : RUN rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 &&     rpm --import https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7 &&     rpm --import https://download.postgresql.org/pub/repos/yum/RPM-GPG-KEY-PGDG &&     yum -y update ca-certificates &&     yum-config-manager --add-repo https://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-7-x86_64 &&     yum install -y         epel-release         pgdg-redhat-latest &&     yum install -y         bind-utils         cpanminus         expat-devel         gcc-c++         gettext         git         iproute         jq         libcurl         libcurl-devel         libidn-devel         libpcap-devel         mkisofs         net-tools         nmap-ncat         openssl         openssl-devel         perl         perl-core         perl-Crypt-ScryptKDF         perl-DBD-Pg         perl-DBI         perl-DBIx-Connector         perl-Digest-SHA1         perl-JSON         perl-JSON-PP         perl-libwww-perl         perl-TermReadKey         perl-Test-CPAN-Meta         perl-WWW-Curl         postgresql96         postgresql96-devel         postgresql96-libs         tar &&    yum -y clean all
 ---> Using cache
 ---> 9c6488d6690d
Step 6/16 : ADD https://geolite.maxmind.com/download/geoip/database/GeoLite2-City.tar.gz /
ERROR: Service 'trafficops-perl' failed to build: ADD failed: Get https://geolite.maxmind.com/download/geoip/database/GeoLite2-City.tar.gz: dial tcp: lookup geolite.maxmind.com: No address associated with hostname

Anything else:

MaxMind no longer publicly hosts their downloads, instead requiring you to register (for free). See: https://blog.maxmind.com/2019/12/18/significant-changes-to-accessing-and-using-geolite2-databases/

This also affects the Traffic Ops post-install script.

Docs will need to be updated to remove references to geolite.maxmind.com.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugsomething isn't working as intendedcdn-in-a-boxrelated to the Docker-based CDN-in-a-Box systemhigh impactimpacts the basic function, deployment, or operation of a CDN

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions