This repository has been archived by the owner on Feb 7, 2024. It is now read-only.
Replies: 1 comment 1 reply
-
@je-rajesh did you include the - Echo.channel("test").listen("app.built", (e) => { console.log("event ", e); });
+ Echo.channel("test").listen(".app.built", (e) => { console.log("event ", e); }); |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using this package for pusher replacement.
this is my echo code. the value of
env.WEBSOCKET_SERVER
isabc.xyz.online
( i'v changed it). i see that my frontend connects with websocket server that i have hosted on another subdomain(abc.xyz.online).i have following issues:
1. public notification.
i am trying to send a public notification on the frontend. no message is reaching on the frontend. this is what i get in my
laravel.log
file.2. private notification.
during the time of private channel authentication. i see that a
post
request goes to/broadcasting/auth
route and the response is 200. but i don't see any socket id the response body. body is just empty.there should be aauth
token in the response body. the project runs proper on localhost with 6000 port(php artisan websockets:server
) and i see there auth token.this is my private notification log from
laravel.log
this is my websocket log
this is my broadcasting.php
this is my public event
websockets.php
Beta Was this translation helpful? Give feedback.
All reactions