Skip to main content

All Questions

Tagged with
0 votes
0 answers
124 views

Laravel 11 Reverb: WebSocket Connection failed

WebSocket connection to wss://subdomain.domain.com/app/... failed Its working on locally without any issue but in production it gives issue here is my .env for production REVERB_APP_ID=401132 ...
Muntasir Hasan's user avatar
2 votes
0 answers
234 views

Event not working with Laravel Websockets

I need to implement the socket in the Laravel project which has been upgraded from 6.0 to 8.0. here is the code of bootstrap.php import Echo from "laravel-echo" window.Pusher = require('...
Libra Ramis's user avatar
0 votes
1 answer
6k views

Pusher vs Websocket vs Echo

I'm currently trying to develop a flutter app that connects to a laravel server using sockets. I was following a tutorial, in which he used https://github.com/beyondcode/laravel-websockets and ...
Lambasoft's user avatar
  • 929
0 votes
1 answer
133 views

Laravel simple awards system

So I watched a video on laracasts, where the tutor was talking about events and listeners. He created an event for payments, and then a listener for a coupon award. However since it was just a lesson ...
Max's user avatar
  • 1
2 votes
1 answer
948 views

in Kubernetes pod, can't force Laravel Echo (using Pusher) to connect via ws over port 6001 protocol instead of wss on port 443

I am having a hard time figuring out how to connect our Laravel app to a websockets server hosted on port 6001. Everything works fine on my local machine, but when I deploy on Kubernetes, I get the ...
Reverse Engineered's user avatar
1 vote
1 answer
1k views

Host Laravel WebSocket Server on Cpanel

Does anyone have an idea of how to run Laravel serve on Cpanel? laravel web socket work locally fine. Link but how to run it on Cpanel ?
Egyptionl's user avatar
0 votes
0 answers
142 views

Laravel websockets + pusher-js - UI side connected but doesn't get data

problem : socket connects successfully and its status is 101. but doesn't get any data on event call. note : everything works perfectly on local server. Alt-Svc: h3-24=":8443"; ma=86400, h3-23=":...
Milad Heidari's user avatar
0 votes
1 answer
940 views

Laravel Echo Cant subscribe a Chanel Using websocket Laravel(Beyondode)

Im triying using blade(not using vue component) but still im using vue.js in declare it This is my botstrap.js import Echo from "laravel-echo"; window.Pusher = require("pusher-js"); window.Echo = ...
Sidik's user avatar
  • 138
9 votes
7 answers
31k views

Beyondcode Laravel Websockets : failed: WebSocket is closed before the connection is established

Local websockets is running like a charm but on production I keep getting the error in the title. Some background information I'm using the websocket package: beyondcode/laravel-websockets. I'm ...
Jesse Dijkstra's user avatar
0 votes
0 answers
1k views

How to use Echo in Angular + Laravel?

I found the Push-Js and apply it in Angular... But don't know how to use it in Laravel? Like Angular make a get request then going into Larave's API routes But what's next? I can't input any code ...
W Kenny's user avatar
  • 2,013
3 votes
1 answer
1k views

How can I use Pusher Laravel Echo with SharedWorkers?

I'm trying to keep only one connection active per user who open multiple tabs on my application that uses Pusher with Laravel Echo, I was able to get it working on a test project by following the ...
Vinny's user avatar
  • 694