[chef] reg socket ruby error


Chronological Thread 
  • From: indra < >
  • To: " " < >
  • Subject: [chef] reg socket ruby error
  • Date: Wed, 18 Feb 2015 13:23:09 +0530

HI,

FOr ruby socket error name or service not known in ruby,when downloading cookbooks .I have checked net connection at all its all working,when i using wget with that url it gets download ,but when i download through script it shows like this:


Downloading https://region-a.geo-1.objects.hpcloudsvc.com:443/v1/68342917034742/cookbooks/marketplace/production/chef_handler.tar

/chef/embedded/lib/ruby/1.9.1/net/http.rb:762:in `initialize': getaddrinfo: Name or service not known (SocketError)

chef/embedded/lib/ruby/1.9.1/net/http.rb:762:in `open'

chef/embedded/lib/ruby/1.9.1/net/http.rb:762:in `block in connect'

chef/embedded/lib/ruby/1.9.1/timeout.rb:54:in `timeout'

I, [2015-02-17T23:01:23.978230 #16714] INFO -- : 115.124.106.146 from /opt/chef/embedded/lib/ruby/1.9.1/timeout.rb:99:in `timeout'

.1/net/http.rb:762:in `connect'

lib/ruby/1.9.1/net/http.rb:755:in `do_start'

ruby/1.9.1/net/http.rb:744:in `start'


I ve used resolve and replace-resolver gem and add in require of recipes,but showing same


THanks,
Indu




Archive powered by MHonArc 2.6.16.

§