Hello all,

I am new to Drupal and so far had no installation issues but now , When trying to install Views module , I get :

HTTP error -1 occurred when trying to fetch http://ftp.drupal.org/files/projects/views-7.x-3.8.tar.gz.
Unable to retrieve Drupal project from http://ftp.drupal.org/files/projects/views-7.x-3.8.tar.gz.

I am running Drupal 7.28 , What can I do to fix this problem ? Any help will be appreciated!

Thanks,
Omar

Comments

dawehner’s picture

Status: Active » Fixed

Manual download certainly works, maybe check your server configuration or don't use the UI to update modules.

omardrupal1985’s picture

Thank you for the help! I downloaded it manually and that did the trick!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

pkosenko’s picture

That doesn't fix the core problem. I noticed the same behavior effected a local installation after Drupal changed the download procedure and repository and am just getting around to trying to figure it out. Installation from local .zip and .tar files works, and installation with Drush works. Only the "Install from URL" option in the backend UI fails. It would be useful if a CORE Drupal person would answer this question. It is not the permissions on my temp direcdtory either. It is something about how Drupal.org reconfigured its repository.

HTTP error 0 occurred when trying to fetch https://ftp.drupal.org/files/projects/variable-7.x-2.5.tar.gz.
Unable to retrieve Drupal project from https://ftp.drupal.org/files/projects/variable-7.x-2.5.tar.gz.

damienmckenna’s picture

@pkosenko: When this happens it's a problem with the package builder, you should open an issue with the Infrastructure project to let them know there's a corrupt build somewhere.

Jean Gionet’s picture

I'm having the same issue with Drupal 7.54 on a Windows 2012 R2 server running IIS 8.5.
I can install manually, however when I try to do an install via http I get:

HTTP error 500 occurred when trying to fetch https://ftp.drupal.org/files/projects/ctools-7.x-1.12.zip.
Unable to retrieve Drupal project from https://ftp.drupal.org/files/projects/ctools-7.x-1.12.zip.

My server is behind a corporate firewall which requires me to use a reverse proxy to enable Drupal to communicate with the internet. I was able to add my proxy settings in my settings.php file. I'm wondering if this could be my issue? I can't see anything relevant in the system logs.

On the server itself if I use Internet Explorer with the same proxy server I'm able to download files from https://ftp.drupal.org/files....

Oriji Sandra Onyinyechi’s picture

I am new to Drupal. I am having same issue too. To be able to install module(s) i used the option provided by @dawehner that is to download the module then upload and install and it worked (manual download). But would have loved if installing using the link worked, i also would love to know how i can directly use link to installed modules

damienmckenna’s picture

Issue tags: -views, -install error, -unable to retrieve project

Please see the documentation for instructions on installing modules: https://www.drupal.org/docs/7/extend/installing-modules

I'm turning off further comments.