Have already setup Broadcast driver and all still not able to connect channel. Getting error like 'Channels current state is unavailable' I want do it with SSL and pusher both
Where?? Is that in Websocket dashboard or tinker terminal? For websocket dashboard, for message input, you have to pass a json object. Please clarify first
We're using custom Pusher implementation, so definitely it's free as it's hosted on our server. But pusher is paid. We can do similar things with Pusher, but I think, we can try with the free one laravel offers.
Installation failed, reverting ./composer.json and ./composer.lock to their original content. does not work with laravel 10 Your requirements could not be resolved to an installable set of packages. Problem 1 - beyondcode/laravel-websockets 1.14.0 requires react/http ^1.1 -> satisfiable by react/http[v1.1.0, ..., v1.9.0]. - beyondcode/laravel-websockets[1.0.0, ..., 1.3.0] require php ^7.1 -> your php version (8.1.6) does not satisfy that requirement. - beyondcode/laravel-websockets[1.4.0, ..., 1.10.0] require php ^7.2 -> your php version (8.1.6) does not satisfy that requirement. - beyondcode/laravel-websockets[1.11.0, ..., 1.13.0] require guzzlehttp/psr7 ^1.5 -> found guzzlehttp/psr7[1.5.0, ..., 1.9.1] but the package is fixed to 2.5.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command. - beyondcode/laravel-websockets[1.13.1, ..., 1.13.2] require illuminate/broadcasting ^6.0|^7.0|^8.0|^9.0 ->code/laravcode/laravel-websockets:*" to figure out if any version is installable, or "composer require beyondcode/laravel-websockets:^2.1" if you know which you need. Installation failed, reverting ./composer.json and ./composer.lock to their original content.
After i am installing i am facing the error Problem 1 - beyondcode/laravel-websockets[1.13.1, ..., 1.14.0] require react/http ^1.1 -> satisfiable by react/http[v1.1.0, ..., v1.9.0]. - beyondcode/laravel-websockets[1.0.0, ..., 1.3.0] require php ^7.1 -> your php version (8.0.28) does not satisfy that requirement. - beyondcode/laravel-websockets[1.4.0, ..., 1.10.0] require php ^7.2 -> your php version (8.0.28) does not satisfy that requirement. - beyondcode/laravel-websockets[1.11.0, ..., 1.13.0] require guzzlehttp/psr7 ^1.5 -> found guzzlehttp/psr7[1.5.0, ..., 1.9.1] but the package is fixed to 2.5.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command. - react/http[v1.1.0, ..., v1.9.0] require psr/http-message ^1.0 -> found psr/http-message[1.0, 1.0.1, 1.1] but the package is fixed to 2.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command. - Root composer.json requires beyondcode/laravel-websockets * -> satisfiable by beyondcode/laravel-websockets[1.0.0, ..., 1.14.0]. Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions. You can also try re-running composer require with an explicit version constraint, e.g. "composer require beyondcode/laravel-websockets:*" to figure out if any version is installable, or "composer require beyondcode/laravel-websockets:^2.1" if you know which you need.
At 4:56 remember to add 👉👉 *BROADCAST_DRIVER=pusher* I've forgotten to tell that.
very exciting brother
Thank you..
Hi. Thanks for your video. Can this setup run without issues on shared hosting?
Need to install a supervisor on hosting. You can do that by terminal.
I had a plan also to do that in a cpanel.
Have already setup Broadcast driver and all still not able to connect channel. Getting error like 'Channels current state is unavailable' I want do it with SSL and pusher both
I have an error in laravel websocket dashboard about Vue
whenever i sent message from dashborad it sents but does not sent from tinker
what should i do??
Implement ShouldBroadcastNow Interface in the Event Class definition @hammadraza6536
me sale este errro Error sending event. pero no se por que
BROADCAST_DRIVER=pusher dite hobe 😀
Yes, I have made a pinned comment here.
statistics:1
Failed to load resource: the server responded with a status of 500 (Internal Server Error)
When I send a request event, I got an error in an alert box like error sending event. What should I do?
Where?? Is that in Websocket dashboard or tinker terminal?
For websocket dashboard, for message input, you have to pass a json object. Please clarify first
@@Maniruzzaman In 5:30, sending in json format like you.
Have you updated BROADCAST_DRIVER=pusher
At .env
If that doesn't help, inspect element and take a screenshot of error message on console, add that screenshot image url link here
@@Maniruzzaman I forgot to change PUSHER_SCHEME from https to http. It's all ok now.
there is much voice distorion in this video
is it free? websocket and pusher?
We're using custom Pusher implementation, so definitely it's free as it's hosted on our server.
But pusher is paid. We can do similar things with Pusher, but I think, we can try with the free one laravel offers.
At 8:35 am not getting any message
Maybe you could run command in a new terminal.
And have you added BROADCAST_DRIVER=pusher ??
@@Maniruzzamanno i didn't add BROADCAST_DRIVER=pusher Where about do you add BROADCAST_DRIVER=pusher
@@victorynwefo5989 in .env file.
There is already a variable for BROADCAST_DRIVER. Just update that to pusher
@@Maniruzzaman nice is working now thanks man
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
does not work with laravel 10
Your requirements could not be resolved to an installable set of packages.
Problem 1
- beyondcode/laravel-websockets 1.14.0 requires react/http ^1.1 -> satisfiable by react/http[v1.1.0, ..., v1.9.0].
- beyondcode/laravel-websockets[1.0.0, ..., 1.3.0] require php ^7.1 -> your php version (8.1.6) does not satisfy that requirement.
- beyondcode/laravel-websockets[1.4.0, ..., 1.10.0] require php ^7.2 -> your php version (8.1.6) does not satisfy that requirement.
- beyondcode/laravel-websockets[1.11.0, ..., 1.13.0] require guzzlehttp/psr7 ^1.5 -> found guzzlehttp/psr7[1.5.0, ..., 1.9.1] but the package is fixed to 2.5.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
- beyondcode/laravel-websockets[1.13.1, ..., 1.13.2] require illuminate/broadcasting ^6.0|^7.0|^8.0|^9.0 ->code/laravcode/laravel-websockets:*" to figure out if any version is installable, or "composer require beyondcode/laravel-websockets:^2.1" if you know which you need.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
After i am installing i am facing the error
Problem 1
- beyondcode/laravel-websockets[1.13.1, ..., 1.14.0] require react/http ^1.1 -> satisfiable by react/http[v1.1.0, ..., v1.9.0].
- beyondcode/laravel-websockets[1.0.0, ..., 1.3.0] require php ^7.1 -> your php version (8.0.28) does not satisfy that requirement.
- beyondcode/laravel-websockets[1.4.0, ..., 1.10.0] require php ^7.2 -> your php version (8.0.28) does not satisfy that requirement.
- beyondcode/laravel-websockets[1.11.0, ..., 1.13.0] require guzzlehttp/psr7 ^1.5 -> found guzzlehttp/psr7[1.5.0, ..., 1.9.1] but the package is fixed to 2.5.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
- react/http[v1.1.0, ..., v1.9.0] require psr/http-message ^1.0 -> found psr/http-message[1.0, 1.0.1, 1.1] but the package is fixed to 2.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
- Root composer.json requires beyondcode/laravel-websockets * -> satisfiable by beyondcode/laravel-websockets[1.0.0, ..., 1.14.0].
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require beyondcode/laravel-websockets:*" to figure out if any version is installable, or "composer require beyondcode/laravel-websockets:^2.1" if you know which you need.
try this: composer require beyondcode/laravel-websockets -w
thank you very much