All Questions
68
questions
1
vote
1
answer
109
views
'/api/broadcasting/auth' 403 Forbidden
I'm trying to build connection between my react.js app & laravel 10 (both are separate)
channel is Private
For react side
import React, { useEffect } from "react";
import Pusher ...
0
votes
1
answer
308
views
laravel-echo and socket.io are unable to connect with laravel-echo-server
i am new to web sockets, i am using laravel echo, redis, socket.io with laravel-echo-server. But when i console.log(window.Echo.connector.socket.connected), it prints false in console.
My terminal ...
0
votes
1
answer
216
views
Laravel Broadcasting with Soketi listening to channel via Echo is not working
I'm using Laravel Broadcasting with Soketi and I'm trying to listen to the jobs channel and JobFailedEvent. So here is my code.
class JobFailedEvent implements ShouldBroadcast
{
use ...
0
votes
0
answers
83
views
Laravel Websockets sent and received messages do not show up
I am using Beyondcodes laravel-websockets lib to implement websockets functionality to my app. However when I connect to the ws server (locally) I only get connect and disconnect messages. Whenever I ...
0
votes
0
answers
80
views
Could not load content for http://localhost:8000/js/pusher.js.map
console error :
"DevTools failed to load source map: Could not load content for http://localhost:8000/js/pusher.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE"
i ...
1
vote
0
answers
629
views
Laravel websockets current state is unavailable
It's my first post on here but i'm desperate on finding the solution and I might need someone a little more experienced than me. Let you first give you the system specifics:
OS: Almalinux, CPanel &...
1
vote
0
answers
205
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 ...
0
votes
1
answer
883
views
Laravel websocket on https local server
I'm trying to implement a local network-accessible laravel app with websocket.
Everything works well on http, now we need to upgrade to https to allow the app on windows desktop notification.
I made a ...
0
votes
0
answers
124
views
websockets:serve cron job error on shared hosting laravel
I am using beyondecode laravel websocket package on my laravel project. I have done all the configurations correctly. On hostinger, set a cron job to serve websocket like
/usr/bin/php /home/......../...
0
votes
1
answer
467
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' => ...
2
votes
2
answers
3k
views
Pusher error: cURL error 7: Failed to connect to 127.0.0.1 port 6001 after 0 ms: Connection refused
I'm having problems connecting a project in Vue 3 with a Laravel websocket that is in Forge, I've tried all the ways, enabling and disabling settings, but the same error always returns:
Pusher error: ...
0
votes
0
answers
535
views
How to configure BeyondCode Laravel-Websocket on cPanel with or without ssl?
I've a project setup that run beyondcode/laravel-websocket. It's configuration is setup so that it can run on local server and it does. Now i have uploaded project on cPanel. I can access the ...
1
vote
2
answers
2k
views
Laravel not responding to WebSocket events correctly
As a Laravel beginning I'm having hard times grasping on how to create a simple "hello world" -like WebSocket interface, it seems as if authentication must be implemented, database logging ...
0
votes
1
answer
332
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
...
1
vote
0
answers
275
views
How to listen for laravel-websockets events?
I've set up events, like it was described here
https://github.com/beyondcode/laravel-websockets/blob/master/docs/advanced-usage/dispatched-events.md
but they are not dispatching when I connect or ...