Skip to main content

All Questions

2 votes
3 answers
716 views

401 (Unauthorized) when subscribing to private-channel in Pusher (Vue/Laravel)

I've set up a Vue3/Laravel app with a live-chat via Pusher which works over non-private channel chat. In the next step I want to use a private channel but something weird happens. The pusher.subscribe ...
Artur Müller Romanov's user avatar
0 votes
0 answers
34 views

Laravel echo not working with private but working with public channel

window.Pusher = Pusher window.Echo = new Echo({ broadcaster: 'pusher', withCredentials: true, auth: { headers: { ...commonHeader } }, key: 'local', ...
Asmit Nepali's user avatar
1 vote
0 answers
210 views

Laravel Pusher Websocket Not Working on HTTPS port 443

"message": "Pusher error: cURL error 7: Failed to connect to 54.217.244.226: Network is unreachable (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://api-eu.pusher....
Мадияр Маселбек's user avatar
0 votes
1 answer
172 views

Pusher public events not getting read in the Frontend(react)

I'm trying to make custom channel names using the pusher-php in my Laravel backend micro-service and I'm trying to read the events triggered on these channels on my React frontend. This is how my ...
Jayant Dahiya's user avatar
2 votes
1 answer
3k views

Laravel websockets with nginx

I have followed tutorials to configure laravel with websockets using docker, except that my php version is PHP 8.1.9, and laravel 8. My nginx container is a reverse proxy to web_dev container, and ...
Daniel Katz's user avatar
  • 2,379
0 votes
1 answer
2k views

Is there anyway to create Laravel Websocket Server without 3rd party solution?

I am preparing to build a WebSockets system to have a bidirectional communication from my server to my clients through WebSockets. I know that Laravel now very well supports 3rd parties like Pusher ...
Ryo's user avatar
  • 69
0 votes
0 answers
2k views

WebSocket is closed before the connection is established. - Laravel Pusher

I'm trying to use Laravel Pusher in my React Native project and by far it's working well. But the problem is with my live chat, it works but not live because I keep getting this error: WebSocket ...
NicoleProgramming's user avatar
1 vote
1 answer
2k views

Laravel Websocket won't Connect on production using supervisor on centos 7

I am new to dealing with something like a supervisor on the CentOS server I ask for help to solve this issue. I am facing issue with Laravel websockets (beyondco). In localhost, everything works well ...
mohamed allam's user avatar
0 votes
0 answers
193 views

Web Socket via Pusher in Laravel - call 4 times

I use Pusher on my Laravel project. When I logged any pee, poop, it broadcast those events on all my devices: phone, laptops. I have this code. <script src="https://code.jquery.com/ui/1.12....
code-8's user avatar
  • 57.5k
0 votes
0 answers
288 views

Having troubles with pusher-js v7.0.1

Am having troubles with using Pusher-js in Laravel and having it show on Debug console. Pusher is connecting successfully but no event is seen on the debug console. My credentials are correct, it ...
Atuoha Anthony's user avatar
1 vote
0 answers
1k views

WebSocket connection to 'protocol=7&client=js&version=4.3.1&flash=false' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED

I was implementing laravel websockets package in project it is working fine in my local machine but on server first it was giving error of Connection timeout That problem was solved when add TCP port ...
Bilal Arshad's user avatar
12 votes
3 answers
8k views

Laravel Pusher Websocket Not Working on HTTPS

I'm using Laravel 5.8, and we're using a web socket with PUSHER in our application. It's broadcast perfectly locally or when I am on HTTP mode. When I update my set up to HTTPS, Broadcasting is no ...
code-8's user avatar
  • 57.5k
1 vote
1 answer
959 views

500 (Internal Server Error) with pusher in Laravel

I am working with Laravel 7 with Vue.js, Laravel-echo and pusher. when i call an event in vue i am receiving 500 (Internal Server Error) bootstrap.js: import Echo from 'laravel-echo'; window.Pusher ...
iamzouz's user avatar
  • 109
0 votes
1 answer
774 views

How to solve "Echo is not defined" error?

I am working with Laravel 7 with Vue.js and Laravel-echo. I already installed the Laravel Echo library using npm install --save laravel-echo pusher-js in my application and also included the following ...
iamzouz's user avatar
  • 109
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

15 30 50 per page