{"action":"created","issue":{"url":"https://api.github.com/repos/paramiko/paramiko/issues/22","labels_url":"https://api.github.com/repos/paramiko/paramiko/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/paramiko/paramiko/issues/22/comments","events_url":"https://api.github.com/repos/paramiko/paramiko/issues/22/events","html_url":"https://github.com/paramiko/paramiko/issues/22","id":1110284,"number":22,"title":"doesn't fall back on ipv4 route when there is no ipv6 route","user":{"login":"driesdesmet","id":60802,"avatar_url":"https://avatars.githubusercontent.com/u/60802?v=3","gravatar_id":"","url":"https://api.github.com/users/driesdesmet","html_url":"https://github.com/driesdesmet","followers_url":"https://api.github.com/users/driesdesmet/followers","following_url":"https://api.github.com/users/driesdesmet/following{/other_user}","gists_url":"https://api.github.com/users/driesdesmet/gists{/gist_id}","starred_url":"https://api.github.com/users/driesdesmet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/driesdesmet/subscriptions","organizations_url":"https://api.github.com/users/driesdesmet/orgs","repos_url":"https://api.github.com/users/driesdesmet/repos","events_url":"https://api.github.com/users/driesdesmet/events{/privacy}","received_events_url":"https://api.github.com/users/driesdesmet/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/paramiko/paramiko/labels/Needs%20investigation","name":"Needs investigation","color":"fad8c7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":20,"created_at":"2011-06-24T14:11:54Z","updated_at":"2015-02-07T18:05:31Z","closed_at":null,"body":"I can't connect to a ssh server that has an AAAA record from a client that doesn't have an ipv6 route:\r\n\r\nPython 2.6.1 (r261:67515, Jun 24 2010, 21:47:49) \r\n[GCC 4.2.1 (Apple Inc. build 5646)] on darwin\r\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\r\n>>> import paramiko\r\n>>> client=paramiko.SSHClient()\r\n>>> client.connect(hostname='ssh.alwaysdata.com')\r\nTraceback (most recent call last):\r\n  File \"<stdin>\", line 1, in <module>\r\n  File \"/Library/Python/2.6/site-packages/paramiko/client.py\", line 296, in connect\r\n    sock.connect(addr)\r\n  File \"<string>\", line 1, in connect\r\nsocket.error: [Errno 65] No route to host\r\n\r\nI would expect paramiko to use IPv4 in this case. Connecting with os x's default ssh client works as expected."},"comment":{"url":"https://api.github.com/repos/paramiko/paramiko/issues/comments/73375310","html_url":"https://github.com/paramiko/paramiko/issues/22#issuecomment-73375310","issue_url":"https://api.github.com/repos/paramiko/paramiko/issues/22","id":73375310,"user":{"login":"tgoodlet","id":291685,"avatar_url":"https://avatars.githubusercontent.com/u/291685?v=3","gravatar_id":"","url":"https://api.github.com/users/tgoodlet","html_url":"https://github.com/tgoodlet","followers_url":"https://api.github.com/users/tgoodlet/followers","following_url":"https://api.github.com/users/tgoodlet/following{/other_user}","gists_url":"https://api.github.com/users/tgoodlet/gists{/gist_id}","starred_url":"https://api.github.com/users/tgoodlet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgoodlet/subscriptions","organizations_url":"https://api.github.com/users/tgoodlet/orgs","repos_url":"https://api.github.com/users/tgoodlet/repos","events_url":"https://api.github.com/users/tgoodlet/events{/privacy}","received_events_url":"https://api.github.com/users/tgoodlet/received_events","type":"User","site_admin":false},"created_at":"2015-02-07T18:05:31Z","updated_at":"2015-02-07T18:05:31Z","body":"@bitprophet Hah! \r\nNice to see a fellow beer advocate at work. I've been meaning to sign up to untappd. Should really do that...\r\n\r\nI was lucky enough to snag a case of [these] (http://www.ratebeer.com/beer/rodenbach-vintage/112249/) this week. \r\nMaybe I can start with that as my first rate.\r\n\r\nGlad to see the issue get sorted out.\r\nThanks a ton!"}}