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

Out of the blue I can not install modules at my server. curl error 6 while downloading https://packages.drupal.org/8/packages.json: Could not resolve host #527

Open
ghost opened this issue Aug 23, 2022 · 0 comments

Comments

@ghost
Copy link

ghost commented Aug 23, 2022

wodby@php.container:/var/www/html $ composer require "drupal/twig_tweak:^3.1"
./composer.json has been updated
Running composer update drupal/twig_tweak
Gathering patches for root package.
Loading composer repositories with package information

Installation failed, reverting ./composer.json and ./composer.lock to their original content.
The following exception probably indicates you are offline or have misconfigured DNS resolver(s)

In CurlDownloader.php line 377:

  curl error 6 while downloading https://packages.drupal.org/8/packages.json: Could not resolve host


require [--dev] [--dry-run] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--f [--no-update] [--no-install] [--update-no-dev] [-w|--update-with-dependencies] [-W|--update-with-al] [--with-all-dependencies] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-EFIX] [--] [<packages>...]

Composer works just fine at my local machine. Can somebody tell me what the problem is it?

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

0 participants