geemus/fog — Issue #554: Dynect DNS functionality broken?
Author: rb2k
Created: 2011-10-10 13:26:35+00:00
State: open

ruby-1.8.7-p334 :009 > dynect = Fog::DNS.new(:provider => "dynect", :dynect_customer => "*******", :dynect_username => dynect_user, :dynect_password => dynect_pass)
=> #"", :mock=>nil, :headers=>{}, :port=>"443", :connect_timeout=>60, :query=>nil, :scheme=>"https", :read_timeout=>60, :host=>"api2.dynect.net", :write_timeout=>60}, @socket_key="api2.dynect.net:443">, @persistent=true>, @scheme="https", @dynect_username="*******", @host="api2.dynect.net", @path="/REST", @dynect_customer="*********", @port=443, @version="2.3.1", @persistent=true, @connection_options={}, @dynect_password="****************">

ruby-1.8.7-p334 :011 > zone = dynect.zones.get("mydomain.com")
Excon::Errors::SocketError: Address family not supported by protocol family - connect(2)
from /Users/mseeger/.rvm/gems/ruby-1.8.7-p334/gems/excon-0.7.6/lib/excon/ssl_socket.rb:10:in `connect'
from /Users/mseeger/.rvm/gems/ruby-1.8.7-p334/gems/excon-0.7.6/lib/excon/ssl_socket.rb:10:in `connect'
from /Users/mseeger/.rvm/gems/ruby-1.8.7-p334/gems/excon-0.7.6/lib/excon/socket.rb:23:in `initialize'
from /Users/mseeger/.rvm/gems/ruby-1.8.7-p334/gems/excon-0.7.6/lib/excon/ssl_socket.rb:22:in `initialize'
from /Users/mseeger/.rvm/gems/ruby-1.8.7-p334/gems/excon-0.7.6/lib/excon/connection.rb:233:in `new'
from /Users/mseeger/.rvm/gems/ruby-1.8.7-p334/gems/excon-0.7.6/lib/excon/connection.rb:233:in `socket'
from /Users/mseeger/.rvm/gems/ruby-1.8.7-p334/gems/excon-0.7.6/lib/excon/connection.rb:80:in `request'
from /Users/mseeger/.rvm/gems/ruby-1.8.7-p334/gems/fog-1.0.0/lib/fog/core/connection.rb:20:in `request'
from /Users/mseeger/.rvm/gems/ruby-1.8.7-p334/gems/fog-1.0.0/lib/fog/dynect/dns.rb:88:in `request'
from /Users/mseeger/.rvm/gems/ruby-1.8.7-p334/gems/fog-1.0.0/lib/fog/dynect/requests/dns/post_session.rb:15:in `post_session'
from /Users/mseeger/.rvm/gems/ruby-1.8.7-p334/gems/fog-1.0.0/lib/fog/dynect/dns.rb:78:in `auth_token'
from /Users/mseeger/.rvm/gems/ruby-1.8.7-p334/gems/fog-1.0.0/lib/fog/dynect/dns.rb:86:in `request'
from /Users/mseeger/.rvm/gems/ruby-1.8.7-p334/gems/fog-1.0.0/lib/fog/dynect/requests/dns/get_zone.rb:16:in `get_zone'
from /Users/mseeger/.rvm/gems/ruby-1.8.7-p334/gems/fog-1.0.0/lib/fog/dynect/models/dns/zones.rb:20:in `get'
from (irb):11