{"action":"created","issue":{"url":"https://api.github.com/repos/kontena/kontena/issues/1757","repository_url":"https://api.github.com/repos/kontena/kontena","labels_url":"https://api.github.com/repos/kontena/kontena/issues/1757/labels{/name}","comments_url":"https://api.github.com/repos/kontena/kontena/issues/1757/comments","events_url":"https://api.github.com/repos/kontena/kontena/issues/1757/events","html_url":"https://github.com/kontena/kontena/pull/1757","id":204321193,"number":1757,"title":"Patch Faye::WebSocket::Client to log connection error reasons","user":{"login":"SpComb","id":3950373,"avatar_url":"https://avatars.githubusercontent.com/u/3950373?v=3","gravatar_id":"","url":"https://api.github.com/users/SpComb","html_url":"https://github.com/SpComb","followers_url":"https://api.github.com/users/SpComb/followers","following_url":"https://api.github.com/users/SpComb/following{/other_user}","gists_url":"https://api.github.com/users/SpComb/gists{/gist_id}","starred_url":"https://api.github.com/users/SpComb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SpComb/subscriptions","organizations_url":"https://api.github.com/users/SpComb/orgs","repos_url":"https://api.github.com/users/SpComb/repos","events_url":"https://api.github.com/users/SpComb/events{/privacy}","received_events_url":"https://api.github.com/users/SpComb/received_events","type":"User","site_admin":false},"labels":[{"id":213547699,"url":"https://api.github.com/repos/kontena/kontena/labels/agent","name":"agent","color":"0052cc","default":false},{"id":190601902,"url":"https://api.github.com/repos/kontena/kontena/labels/enhancement","name":"enhancement","color":"bfdadc","default":true},{"id":484068465,"url":"https://api.github.com/repos/kontena/kontena/labels/status/design-review","name":"status/design-review","color":"d4c5f9","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/kontena/kontena/milestones/35","html_url":"https://github.com/kontena/kontena/milestone/35","labels_url":"https://api.github.com/repos/kontena/kontena/milestones/35/labels","id":1754473,"number":35,"title":"1.2.0","description":"","creator":{"login":"jakolehm","id":1446224,"avatar_url":"https://avatars.githubusercontent.com/u/1446224?v=3","gravatar_id":"","url":"https://api.github.com/users/jakolehm","html_url":"https://github.com/jakolehm","followers_url":"https://api.github.com/users/jakolehm/followers","following_url":"https://api.github.com/users/jakolehm/following{/other_user}","gists_url":"https://api.github.com/users/jakolehm/gists{/gist_id}","starred_url":"https://api.github.com/users/jakolehm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakolehm/subscriptions","organizations_url":"https://api.github.com/users/jakolehm/orgs","repos_url":"https://api.github.com/users/jakolehm/repos","events_url":"https://api.github.com/users/jakolehm/events{/privacy}","received_events_url":"https://api.github.com/users/jakolehm/received_events","type":"User","site_admin":false},"open_issues":23,"closed_issues":0,"state":"open","created_at":"2016-05-09T07:37:30Z","updated_at":"2017-02-22T09:39:03Z","due_on":"2017-03-01T08:00:00Z","closed_at":null},"comments":3,"created_at":"2017-01-31T14:55:59Z","updated_at":"2017-02-23T07:38:02Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/kontena/kontena/pulls/1757","html_url":"https://github.com/kontena/kontena/pull/1757","diff_url":"https://github.com/kontena/kontena/pull/1757.diff","patch_url":"https://github.com/kontena/kontena/pull/1757.patch"},"body":"Fixes #1749\r\n\r\nBumps `faye-websocket` to [0.10.7](https://github.com/faye/faye-websocket-ruby/releases/tag/0.10.7) to emit `:error` reasons from EM: https://github.com/faye/faye-websocket-ruby/issues/102 https://github.com/faye/faye-websocket-ruby/commit/39e26115b39c83e923dc0656548fad52dd736956\r\n\r\n## Examples\r\n\r\n#### Connecting to a server that is stopped:\r\n```\r\nkontena-agent | I, [2017-02-01T12:22:55.926625 #1]  INFO -- Kontena::WebsocketClient: connecting to master at ws://192.168.66.1:9292\r\nkontena-agent | E, [2017-02-01T12:22:56.001138 #1] ERROR -- Kontena::WebsocketClient: connection refused: ws://192.168.66.1:9292\r\nkontena-agent | I, [2017-02-01T12:22:56.001186 #1]  INFO -- Kontena::WebsocketClient: connection closed with code 1006\r\n```\r\n\r\n#### Connecting to a `ws://` server using `wss://`\r\n```\r\nkontena-agent | I, [2017-02-01T12:23:43.189657 #1]  INFO -- Kontena::WebsocketClient: connecting to master at wss://192.168.66.1:9292\r\nkontena-agent | E, [2017-02-01T12:23:43.213118 #1] ERROR -- Kontena::WebsocketClient: protocol error, check ws/wss: wss://192.168.66.1:9292\r\nkontena-agent | I, [2017-02-01T12:23:43.213176 #1]  INFO -- Kontena::WebsocketClient: connection closed with code 1006\r\n```"},"comment":{"url":"https://api.github.com/repos/kontena/kontena/issues/comments/281917814","html_url":"https://github.com/kontena/kontena/pull/1757#issuecomment-281917814","issue_url":"https://api.github.com/repos/kontena/kontena/issues/1757","id":281917814,"user":{"login":"SpComb","id":3950373,"avatar_url":"https://avatars.githubusercontent.com/u/3950373?v=3","gravatar_id":"","url":"https://api.github.com/users/SpComb","html_url":"https://github.com/SpComb","followers_url":"https://api.github.com/users/SpComb/followers","following_url":"https://api.github.com/users/SpComb/following{/other_user}","gists_url":"https://api.github.com/users/SpComb/gists{/gist_id}","starred_url":"https://api.github.com/users/SpComb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SpComb/subscriptions","organizations_url":"https://api.github.com/users/SpComb/orgs","repos_url":"https://api.github.com/users/SpComb/repos","events_url":"https://api.github.com/users/SpComb/events{/privacy}","received_events_url":"https://api.github.com/users/SpComb/received_events","type":"User","site_admin":false},"created_at":"2017-02-23T07:38:02Z","updated_at":"2017-02-23T07:38:02Z","body":"The new `faye-websocket` 0.10.7 release replaces the monkey-patch."}}
{"actor":{"display_login":"SpComb"}}