[chef] Re: Problem with remote_file downloading?


Chronological Thread 
  • From: " " < >
  • To:
  • Subject: [chef] Re: Problem with remote_file downloading?
  • Date: Tue, 7 Sep 2010 18:32:18 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=CYLIsfnzxbkJLHpTgFccN8+58mTv2uXtdv9+xCnDmwcfltRfbSb+JheeqbOnX6X0m1 ndO49cplMgAyT0ohJXVq1ia5i90ElfG9nq2H5vdfXKmUbWHhX0fQIlKpcIKDTkQBu0CB axvJ/f1yFvS6fHGq5+X24eCGBdinNp3LXl23A=

could it be that the remote host is terminating the connection due to a timeout?  My guess here would be that the web server hosting up the content/file has a default timeout set and that's causing your issue? is that a possibility here?

--sahil


On Tue, Sep 7, 2010 at 6:24 PM, Ash Berlin < "> > wrote:
See this gist: https://gist.github.com/d60768a9a4a9044bb7f8

Snippet here:

[Wed, 08 Sep 2010 02:22:30 +0100] DEBUG: /releases/rvm-1.0.5.tar.gz 96% done (653048 of 678469)
[Wed, 08 Sep 2010 02:22:30 +0100] DEBUG: /releases/rvm-1.0.5.tar.gz 97% done (663184 of 678469)
[Wed, 08 Sep 2010 02:22:30 +0100] DEBUG: /releases/rvm-1.0.5.tar.gz 99% done (673320 of 678469)
[Wed, 08 Sep 2010 02:22:30 +0100] DEBUG: /releases/rvm-1.0.5.tar.gz 100% done (678469 of 678469)
[Wed, 08 Sep 2010 02:22:30 +0100] DEBUG: remote_file[/opt/rvm/src/rvm-1.0.5.tar.gz]: Checking for file existence of /opt/rvm/src/rvm-1.0.5.tar.gz
[Wed, 08 Sep 2010 02:22:30 +0100] INFO: remote_file[/opt/rvm/src/rvm-1.0.5.tar.gz]: Creating /opt/rvm/src/rvm-1.0.5.tar.gz
[Wed, 08 Sep 2010 02:22:30 +0100] DEBUG: copying remote file from origin /tmp/chef-rest20100908-31334-17ozxck-0 to destination /opt/rvm/src/rvm-1.0.5.tar.gz
[Wed, 08 Sep 2010 02:22:30 +0100] DEBUG: rescued error in http connect, re-raising as Errno::ECONNREFUSED to hide bug in net/http
[Wed, 08 Sep 2010 02:22:30 +0100] DEBUG: NoMethodError: undefined method `closed?' for nil:NilClass
[Wed, 08 Sep 2010 02:22:30 +0100] DEBUG: /usr/lib/ruby/1.8/net/http.rb:1060:in `request'

In summary, it gives me progress report, then tells me it fails and tries again.

Any ideas?

-ash




Archive powered by MHonArc 2.6.16.

§