{"action":"created","issue":{"url":"https://api.github.com/repos/tlaverdure/laravel-echo-server/issues/145","repository_url":"https://api.github.com/repos/tlaverdure/laravel-echo-server","labels_url":"https://api.github.com/repos/tlaverdure/laravel-echo-server/issues/145/labels{/name}","comments_url":"https://api.github.com/repos/tlaverdure/laravel-echo-server/issues/145/comments","events_url":"https://api.github.com/repos/tlaverdure/laravel-echo-server/issues/145/events","html_url":"https://github.com/tlaverdure/laravel-echo-server/issues/145","id":215381378,"number":145,"title":"Could not authenticate on private channel","user":{"login":"akkhan20","id":25948082,"avatar_url":"https://avatars0.githubusercontent.com/u/25948082?v=3","gravatar_id":"","url":"https://api.github.com/users/akkhan20","html_url":"https://github.com/akkhan20","followers_url":"https://api.github.com/users/akkhan20/followers","following_url":"https://api.github.com/users/akkhan20/following{/other_user}","gists_url":"https://api.github.com/users/akkhan20/gists{/gist_id}","starred_url":"https://api.github.com/users/akkhan20/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akkhan20/subscriptions","organizations_url":"https://api.github.com/users/akkhan20/orgs","repos_url":"https://api.github.com/users/akkhan20/repos","events_url":"https://api.github.com/users/akkhan20/events{/privacy}","received_events_url":"https://api.github.com/users/akkhan20/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-03-20T10:38:12Z","updated_at":"2017-03-20T10:52:43Z","closed_at":null,"body":"i get this error in console:\r\n\r\n> Client can not be authenticated, got HTTP status 404\r\n\r\nmy laravel-server-json is:\r\n\r\n> {\r\n> \t\"authHost\": \"http://social.com\",\r\n> \t\"authEndpoint\": \"/broadcasting/auth\",\r\n> \t\"clients\": [\r\n> \t\t{\r\n> \t\t\t\"appId\": \"5780ac79810d7425\",\r\n> \t\t\t\"key\": \"5d9df7139ccba9ba57efd6a791579c83\"\r\n> \t\t}\r\n> \t],\r\n> \t\"database\": \"redis\",\r\n> \t\"databaseConfig\": {\r\n> \t\t\"redis\" : {\r\n> \t\t\t\"port\": \"6379\",\r\n> \t\t\t\"host\": \"192.168.8.200\"\r\n> \t\t},\r\n> \t\t\"sqlite\": {\r\n> \t\t\t\"databasePath\": \"/database/laravel-echo-server.sqlite\"\r\n> \t\t}\r\n> \t},\r\n> \t\"devMode\": true,\r\n> \t\"host\": \"localhost\",\r\n> \t\"port\": \"6001\",\r\n> \t\"protocol\": \"http\",\r\n> \r\n> \t\"socketio\": {},\r\n> \t\"sslCertPath\": \"\",\r\n> \t\"sslKeyPath\": \"\"\r\n> }\r\n> \r\n\r\nbootstrap.js is like:\r\n\r\n> import Echo from \"laravel-echo\"\r\n> window.io = require('socket.io-client');\r\n> window.Echo = new Echo({\r\n>     broadcaster: 'socket.io',\r\n>     host: 'http://localhost:6001'/*window.location.hostname + ':6001'*/\r\n> \r\n> });\r\n\r\nView is like:\r\n\r\n> <script src=\"//{{ Request::getHost() }}:6001/socket.io/socket.io.js\"></script>\r\n> {{--<script src=\"https://cdn.socket.io/socket.io-1.4.5.js\"></script>--}}\r\n> <script src=\"{{asset('js/app.js')}}\"></script>\r\n> \r\n> <script>\r\n> \r\n>     window.Echo.private('url-monitor')\r\n>         .listen('urlHit', (e) => {\r\n>         console.log(e);\r\n>     });\r\n> \r\n> </script>"},"comment":{"url":"https://api.github.com/repos/tlaverdure/laravel-echo-server/issues/comments/287727237","html_url":"https://github.com/tlaverdure/laravel-echo-server/issues/145#issuecomment-287727237","issue_url":"https://api.github.com/repos/tlaverdure/laravel-echo-server/issues/145","id":287727237,"user":{"login":"akkhan20","id":25948082,"avatar_url":"https://avatars0.githubusercontent.com/u/25948082?v=3","gravatar_id":"","url":"https://api.github.com/users/akkhan20","html_url":"https://github.com/akkhan20","followers_url":"https://api.github.com/users/akkhan20/followers","following_url":"https://api.github.com/users/akkhan20/following{/other_user}","gists_url":"https://api.github.com/users/akkhan20/gists{/gist_id}","starred_url":"https://api.github.com/users/akkhan20/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akkhan20/subscriptions","organizations_url":"https://api.github.com/users/akkhan20/orgs","repos_url":"https://api.github.com/users/akkhan20/repos","events_url":"https://api.github.com/users/akkhan20/events{/privacy}","received_events_url":"https://api.github.com/users/akkhan20/received_events","type":"User","site_admin":false},"created_at":"2017-03-20T10:52:43Z","updated_at":"2017-03-20T10:52:43Z","body":"BroadcastServiceProvider.php :\r\n```\r\npublic function boot()\r\n    {\r\n        Broadcast::routes();\r\n\r\n        require base_path('routes/channels.php');\r\n    }\r\n```\r\nit already contains this"}}
{"actor":{"display_login":"akkhan20"}}