188 questions
0
votes
0
answers
38
views
Can't listen to event for Laravel Websocket in Live Chat Application using Laravel 9
I am trying to implement live chat module in my SaaS module. I am using BeyondCode's Laravel Websockets package for this. This package uses php-pusher and installs it automatically when we install ...
0
votes
0
answers
274
views
Laravel 11 Reverb config for production SSL Nginx
Problem with running Laravel 11 Reverb on a production nginx server on a domain with https. I'll tell you right away that everything works on local! I tried and found many options on the Internet, I ...
0
votes
0
answers
83
views
laravel and websocket - WebSocket connection failed
I'm using laravel, websocket and laravel-echo to build simple chat app it works fine on localhost when using ws://127.0.0.1:6000
but when upload app on the host and try tor run through wss://my-domain....
0
votes
0
answers
71
views
Laravel websocket message is not received on localhost
I'm trying to build a real-time notification system.
config/broadcasting.php:
'connections' => [
'pusher' => [
'driver' => 'pusher',
'key' => env('...
0
votes
0
answers
60
views
Laravel Websocket URL provide for Frontend ( React js or fluttter )
I'm studying Laravel real time, and I want to provide the frontend websockets url, but I'm not sure how to do so. Could you please help me? Am I doing something incorrectly? Is there any git repos i ...
0
votes
0
answers
634
views
Laravel reverb websocket connection issue
Laravel reverb WebSocket is not connected.
I configured Reverb in the production server using the steps below.
Install reverb
I added the below code on the server but still getting
`location /app {
...
0
votes
1
answer
150
views
laravel 10, laravel webscockets secure (wss) unable to connect while redirect form ngnix
Working on Laravel 10, with Laravel WebSockets, pusher, and laravel-echo. Using Ngnix I added a self-signed SSL certificate, the application is working in https but the web socket secure is not ...
1
vote
1
answer
188
views
Laravel Websockets not working on Production/Cpanel
I have a laravel application in which i am using websockets, its working fine on local server but when i move it to cpanel and run the websocket command php artisan websocket:serve --port=3030, it ...
0
votes
2
answers
598
views
The issue is with connecting to the socket server in Laravel using Laravel Echo
"I am working on a project using Laravel Broadcast and the package beyondcode/laravel-websockets. When I use Pusher.js directly, the connection and operations are successful, but when I use ...
0
votes
0
answers
79
views
Client Side Event not working with larvavel websockets
Hi I have an issue when i tried to use Laravel Webscokets and laravel Echo
When i fire my event i can see it inside Websocket server side but i didn't get any response in client side how can i fix ...
0
votes
0
answers
113
views
Problem establishing websockets connection
I have been trying to solve my problem with connecting via websocets for many hours. I have already checked a thousand different configurations, browsed various forums and nothing solved my problem, ...
0
votes
1
answer
1k
views
Laravel websockets+Soketi at production
My Backend and Soketi servers run in same docker environment. I configure it with http and it works fine but now I want to use these services in production with ssl.
My backend placed behind Nginx and ...
0
votes
2
answers
511
views
How to manually authenticate users in laravel passport, using tokens
Am using a custom handler for websocket in laravel
web.php
WebSocketsRouter::webSocket('/app/{appKey}', \App\SocketServer\SocketHandler::class);
This router dose not accept middleware, thats why am ...
0
votes
0
answers
594
views
React Native's pusher-websocket-react-native onEvent Method is not returning anything or any signs it's working
I'm using Laravel for backend and React Native for front end, I'm using Laravel Websockets to handle real time functionality
https://beyondco.de/docs/laravel-websockets/getting-started/introduction
I ...
1
vote
1
answer
479
views
Laravel WebSocket get SSL error message though Pusher
I'm using Websocket with SSL but if SSL has any issue I'm not able to findout out the exact issue. After Investigation "SecureServer.php" has a code which are emit the error but that error ...
1
vote
0
answers
260
views
Scaling a Laravel-Websockets server for multiple projects
I have 3 projects that need to use websockets. I am planning to use Laravel-Websockets.
For that I want to create a separate project that will be the Laravel-Websockets server.
It also has support for ...
2
votes
4
answers
11k
views
beyondcode/laravel-websockets package not install on laravel 10.8 Framework
beyondcode/laravel-websockets package in the Laravel 10.8 Framework then it causes an error in the command prompt like this
Your requirements could not be resolved to an installable set of packages.
...
0
votes
1
answer
715
views
What will be the host name of websocket on server?
I am using laravel websocket in my laravel project. In broadcasting.php, there is pusher configuration like this below:
'pusher' => [
'driver' => 'pusher',
'key' => ...
1
vote
0
answers
56
views
Real time synchronization of a file on a server accessed by many clients
I have an app based on FabricJS, storing the resulting drawing in JSON format in a file on a Linux server using a php backend.
I'd like to implement collaboration on the app so that several people can ...
0
votes
1
answer
218
views
Authenticate users based on condition rather than Auth System with Laravel Websockets/Echo?
I'm looking to create a chat system for an application of mine, an application where Authenticated users can create public or private events. I'm using Laravel Websockets and Laravel Echo. When I ...
4
votes
3
answers
1k
views
Forward wss://sub.domain.com to ws://127.0.0.1:6001
I'm trying to setup Apache 2.4 (On Virtualmin) to forward wss://sub.domain.com requests to ws://localhost:6001 and I'm not having luck. I've followed countless tutorials, and looked through plenty of ...
0
votes
0
answers
345
views
How to config Laravel Websockets to use to use SSL?
I have configured my Laravel websockets to use SSL, but it's giving the "Peer's certificate issuer not recognized". Here's my config files. I'll be so grateful if someone can help me.
...
0
votes
1
answer
399
views
How to use Custom WebSocket Handlers?
I'm trying to react to connecting with laravel-websockets.
There are custom handlers
https://beyondco.de/docs/laravel-websockets/advanced-usage/custom-websocket-handlers
And there are endpoint
...
0
votes
0
answers
369
views
How can I access the reading information of the message with FastApi websocket?
I made a live chat application with Fastapi websocket, but I want to learn the message read status and add it to the interface. How can I get whether the message has been read or not.
class ...
1
vote
1
answer
439
views
Laravel Websocket with echo works on localhost but not on server
I am trying to check new notification message and show it to realtime on "bell icon with count"
Everything works as expected in Localhost, but in server the layout file cannot receive data ...