Skip to content

Instantly share code, notes, and snippets.

@hatchetation
Created March 6, 2013 18:14
Show Gist options
  • Save hatchetation/5101641 to your computer and use it in GitHub Desktop.
Save hatchetation/5101641 to your computer and use it in GitHub Desktop.
Problem with Berkshelf upload (1.2.0 and v1.1.6)
vagrant@chef-server14:/vagrant/chef$ berks upload rsyslog
Installing rsyslog (1.1.1) from github: 'josephholsten/opscode-cookbooks-rsyslog' with branch: 'sm' over protocol: 'git'
Uploading rsyslog (1.1.1) to: 'http://bjork:4000/'
Ridley::SandboxUploader crashed!
Faraday::Error::ConnectionFailed: Connection refused - connect(2)
/usr/lib/ruby/1.9.1/net/http.rb:762:in `initialize'
/usr/lib/ruby/1.9.1/net/http.rb:762:in `open'
/usr/lib/ruby/1.9.1/net/http.rb:762:in `block in connect'
/usr/lib/ruby/1.9.1/timeout.rb:54:in `timeout'
/usr/lib/ruby/1.9.1/timeout.rb:99:in `timeout'
/usr/lib/ruby/1.9.1/net/http.rb:762:in `connect'
/usr/lib/ruby/1.9.1/net/http.rb:755:in `do_start'
/usr/lib/ruby/1.9.1/net/http.rb:744:in `start'
/usr/lib/ruby/1.9.1/net/http.rb:1284:in `request'
/usr/lib/ruby/gems/1.9.1/gems/faraday-0.8.6/lib/faraday/adapter/net_http.rb:75:in `perform_request'
/usr/lib/ruby/gems/1.9.1/gems/faraday-0.8.6/lib/faraday/adapter/net_http.rb:38:in `call'
/usr/lib/ruby/gems/1.9.1/gems/ridley-0.8.1/lib/ridley/middleware/chef_auth.rb:72:in `call'
/usr/lib/ruby/gems/1.9.1/gems/faraday-0.8.6/lib/faraday/connection.rb:247:in `run_request'
/usr/lib/ruby/gems/1.9.1/gems/faraday-0.8.6/lib/faraday/connection.rb:112:in `put'
/usr/lib/ruby/gems/1.9.1/gems/ridley-0.8.1/lib/ridley/sandbox_uploader.rb:112:in `upload'
/usr/lib/ruby/gems/1.9.1/gems/celluloid-0.12.4/lib/celluloid/calls.rb:23:in `public_send'
/usr/lib/ruby/gems/1.9.1/gems/celluloid-0.12.4/lib/celluloid/calls.rb:23:in `dispatch'
/usr/lib/ruby/gems/1.9.1/gems/celluloid-0.12.4/lib/celluloid/actor.rb:327:in `block in handle_message'
/usr/lib/ruby/gems/1.9.1/gems/celluloid-0.12.4/lib/celluloid/tasks/task_fiber.rb:24:in `block in initialize'
/usr/lib/ruby/gems/1.9.1/gems/celluloid-0.12.4/lib/celluloid/tasks/task_fiber.rb:38:in `suspend': task was terminated (Celluloid::Task::TerminatedError)
from /usr/lib/ruby/gems/1.9.1/gems/celluloid-0.12.4/lib/celluloid/task.rb:22:in `suspend'
from /usr/lib/ruby/gems/1.9.1/gems/celluloid-0.12.4/lib/celluloid/receivers.rb:27:in `receive'
from /usr/lib/ruby/gems/1.9.1/gems/celluloid-0.12.4/lib/celluloid/actor.rb:279:in `block in receive'
from /usr/lib/ruby/gems/1.9.1/gems/celluloid-0.12.4/lib/celluloid/actor.rb:278:in `loop'
from /usr/lib/ruby/gems/1.9.1/gems/celluloid-0.12.4/lib/celluloid/actor.rb:278:in `receive'
from /usr/lib/ruby/gems/1.9.1/gems/celluloid-0.12.4/lib/celluloid.rb:390:in `receive'
from /usr/lib/ruby/gems/1.9.1/gems/celluloid-0.12.4/lib/celluloid/core_ext.rb:15:in `receive'
from /usr/lib/ruby/gems/1.9.1/gems/celluloid-0.12.4/lib/celluloid/future.rb:69:in `value'
from /usr/lib/ruby/gems/1.9.1/gems/ridley-0.8.1/lib/ridley/sandbox_uploader.rb:82:in `map'
from /usr/lib/ruby/gems/1.9.1/gems/ridley-0.8.1/lib/ridley/sandbox_uploader.rb:82:in `multi_upload'
from /usr/lib/ruby/gems/1.9.1/gems/celluloid-0.12.4/lib/celluloid/calls.rb:23:in `public_send'
from /usr/lib/ruby/gems/1.9.1/gems/celluloid-0.12.4/lib/celluloid/calls.rb:23:in `dispatch'
from /usr/lib/ruby/gems/1.9.1/gems/celluloid-0.12.4/lib/celluloid/actor.rb:327:in `block in handle_message'
from /usr/lib/ruby/gems/1.9.1/gems/celluloid-0.12.4/lib/celluloid/tasks/task_fiber.rb:24:in `block in initialize'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment