{"action":"opened","issue":{"url":"https://api.github.com/repos/ejurgensen/forked-daapd/issues/635","repository_url":"https://api.github.com/repos/ejurgensen/forked-daapd","labels_url":"https://api.github.com/repos/ejurgensen/forked-daapd/issues/635/labels{/name}","comments_url":"https://api.github.com/repos/ejurgensen/forked-daapd/issues/635/comments","events_url":"https://api.github.com/repos/ejurgensen/forked-daapd/issues/635/events","html_url":"https://github.com/ejurgensen/forked-daapd/issues/635","id":388970128,"node_id":"MDU6SXNzdWUzODg5NzAxMjg=","number":635,"title":"websockets fail to start after quick restart","user":{"login":"ejurgensen","id":1156686,"node_id":"MDQ6VXNlcjExNTY2ODY=","avatar_url":"https://avatars2.githubusercontent.com/u/1156686?v=4","gravatar_id":"","url":"https://api.github.com/users/ejurgensen","html_url":"https://github.com/ejurgensen","followers_url":"https://api.github.com/users/ejurgensen/followers","following_url":"https://api.github.com/users/ejurgensen/following{/other_user}","gists_url":"https://api.github.com/users/ejurgensen/gists{/gist_id}","starred_url":"https://api.github.com/users/ejurgensen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ejurgensen/subscriptions","organizations_url":"https://api.github.com/users/ejurgensen/orgs","repos_url":"https://api.github.com/users/ejurgensen/repos","events_url":"https://api.github.com/users/ejurgensen/events{/privacy}","received_events_url":"https://api.github.com/users/ejurgensen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-08T23:38:10Z","updated_at":"2018-12-08T23:38:10Z","closed_at":null,"author_association":"OWNER","body":"For testing, I have a script that kills and immediately restarts forked-daapd. I have noticed that sometimes it fails to start. It seems related to libwebsockets:\r\n```\r\n[2018-12-09 00:33:24] [DEBUG]      web: LWS Initial logging level 31\r\n[2018-12-09 00:33:24] [DEBUG]      web: LWS Libwebsockets version: 2.0.3 unknown-build-hash\r\n[2018-12-09 00:33:24] [DEBUG]      web: LWS IPV6 not compiled in\r\n[2018-12-09 00:33:24] [DEBUG]      web: LWS libev support compiled in but disabled\r\n[2018-12-09 00:33:24] [DEBUG]      web: LWS libuv support compiled in but disabled\r\n[2018-12-09 00:33:24] [DEBUG]      web: LWS  Threads: 1 each 1024 fds\r\n[2018-12-09 00:33:24] [DEBUG]      web: LWS  mem: platform fd map:  8192 bytes\r\n[2018-12-09 00:33:24] [DEBUG]      web: LWS  Compiled with OpenSSL support\r\n[2018-12-09 00:33:24] [DEBUG]      web: LWS  SSL disabled: no LWS_SERVER_OPTION_DO_SSL_GLOBAL_INIT\r\n[2018-12-09 00:33:24] [DEBUG]      web: LWS Creating Vhost 'default' port 3688, 2 protocols\r\n[2018-12-09 00:33:24] [  LOG]      web: LWS ERROR on binding fd 49 to port 3688 (-1 98)\r\n[2018-12-09 00:33:24] [  LOG]      web: LWS Failed to create default vhost\r\n[2018-12-09 00:33:24] [  LOG]      web: Failed to create websocket context\r\n[2018-12-09 00:33:24] [FATAL]    httpd: Websocket init failed\r\n```\r\nThis is with Ubuntu 16.04.\r\n\r\n@chme can you see if there is anything to do about it?"}}
{"actor":{"display_login":"ejurgensen"}}