{"action":"created","issue":{"url":"https://api.github.com/repos/reTHINK-project/dev-hyperty-toolkit/issues/1","repository_url":"https://api.github.com/repos/reTHINK-project/dev-hyperty-toolkit","labels_url":"https://api.github.com/repos/reTHINK-project/dev-hyperty-toolkit/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/reTHINK-project/dev-hyperty-toolkit/issues/1/comments","events_url":"https://api.github.com/repos/reTHINK-project/dev-hyperty-toolkit/issues/1/events","html_url":"https://github.com/reTHINK-project/dev-hyperty-toolkit/issues/1","id":151421595,"number":1,"title":"Unable to get the examples working using the Quick Guide","user":{"login":"Endebert","id":9431420,"avatar_url":"https://avatars.githubusercontent.com/u/9431420?v=3","gravatar_id":"","url":"https://api.github.com/users/Endebert","html_url":"https://github.com/Endebert","followers_url":"https://api.github.com/users/Endebert/followers","following_url":"https://api.github.com/users/Endebert/following{/other_user}","gists_url":"https://api.github.com/users/Endebert/gists{/gist_id}","starred_url":"https://api.github.com/users/Endebert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Endebert/subscriptions","organizations_url":"https://api.github.com/users/Endebert/orgs","repos_url":"https://api.github.com/users/Endebert/repos","events_url":"https://api.github.com/users/Endebert/events{/privacy}","received_events_url":"https://api.github.com/users/Endebert/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-04-27T15:53:17Z","updated_at":"2016-04-29T13:50:15Z","closed_at":null,"body":"So before writing my own hyperty, I wanted to make sure the examples work, so I followed the quick guide.\r\n\r\n1. I executed `npm install` and `npm start`\r\n2. I added `127.0.0.1\t\thybroker.rethink.ptinovacao.pt` to my hosts file\r\n3. I access the website using `https://hybroker.rethink.ptinovacao.pt/examples/`\r\n\r\nNo matter what example I select, this is how the log looks: [hybroker.rethink.ptinovacao.pt-1461771593131.txt](https://github.com/reTHINK-project/dev-hyperty-toolkit/files/238921/hybroker.rethink.ptinovacao.pt-1461771593131.txt)\r\n\r\nThere is always this error `WebSocket connection to 'wss://msg-node.localhost:9090/ws' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED`\r\n\r\nWhat am I doing wrong? Do I need to have a msg node running? It doesn't say so in the Quick guide. I tried it by accessing `https://localhost/examples/`, but it's the same. I tried starting it with `npm start --production` but that didn't help either."},"comment":{"url":"https://api.github.com/repos/reTHINK-project/dev-hyperty-toolkit/issues/comments/215719040","html_url":"https://github.com/reTHINK-project/dev-hyperty-toolkit/issues/1#issuecomment-215719040","issue_url":"https://api.github.com/repos/reTHINK-project/dev-hyperty-toolkit/issues/1","id":215719040,"user":{"login":"shumy","id":1155571,"avatar_url":"https://avatars.githubusercontent.com/u/1155571?v=3","gravatar_id":"","url":"https://api.github.com/users/shumy","html_url":"https://github.com/shumy","followers_url":"https://api.github.com/users/shumy/followers","following_url":"https://api.github.com/users/shumy/following{/other_user}","gists_url":"https://api.github.com/users/shumy/gists{/gist_id}","starred_url":"https://api.github.com/users/shumy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shumy/subscriptions","organizations_url":"https://api.github.com/users/shumy/orgs","repos_url":"https://api.github.com/users/shumy/repos","events_url":"https://api.github.com/users/shumy/events{/privacy}","received_events_url":"https://api.github.com/users/shumy/received_events","type":"User","site_admin":false},"created_at":"2016-04-29T13:50:15Z","updated_at":"2016-04-29T13:50:15Z","body":"It seems that you want to use the local server with the \"hybroker\" msg-node. It's possible if you follow the steps:\r\n1. Using the stable version at \"dev-hyperty-toolkit\" \"master\" branch.\r\n2. Change the files:\r\n  * system.config.json -> on development config set \"domain\": \"hybroker.rethink.ptinovacao.pt\"\r\n  * resources/descriptors/ProtoStubs.json -> on default config set \"url\": \"wss://msg-node.hybroker.rethink.ptinovacao.pt/ws\"\r\n  * your system hosts file -> add \"127.0.0.1 hybroker.rethink.ptinovacao.pt catalogue.hybroker.rethink.ptinovacao.pt\"\r\n3. Start server with \"npm run start:dev\""}}