Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP_TAG=7.4-dev-4.23.0 issue with DNS #81

Open
davo20019 opened this issue Mar 2, 2021 · 0 comments
Open

PHP_TAG=7.4-dev-4.23.0 issue with DNS #81

davo20019 opened this issue Mar 2, 2021 · 0 comments

Comments

@davo20019
Copy link

I just tried to set up a local site using docker4drupal and I got errors when trying to install Drupal contrib modules using composer.

Steps to replicate:

  1. Run the composer command: composer require 'drupal/externalauth:^1.3'
  2. The error that I got was:
[Composer\Downloader\TransportException]                                                        
  The "https://packages.drupal.org/8/drupal/provider-2021-1%24a866ea7e150797c1a5afb99f41e4ec5e60  
  7e3f85c533951d71db14199b5b149c.json" file could not be downloaded: php_network_getaddresses: g  
  etaddrinfo failed: Name does not resolve                                                        
  failed to open stream: php_network_getaddresses: getaddrinfo failed: Name does not resolve

When I ran the composer diagnose command I got this as part of the output:

Checking github.com rate limit: FAIL
[Composer\Downloader\TransportException] The "https://api.github.com/rate_limit" file could not be downloaded: php_network_getaddresses: getaddrinfo failed: Name does not resolve
failed to open stream: php_network_getaddresses: getaddrinfo failed: Name does not resolve

In the .env file, I switched the PHP version to PHP_TAG=7.4-dev-4.21.4 and I am able to run composer commands again.

I am not sure if this is the right place to report this.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant