When running drush make, patches with URLs such as https://drupal.org/files/issues/views-asset-diff-2018737-21.patch produce "Error to download" failures. It would be better to use http rather than https.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Sheldon Rampton’s picture

Here's a patch.

Sheldon Rampton’s picture

Status: Active » Needs review
klausi’s picture

Status: Needs review » Postponed (maintainer needs more info)

But the HTTP URLs will be redirected to HTTPS anyway, so drush make has to download via HTTPS? Please debug your drush make installation and what client it uses (is PHP cURL installed?).

Sheldon Rampton’s picture

@klausi: Well, my experience is that the https URLs fail, but the http URLs work. I've done some further investigating and think the issue stems from this issue reported for Drush:

https://github.com/drush-ops/drush/issues/74

It says that Drush make has problems with the HTTPS certificate of drupal.org when using older versions of wget than 1.12. I upgraded wget on my computer to a newer version, and the "Unable to download" errors went away. However, I think ti might still be better to switch from http to https. Some other developers on my team have also encountered the problem I encountered, and switching from https to http fixes it for them (as, I image, would upgrading their wget version).