I ran ‘berks install’ successfully. I can run ‘knife cookbook upload mycookbook’ successfully.
But berks upload fails as shown below. I did this in a corporate environment with proxy. On my home computer without proxy, ‘berks upload’ runs without issues.
$ berks upload --no-ssl-verify
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/httpclient-2.6.0.1/lib/httpclient/webagent-cookie.rb:458: warning: already initialized constant HTTPClient::CookieManager
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/httpclient-2.6.0.1/lib/httpclient/cookie.rb:8: warning: previous definition of CookieManager was here
Skipping hostsfile (2.4.5) (frozen)
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:345:in each': task was terminated (Celluloid::Task::TerminatedError) from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:345:in
cleanup’
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:329:in shutdown' from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:321:in
handle_crash’
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:166:in rescue in run' from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:148:in
run’
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:130:in block in start' from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/thread_handle.rb:13:in
block in initialize’
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/actor_system.rb:32:in block in get_thread' from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/internal_pool.rb:130:in
call’
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/internal_pool.rb:130:in block in create' from (celluloid):0:in
remote procedure call’
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:92:in value' from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/proxies/sync_proxy.rb:33:in
method_missing’
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-4.1.1/lib/berkshelf/uploader.rb:55:in block (2 levels) in upload' from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-4.1.1/lib/berkshelf/uploader.rb:51:in
each’
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-4.1.1/lib/berkshelf/uploader.rb:51:in block in upload' from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/ridley-4.4.2/lib/ridley/client.rb:38:in
open’
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/ridley-4.4.2/lib/ridley.rb:53:in open' from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-4.1.1/lib/berkshelf.rb:144:in
ridley_connection’
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-4.1.1/lib/berkshelf/uploader.rb:50:in upload' from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-4.1.1/lib/berkshelf/uploader.rb:37:in
run’
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-4.1.1/lib/berkshelf/berksfile.rb:592:in upload' from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-4.1.1/lib/berkshelf/cli.rb:208:in
upload’
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/command.rb:27:in run' from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in
invoke_command’
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor.rb:359:in dispatch' from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-4.1.1/lib/berkshelf/cli.rb:52:in
dispatch’
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/base.rb:440:in start' from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-4.1.1/lib/berkshelf/cli.rb:27:in
execute!‘
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-4.1.1/bin/berks:5:in <top (required)>' from /opt/chefdk/bin/berks:48:in
load’
from /opt/chefdk/bin/berks:48:in `’