Comments (7)
My server console shows
(Error): 404
{ url: 'http://homestead.app/broadcasting/auth',
form: { channel_name: 'private-chat.1' },
headers: { 'X-CSRF-TOKEN': 'viOhMUN9kuKi3o7I8VumOHmwN6fClyx6TJ0BBcnz' } }
Sorry, i forgot to add "App\Providers\BroadcastServiceProvider::class" to my config/app.php Providers.
This solved my Problem.
from laravel-echo-server.
Are you using the private() method?
https://laravel.com/docs/5.3/broadcasting#listening-for-events
from laravel-echo-server.
Yes I am.
from laravel-echo-server.
@MadScripter are you setting up your broadcasting authentication properly in Laravel? The event will be emitted in the Redis console, but you won't be able to listen if you aren't properly authenticated to the private channel.
from laravel-echo-server.
Yes I doubled checked everything and it should all be setup correctly. The NodeJS server throws a 302 error everytime I try to broadcast to the private channel :/ The host and the authPath are correct in the options, I even tried to reinstall laravel, but nothing works..
from laravel-echo-server.
I know this doesn't help you @MadScripter but I definitely have private channels working using this script, a laravel 5.3 installation and node 5 (see my other comments about this).
There's obviously just some very small detail that needs to be tweaked.
from laravel-echo-server.
1.0 is now released, please test that version and if this issue exists reopen. Thanks
from laravel-echo-server.
Related Issues (20)
- Is the package compromised? HOT 6
- Laravel-echo-server events listeners custom callbacks
- Redis6 ACL Support HOT 1
- 运行一会,就会中断,提示截图显示的错误 HOT 2
- Cannot find module '../dist/cli' - supervisord
- Redis 6 ACL config HOT 1
- Connection refused on docker
- Laravel Echo Server work and client side error only at server HOT 2
- Is there ways to emit data from client (socket.io-client) to laravel-echo-server? HOT 2
- Laravel Echo PresenceChannel vs listen events doesn't work HOT 2
- 使用Laravel 5.8 广播系统,本地研发没有事情,上线后握手阶段,第一次OK,第二次报502,第三次报session id unknown,现在不知道是那个地方出问题了?求帮助 HOT 1
- Is `tlaverdure/laravel-echo-server` abandoned? HOT 6
- Is the cors configuration even working? HOT 1
- echo server socket.io.js error
- support redis cluster
- Redis TTL key is store forever
- CSRF token mismatch after session timeout
- npx laravel-echo-server start HOT 1
- Unable to join channel. Member data for presence channel missing HOT 1
- Is this project compatible with Socket.io v4? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laravel-echo-server.