{"action":"created","issue":{"url":"https://api.github.com/repos/hawkular/hawkular-client-ruby/issues/80","repository_url":"https://api.github.com/repos/hawkular/hawkular-client-ruby","labels_url":"https://api.github.com/repos/hawkular/hawkular-client-ruby/issues/80/labels{/name}","comments_url":"https://api.github.com/repos/hawkular/hawkular-client-ruby/issues/80/comments","events_url":"https://api.github.com/repos/hawkular/hawkular-client-ruby/issues/80/events","html_url":"https://github.com/hawkular/hawkular-client-ruby/issues/80","id":162268908,"number":80,"title":"Operations: using an invalid host has a very long timeout","user":{"login":"pilhuhn","id":208246,"avatar_url":"https://avatars.githubusercontent.com/u/208246?v=3","gravatar_id":"","url":"https://api.github.com/users/pilhuhn","html_url":"https://github.com/pilhuhn","followers_url":"https://api.github.com/users/pilhuhn/followers","following_url":"https://api.github.com/users/pilhuhn/following{/other_user}","gists_url":"https://api.github.com/users/pilhuhn/gists{/gist_id}","starred_url":"https://api.github.com/users/pilhuhn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pilhuhn/subscriptions","organizations_url":"https://api.github.com/users/pilhuhn/orgs","repos_url":"https://api.github.com/users/pilhuhn/repos","events_url":"https://api.github.com/users/pilhuhn/events{/privacy}","received_events_url":"https://api.github.com/users/pilhuhn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-06-25T07:33:52Z","updated_at":"2016-07-01T14:14:19Z","closed_at":null,"body":"Suppose I somehow supply a bad host to the WS-client\r\n\r\n```\r\nclient = OperationsClient.new(host: 'acme.org:42',\r\n```\r\nthen the connect will hang for around a minute.\r\n\r\nI am not sure though if it is possible to specify a shorter timeout for the connection setup."},"comment":{"url":"https://api.github.com/repos/hawkular/hawkular-client-ruby/issues/comments/229957839","html_url":"https://github.com/hawkular/hawkular-client-ruby/issues/80#issuecomment-229957839","issue_url":"https://api.github.com/repos/hawkular/hawkular-client-ruby/issues/80","id":229957839,"user":{"login":"rubenvp8510","id":3799716,"avatar_url":"https://avatars.githubusercontent.com/u/3799716?v=3","gravatar_id":"","url":"https://api.github.com/users/rubenvp8510","html_url":"https://github.com/rubenvp8510","followers_url":"https://api.github.com/users/rubenvp8510/followers","following_url":"https://api.github.com/users/rubenvp8510/following{/other_user}","gists_url":"https://api.github.com/users/rubenvp8510/gists{/gist_id}","starred_url":"https://api.github.com/users/rubenvp8510/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubenvp8510/subscriptions","organizations_url":"https://api.github.com/users/rubenvp8510/orgs","repos_url":"https://api.github.com/users/rubenvp8510/repos","events_url":"https://api.github.com/users/rubenvp8510/events{/privacy}","received_events_url":"https://api.github.com/users/rubenvp8510/received_events","type":"User","site_admin":false},"created_at":"2016-07-01T14:14:19Z","updated_at":"2016-07-01T14:14:19Z","body":"as far as I saw, there is no way to specify a timeout, we are using this gem: websocket-client-simple    which inside use TCPSocket for the connection[1], that class doesn't seem to have a timeout option[2].\r\n\r\n1) https://github.com/shokai/websocket-client-simple/blob/master/lib/websocket-client-simple/client.rb#L20\r\n2) http://ruby-doc.org/stdlib-2.0.0/libdoc/socket/rdoc/TCPSocket.html\r\n\r\n"}}
{"actor":{"display_login":"rubenvp8510"}}