Installed version 0.0.3 and I can't seem to make a call to my XMLRPC server. I tried doing proxy = client.proxy
, but that fails simliarly; I tried without the :path and get the same as well:
ruby-1.9.2-p180 :015 > client = Rapuncel::Client.new :host => "http://testlink.pelco.org", :path => '/lib/api/xmlrpc.php', :port => 80
=> #<Rapuncel::Client:0x00000100af3e70 @connection=#<Rapuncel::Connection:0x00000100af3c68 @host="http://testlink.pelco.org", @port=80, @path="lib/api/xmlrpc.php", @headers={}>, raise_on_faultfalse, raise_on_errorfalse
ruby-1.9.2-p180 :016 > client.call "tl.about"
SocketError: getaddrinfo: nodename nor servname provided, or not known
from /Users/sloveless/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/net/http.rb:644:in `initialize'
from /Users/sloveless/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/net/http.rb:644:in `open'
from /Users/sloveless/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/net/http.rb:644:in `block in connect'
from /Users/sloveless/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/timeout.rb:44:in `timeout'
from /Users/sloveless/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/timeout.rb:87:in `timeout'
from /Users/sloveless/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/net/http.rb:644:in `connect'
from /Users/sloveless/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/net/http.rb:637:in `do_start'
from /Users/sloveless/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/net/http.rb:626:in `start'
from /Users/sloveless/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/net/http.rb:1168:in `request'
from /Users/sloveless/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/net/http.rb:978:in `post'
from /Users/sloveless/.rvm/gems/ruby-1.9.2-p180/gems/rapuncel-0.0.3/lib/rapuncel/adapters/net_http_adapter.rb:30:in `send_method_call'
from /Users/sloveless/.rvm/gems/ruby-1.9.2-p180/gems/rapuncel-0.0.3/lib/rapuncel/client.rb:51:in `execute'
from /Users/sloveless/.rvm/gems/ruby-1.9.2-p180/gems/rapuncel-0.0.3/lib/rapuncel/client.rb:35:in `call'
from (irb):16
from /Users/sloveless/.rvm/rubies/ruby-1.9.2-p180/bin/irb:16:in `<main>'