{"action":"created","issue":{"url":"https://api.github.com/repos/fedwiki/wiki-plugin-linkmap/issues/8","repository_url":"https://api.github.com/repos/fedwiki/wiki-plugin-linkmap","labels_url":"https://api.github.com/repos/fedwiki/wiki-plugin-linkmap/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/fedwiki/wiki-plugin-linkmap/issues/8/comments","events_url":"https://api.github.com/repos/fedwiki/wiki-plugin-linkmap/issues/8/events","html_url":"https://github.com/fedwiki/wiki-plugin-linkmap/issues/8","id":372782704,"node_id":"MDU6SXNzdWUzNzI3ODI3MDQ=","number":8,"title":"Websocket server does not start","user":{"login":"almereyda","id":1645308,"node_id":"MDQ6VXNlcjE2NDUzMDg=","avatar_url":"https://avatars0.githubusercontent.com/u/1645308?v=4","gravatar_id":"","url":"https://api.github.com/users/almereyda","html_url":"https://github.com/almereyda","followers_url":"https://api.github.com/users/almereyda/followers","following_url":"https://api.github.com/users/almereyda/following{/other_user}","gists_url":"https://api.github.com/users/almereyda/gists{/gist_id}","starred_url":"https://api.github.com/users/almereyda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/almereyda/subscriptions","organizations_url":"https://api.github.com/users/almereyda/orgs","repos_url":"https://api.github.com/users/almereyda/repos","events_url":"https://api.github.com/users/almereyda/events{/privacy}","received_events_url":"https://api.github.com/users/almereyda/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-23T02:46:14Z","updated_at":"2018-10-23T02:57:44Z","closed_at":null,"author_association":"NONE","body":"When running https://hub.docker.com/r/federatedwiki/distribution/~/dockerfile/ through\r\n\r\n    docker run -p 3000:3000 -v /home/yala/src/lab.allmende.io/configurations/remote-wikifarm/:/root/.wiki/ -it --rm federatedwiki/distribution\r\n\r\non top of a `/root/.wiki/` git archive, a Websocket connection cannot be established in http://localhost:3000/view/about-linkmap-plugin/view/linkmap-network-diagram (Host header is spoofed to an actual domain of the archive), there simply will be null response. Terminal output knows more:\r\n\r\n```\r\nlinkmap startServer [ 'argv', 'app' ]\r\nfailed to start plugin wiki-plugin-linkmap TypeError: One of the \"port\", \"server\", or \"noServer\" options must be specified\r\n    at WebSocketServer (/usr/local/lib/node_modules/wiki/node_modules/ws/lib/websocket-server.js:53:13)\r\n    at Object.startServer (/usr/local/lib/node_modules/wiki/node_modules/wiki-plugin-linkmap/server/server.js:95:14)\r\n    at /usr/local/lib/node_modules/wiki/node_modules/wiki-server/lib/plugins.coffee:32:22\r\n    at FSReqWrap.cb [as oncomplete] (fs.js:259:19)\r\n```"},"comment":{"url":"https://api.github.com/repos/fedwiki/wiki-plugin-linkmap/issues/comments/432070284","html_url":"https://github.com/fedwiki/wiki-plugin-linkmap/issues/8#issuecomment-432070284","issue_url":"https://api.github.com/repos/fedwiki/wiki-plugin-linkmap/issues/8","id":432070284,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMjA3MDI4NA==","user":{"login":"WardCunningham","id":12127,"node_id":"MDQ6VXNlcjEyMTI3","avatar_url":"https://avatars3.githubusercontent.com/u/12127?v=4","gravatar_id":"","url":"https://api.github.com/users/WardCunningham","html_url":"https://github.com/WardCunningham","followers_url":"https://api.github.com/users/WardCunningham/followers","following_url":"https://api.github.com/users/WardCunningham/following{/other_user}","gists_url":"https://api.github.com/users/WardCunningham/gists{/gist_id}","starred_url":"https://api.github.com/users/WardCunningham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WardCunningham/subscriptions","organizations_url":"https://api.github.com/users/WardCunningham/orgs","repos_url":"https://api.github.com/users/WardCunningham/repos","events_url":"https://api.github.com/users/WardCunningham/events{/privacy}","received_events_url":"https://api.github.com/users/WardCunningham/received_events","type":"User","site_admin":false},"created_at":"2018-10-23T02:57:44Z","updated_at":"2018-10-23T02:57:44Z","author_association":"CONTRIBUTOR","body":"I doubt that plugin has been tested in a docker environment. We also routinely put reverse proxies and other layers of http/https messing around that could get in the way."}}
{"actor":{"display_login":"WardCunningham"}}