VeeWee attempts to download VBoxGuestAdditions_4.1.18.iso but fails #519

Closed
mulderp opened this Issue Jan 30, 2013 · 2 comments

Comments

Projects
None yet
2 participants
@mulderp

mulderp commented Jan 30, 2013

Not sure what's going on here, I run:

$ vagrant basebox build Ubuntu-11.04

[Ubuntu-11.04] Downloading vbox guest additions iso v 4.1.18 - http://download.virtualbox.org/virtualbox/4.1.18/VBoxGuestAdditions_4.1.18.iso
[Ubuntu-11.04] Checking if isofile VBoxGuestAdditions_4.1.18.iso already exists.
[Ubuntu-11.04] Full path: /Users/mulder/projects/chef/veewee/iso/VBoxGuestAdditions_4.1.18.iso
/Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/net/protocol.rb:146:in rescue in rbuf_fill': Timeout::Error (Timeout::Error)/s ETA: 0:00:16 from /Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/net/protocol.rb:140:inrbuf_fill'
from /Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/net/protocol.rb:92:in read' from /Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/net/http.rb:2755:inread_body_0'
from /Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/net/http.rb:2710:in read_body' from /Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/open-uri.rb:321:inblock (2 levels) in open_http'
from /Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/net/http.rb:1322:in block (2 levels) in transport_request' from /Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/net/http.rb:2671:inreading_body'
from /Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/net/http.rb:1321:in block in transport_request' from /Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/net/http.rb:1316:incatch'
from /Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/net/http.rb:1316:in transport_request' from /Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/net/http.rb:1293:inrequest'
from /Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/open-uri.rb:312:in block in open_http' from /Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/net/http.rb:745:instart'
from /Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/open-uri.rb:306:in open_http' from /Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/open-uri.rb:775:inbuffer_open'
from /Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/open-uri.rb:203:in block in open_loop' from /Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/open-uri.rb:201:incatch'
from /Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/open-uri.rb:201:in open_loop' from /Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/open-uri.rb:146:inopen_uri'
from /Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/open-uri.rb:677:in open' from /Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/veewee-0.3.7/lib/veewee/provider/core/helper/iso.rb:30:indownload_progress'
from /Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/veewee-0.3.7/lib/veewee/provider/core/helper/iso.rb:24:in download_iso' from /Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/veewee-0.3.7/lib/veewee/provider/virtualbox/box/helper/guest_additions.rb:11:indownload_vbox_guest_additions_iso'
from /Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/veewee-0.3.7/lib/veewee/provider/virtualbox/box/build.rb:8:in build' from /Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/veewee-0.3.7/lib/veewee/command/vagrant/build.rb:57:inexecute'
from /Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/veewee-0.3.7/lib/veewee/command/vagrant/basebox.rb:60:in execute' from /Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/vagrant-1.0.3/lib/vagrant/cli.rb:42:inexecute'
from /Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/vagrant-1.0.3/lib/vagrant/environment.rb:167:in cli' from /Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/vagrant-1.0.3/bin/vagrant:43:in<top (required)>'
from /Users/mulder/.rbenv/versions/1.9.3-p194/bin/vagrant:23:in load' from /Users/mulder/.rbenv/versions/1.9.3-p194/bin/vagrant:23:in

'

@jedi4ever

This comment has been minimized.

Show comment
Hide comment
@jedi4ever

jedi4ever Jan 30, 2013

Owner

so can you reach the url from your shell? is it proxied?

wget
http://download.virtualbox.org/virtualbox/4.1.18/VBoxGuestAdditions_4.1.18.iso
?

Seems like it's timing out - (agree that error should be caught)

On 30/01/13 16:21, Patrick Mulder wrote:

Not sure what's going on here, I run:

$ vagrant basebox build Ubuntu-11.04

[Ubuntu-11.04] Downloading vbox guest additions iso v 4.1.18 -
http://download.virtualbox.org/virtualbox/4.1.18/VBoxGuestAdditions_4.1.18.iso
[Ubuntu-11.04] Checking if isofile VBoxGuestAdditions_4.1.18.iso
already exists.
[Ubuntu-11.04] Full path:
/Users/mulder/projects/chef/veewee/iso/VBoxGuestAdditions_4.1.18.iso
/Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/net/protocol.rb:146:in
|rescue in rbuf_fill': Timeout::Error (Timeout::Error)/s ETA: 0:00:16
from
/Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/net/protocol.rb:140:in|rbuf_fill'
from
/Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/net/protocol.rb:92:in
|read'
from
/Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/net/http.rb:2755:in|read_body_0'
from
/Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/net/http.rb:2710:in
|read_body'
from
/Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/open-uri.rb:321:in|block
(2 levels) in open_http'
from
/Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/net/http.rb:1322:in
|block (2 levels) in transport_request'
from
/Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/net/http.rb:2671:in|reading_body'
from
/Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/net/http.rb:1321:in
|block in transport_request'
from
/Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/net/http.rb:1316:in|catch'
from
/Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/net/http.rb:1316:in
|transport_request'
from
/Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/net/http.rb:1293:in|request'
from
/Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/open-uri.rb:312:in
|block in open_http'
from
/Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/net/http.rb:745:in|start'
from
/Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/open-uri.rb:306:in
|open_http'
from
/Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/open-uri.rb:775:in|buffer_open'
from
/Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/open-uri.rb:203:in
|block in open_loop'
from
/Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/open-uri.rb:201:in|catch'
from
/Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/open-uri.rb:201:in
|open_loop'
from
/Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/open-uri.rb:146:in|open_uri'
from
/Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/open-uri.rb:677:in
|open'
from
/Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/veewee-0.3.7/lib/veewee/provider/core/helper/iso.rb:30:in|download_progress'
from
/Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/veewee-0.3.7/lib/veewee/provider/core/helper/iso.rb:24:in
|download_iso'
from
/Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/veewee-0.3.7/lib/veewee/provider/virtualbox/box/helper/guest_additions.rb:11:in|download_vbox_guest_additions_iso'
from
/Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/veewee-0.3.7/lib/veewee/provider/virtualbox/box/build.rb:8:in
|build'
from
/Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/veewee-0.3.7/lib/veewee/command/vagrant/build.rb:57:in|execute'
from
/Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/veewee-0.3.7/lib/veewee/command/vagrant/basebox.rb:60:in
|execute'
from
/Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/vagrant-1.0.3/lib/vagrant/cli.rb:42:in|execute'
from
/Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/vagrant-1.0.3/lib/vagrant/environment.rb:167:in
|cli'
from
/Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/vagrant-1.0.3/bin/vagrant:43:in|'
from /Users/mulder/.rbenv/versions/1.9.3-p194/bin/vagrant:23:in |load'
from /Users/mulder/.rbenv/versions/1.9.3-p194/bin/vagrant:23:in|'


Reply to this email directly or view it on GitHub
#519.

Owner

jedi4ever commented Jan 30, 2013

so can you reach the url from your shell? is it proxied?

wget
http://download.virtualbox.org/virtualbox/4.1.18/VBoxGuestAdditions_4.1.18.iso
?

Seems like it's timing out - (agree that error should be caught)

On 30/01/13 16:21, Patrick Mulder wrote:

Not sure what's going on here, I run:

$ vagrant basebox build Ubuntu-11.04

[Ubuntu-11.04] Downloading vbox guest additions iso v 4.1.18 -
http://download.virtualbox.org/virtualbox/4.1.18/VBoxGuestAdditions_4.1.18.iso
[Ubuntu-11.04] Checking if isofile VBoxGuestAdditions_4.1.18.iso
already exists.
[Ubuntu-11.04] Full path:
/Users/mulder/projects/chef/veewee/iso/VBoxGuestAdditions_4.1.18.iso
/Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/net/protocol.rb:146:in
|rescue in rbuf_fill': Timeout::Error (Timeout::Error)/s ETA: 0:00:16
from
/Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/net/protocol.rb:140:in|rbuf_fill'
from
/Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/net/protocol.rb:92:in
|read'
from
/Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/net/http.rb:2755:in|read_body_0'
from
/Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/net/http.rb:2710:in
|read_body'
from
/Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/open-uri.rb:321:in|block
(2 levels) in open_http'
from
/Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/net/http.rb:1322:in
|block (2 levels) in transport_request'
from
/Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/net/http.rb:2671:in|reading_body'
from
/Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/net/http.rb:1321:in
|block in transport_request'
from
/Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/net/http.rb:1316:in|catch'
from
/Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/net/http.rb:1316:in
|transport_request'
from
/Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/net/http.rb:1293:in|request'
from
/Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/open-uri.rb:312:in
|block in open_http'
from
/Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/net/http.rb:745:in|start'
from
/Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/open-uri.rb:306:in
|open_http'
from
/Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/open-uri.rb:775:in|buffer_open'
from
/Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/open-uri.rb:203:in
|block in open_loop'
from
/Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/open-uri.rb:201:in|catch'
from
/Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/open-uri.rb:201:in
|open_loop'
from
/Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/open-uri.rb:146:in|open_uri'
from
/Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/open-uri.rb:677:in
|open'
from
/Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/veewee-0.3.7/lib/veewee/provider/core/helper/iso.rb:30:in|download_progress'
from
/Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/veewee-0.3.7/lib/veewee/provider/core/helper/iso.rb:24:in
|download_iso'
from
/Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/veewee-0.3.7/lib/veewee/provider/virtualbox/box/helper/guest_additions.rb:11:in|download_vbox_guest_additions_iso'
from
/Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/veewee-0.3.7/lib/veewee/provider/virtualbox/box/build.rb:8:in
|build'
from
/Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/veewee-0.3.7/lib/veewee/command/vagrant/build.rb:57:in|execute'
from
/Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/veewee-0.3.7/lib/veewee/command/vagrant/basebox.rb:60:in
|execute'
from
/Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/vagrant-1.0.3/lib/vagrant/cli.rb:42:in|execute'
from
/Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/vagrant-1.0.3/lib/vagrant/environment.rb:167:in
|cli'
from
/Users/mulder/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/vagrant-1.0.3/bin/vagrant:43:in|'
from /Users/mulder/.rbenv/versions/1.9.3-p194/bin/vagrant:23:in |load'
from /Users/mulder/.rbenv/versions/1.9.3-p194/bin/vagrant:23:in|'


Reply to this email directly or view it on GitHub
#519.

@mulderp

This comment has been minimized.

Show comment
Hide comment
@mulderp

mulderp Jan 30, 2013

Ah. that might the problem... also, upgrading my VirtualBox solves the problem (I could download additions for 4.2.4 from Google code)
Ok, solved for my case.... thanks anyway for your feedback above!

mulderp commented Jan 30, 2013

Ah. that might the problem... also, upgrading my VirtualBox solves the problem (I could download additions for 4.2.4 from Google code)
Ok, solved for my case.... thanks anyway for your feedback above!

@mulderp mulderp closed this Jan 30, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment