Closed (fixed)
Project:
Quickstart: Prebuilt Drupal Development Environment
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
20 Jun 2011 at 14:58 UTC
Updated:
17 Apr 2012 at 15:24 UTC
Comments
Comment #1
michelleGot help on IRC. For anyone else having this trouble, use wget --no-proxy
Michelle
Comment #2
MichaelCole commentedHi, for several reasons, drush make should do it's own caching, but it doesn't. Squid is an alternative.
You should be able to remove it by editing /etc/environment and removing the http_proxy line at the bottom. 3128 is the port of the proxy server.
Below is the bash that sets it up.
# ################################################################################ Squid caching of ftp.drupal.org
cd ~
sudo apt-get update
# Install caching proxy server
sudo apt-get -y install squid3
echo "http_proxy=\"http://localhost:3128\"" | sudo tee -a /etc/environment > /dev/null
echo "
# fix for git 417 errors
ignore_expect_100 on
# Quickstart
acl drushservers dstdomain ftp.drupal.org
cache allow drushservers
cache deny all
# don't wait to finish requests before shutting down. Do it now!
shutdown_lifetime 0 seconds
" | sudo tee -a /etc/squid3/squid.conf
echo "*** REBOOT TO TAKE EFFECT ***"
Comment #3
michelleThanks, but what I posted in #1 did the trick for me. I think the problem was that I was using wget but not with ftp.drupal.org and it didn't know what to do. Being able to bypass it let me get the file I needed off my server.
Michelle
Comment #4
MichaelCole commentedHmmmm.... Do you mind sharing the command? It would be a bug if wget didn't work.
I was able to get this to work on my version:
wget http://joomlacode.org/gf/download/frsrelease/14659/64120/Joomla_1.6.3-St...
Cheers,
Mike
Comment #5
michellewget http://shellmultimedia.com/DIR/FILE.zip
I'd rather not get more specific than that as it's a bit of security thru obscurity. ;) Nothing critical stored there but would rather not have the public poking at it.
Michelle
Comment #6
MichaelCole commentedThis is what I got Michelle. Looks like it's working on version 1.0...
quickstart@qs10:~$ wget http://shellmultimedia.com/DIR/FILE.zip
--2011-06-20 11:15:16-- http://shellmultimedia.com/DIR/FILE.zip
Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:3128... connected.
Proxy request sent, awaiting response... 404 Not Found
2011-06-20 11:15:17 ERROR 404: Not Found.
Comment #7
michelleFor me it just sat there at awaiting response for about 5 minutes before I gave up and hit ctrl-c. I tried again, same result. That's when I started trying to figure out how to turn off the proxy. When I added the bypass command, it connected and got it with no problems.
Michelle
Comment #8
wizonesolutionsI just got the same thing for http://dl-web.dropbox.com/u/17/dropbox-lnx.x86-1.1.35.tar.gz. Is this by design?
Comment #9
wizonesolutionsThis is breaking drush dl at the moment for me as well. Hrm. I'm just gonna turn it off. Is there documentation somewhere about why it's in there and what I lose by disabling it?
Comment #10
MichaelCole commentedSee comment #2 to turn it off.
Drush is baking it's own caching system, so this will be deprecated in future versions.
Comment #12
derekwebb1 commented#2 just helped me get drush and wget working again after a botched squid install! Thanks a ton!
Comment #13
seismicmike commentedquickstart@qs10:~$ export http_proxy=Fixes both wget and drush.
Comment #14
patcon commentedJust a heads up for anyone who comes across this in the googles :)
http://drupal.org/node/1473006#comment-5881814