{"action":"closed","issue":{"url":"https://api.github.com/repos/instrumentisto/kurento-docker-image/issues/2","repository_url":"https://api.github.com/repos/instrumentisto/kurento-docker-image","labels_url":"https://api.github.com/repos/instrumentisto/kurento-docker-image/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/instrumentisto/kurento-docker-image/issues/2/comments","events_url":"https://api.github.com/repos/instrumentisto/kurento-docker-image/issues/2/events","html_url":"https://github.com/instrumentisto/kurento-docker-image/issues/2","id":394356849,"node_id":"MDU6SXNzdWUzOTQzNTY4NDk=","number":2,"title":"Improve Kurento healthcheck","user":{"login":"flexconstructor","id":2394348,"node_id":"MDQ6VXNlcjIzOTQzNDg=","avatar_url":"https://avatars2.githubusercontent.com/u/2394348?v=4","gravatar_id":"","url":"https://api.github.com/users/flexconstructor","html_url":"https://github.com/flexconstructor","followers_url":"https://api.github.com/users/flexconstructor/followers","following_url":"https://api.github.com/users/flexconstructor/following{/other_user}","gists_url":"https://api.github.com/users/flexconstructor/gists{/gist_id}","starred_url":"https://api.github.com/users/flexconstructor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flexconstructor/subscriptions","organizations_url":"https://api.github.com/users/flexconstructor/orgs","repos_url":"https://api.github.com/users/flexconstructor/repos","events_url":"https://api.github.com/users/flexconstructor/events{/privacy}","received_events_url":"https://api.github.com/users/flexconstructor/received_events","type":"User","site_admin":false},"labels":[{"id":1158965706,"node_id":"MDU6TGFiZWwxMTU4OTY1NzA2","url":"https://api.github.com/repos/instrumentisto/kurento-docker-image/labels/enhancement","name":"enhancement","color":"a2eeef","default":true}],"state":"closed","locked":false,"assignee":{"login":"flexconstructor","id":2394348,"node_id":"MDQ6VXNlcjIzOTQzNDg=","avatar_url":"https://avatars2.githubusercontent.com/u/2394348?v=4","gravatar_id":"","url":"https://api.github.com/users/flexconstructor","html_url":"https://github.com/flexconstructor","followers_url":"https://api.github.com/users/flexconstructor/followers","following_url":"https://api.github.com/users/flexconstructor/following{/other_user}","gists_url":"https://api.github.com/users/flexconstructor/gists{/gist_id}","starred_url":"https://api.github.com/users/flexconstructor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flexconstructor/subscriptions","organizations_url":"https://api.github.com/users/flexconstructor/orgs","repos_url":"https://api.github.com/users/flexconstructor/repos","events_url":"https://api.github.com/users/flexconstructor/events{/privacy}","received_events_url":"https://api.github.com/users/flexconstructor/received_events","type":"User","site_admin":false},"assignees":[{"login":"flexconstructor","id":2394348,"node_id":"MDQ6VXNlcjIzOTQzNDg=","avatar_url":"https://avatars2.githubusercontent.com/u/2394348?v=4","gravatar_id":"","url":"https://api.github.com/users/flexconstructor","html_url":"https://github.com/flexconstructor","followers_url":"https://api.github.com/users/flexconstructor/followers","following_url":"https://api.github.com/users/flexconstructor/following{/other_user}","gists_url":"https://api.github.com/users/flexconstructor/gists{/gist_id}","starred_url":"https://api.github.com/users/flexconstructor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flexconstructor/subscriptions","organizations_url":"https://api.github.com/users/flexconstructor/orgs","repos_url":"https://api.github.com/users/flexconstructor/repos","events_url":"https://api.github.com/users/flexconstructor/events{/privacy}","received_events_url":"https://api.github.com/users/flexconstructor/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-12-27T10:26:13Z","updated_at":"2019-01-02T11:03:31Z","closed_at":"2019-01-02T11:03:31Z","author_association":"COLLABORATOR","body":"## Summary\r\n\r\nAt the moment, the openvidu-server connection to Kurento is disconnected - so that the openvidu-server can catch these restarts and reset its status through restarts.\r\nThe following problem was observed at least twice: Kurento is working, it does not generate errors, but it cannot connect to it. In the end, this translates into a restart loop openvidu-server. \r\n\r\n## Solution\r\n\r\nThe proposed solution is to expand healthcheck Kurento by checking for the presence of an active web-socket connection on port 8888, use netstat:\r\n\r\n```\r\nnetstat -anp | grep :8888 | grep ESTABLISHED | wc -l\r\n```\r\n\r\nThis command can be completed in the [goss](https://github.com/aelsabbahy/goss) test. But have to solve the problem of asserting  that the return value is nonzero."}}
{"actor":{"display_login":"tyranron"}}