laravel-echo Questions

3

Solved

I'm using replacement of Pusher Laravel Webaockets package. In my application Laravel Echo tries to connect vía wss instead ws, so it fails. My resources/js/bootstrap.js: import Echo from 'larav...
Ironing asked 3/6, 2020 at 22:32

3

Solved

I'm looking into Laravel Echo (With socket.io as connector) But I can't find out how to bind a callback when user/visitor succeed or not connecting to the socket (Not channel), but generally if co...
Bader asked 22/9, 2017 at 8:42

13

I have recently delved into Laravel 5.3's Laravel-Echo and Pusher combination. I have successfully set up public channels and moved on to private ones. I am having trouble with Laravel returning a ...
Ticker asked 18/1, 2017 at 20:33

7

I am trying to make my app app connect to pusher on a private channel. But I am getting the following error: pusher.js?b3eb:593 POST http://localhost:8000/broadcasting/auth 404 (Not Found) W...
Headmistress asked 17/1, 2017 at 18:29

4

I am trying to authenticate the laravel echo using a private channel. Every time I am getting "could not be authenticated to private-basket_details.1 " . "basket_details" this is the channel name a...
Potboy asked 27/7, 2018 at 3:55

4

Solved

I have implemented Laravel Broadcasting in my project. Everything is working fine but I'm wondering if it's possible to listen to all events instead of just a specific one? Currently I have this c...
Badman asked 6/10, 2017 at 11:33

3

Solved

iv been trying to solve this since morning...i keep get this error.. vue.js:1743 TypeError: Cannot read property 'channel' of undefined i am trying to listen on a channel using this code.i alre...
Scraperboard asked 28/6, 2018 at 10:2

4

Solved

There is a Laravel/Vue.JS app hosted on AWS behind a Classic Load Balancer (Elastic Beanstalk) and proxied internally via Nginx down to socket.io server. SSL is terminated on the Nginx. This is th...

7

I am using laravel-echo-server to run Laravel Echo to broadcast events. I have a user counter channel which shows all the users on the app. For this I am using a presence channel. This works fine ...
Tudela asked 11/4, 2017 at 9:23

3

In my TaskList.vue I have the code below: <template> <div> <ul> <li v-for="task in tasks" v-text="task"></li> </ul> <input type="text" v-model="newTask...
Monolith asked 22/3, 2018 at 18:20

2

Solved

I'm developing real-time app with Laravel. Since I don't want to use Pusher, I'm trying to make websockets work using Laravel Echo Server, Redis, and Socket.IO. However, I'm having a problem with t...
Beggary asked 24/12, 2020 at 11:18

2

I'm trying to implement a notification system with Laravel and Vue JS. I implemented everything and it needs to be work but Notification class is not broadcasting. .env file BROADCAST_DRIVER=push...
Ivo asked 22/9, 2017 at 22:19

5

Server side is php laravel echo websocket and I am trying to connect by Angular 4. I tried using ng2-socket-io - npm and also laravel-echo - npm but none of them were successfully. If anyone know a...
Permenter asked 7/11, 2017 at 15:27

2

Solved

Does anyone know how to handle the connected, disconnected, reconnecting and etc on Laravel Echo? I'm using VueJS btw
Impasse asked 14/3, 2018 at 3:49

5

Solved

I am working on a chat/message feature for an app. When a User sends a message, I want a specific Event to be triggered and to be broadcasted. I am then wanting Laravel Echo to listen on the event'...
Stilliform asked 19/12, 2016 at 8:3

2

Solved

If I manually run laravel-echo-server - it works fine. But I can't run laravel-echo-server using supervisor: i'm getting error on frontend GET http://example.com:6001/socket.io/EIO=3&transpor...
Handrail asked 25/1, 2019 at 15:50

2

Solved

I'm trying to send some data with Laravel Echo request window.Echo = new Echo({ broadcaster: 'pusher', key: 'somekey', wsHost: '127.0.0.1', wsPort: 6001, encrypted: false, disableStats: true,...
Allamerican asked 17/6, 2020 at 0:35

1

Solved

I want to know when my users are getting errors connecting or the connection drops out. I've read a lot saying this is possible but I'm getting no where and I'm starting to think it maybe an issue ...
Seoul asked 2/6, 2020 at 14:11

3

Solved

I'm setting up Laravel echo to broadcast events. But whenever I try to broadcast to a channel the channel name gets an automatic prefix: 'laravel_database_' I've tried switching the return inside...
Bartlet asked 5/8, 2019 at 14:3

2

Solved

I am following the tutorial given in https://medium.com/@dennissmink/laravel-echo-server-how-to-24d5778ece8b . I installed laravel-echo-server, redis, socket.io, laravel-echo. This is the configu...
Stroganoff asked 28/2, 2020 at 8:18

2

Solved

i'm using laravel-echo-server and all works fine, if i launch server with this command: laravel-echo-server start i see: L A R A V E L E C H O S E R V E R version 1.2.8 Starting server... ✔ ...
Heshvan asked 17/6, 2017 at 13:0

1

I'm using pm2 (version 3.4.1) to manage the Laravel Echo websocket server. It runs perfect, but I'm trying to get it to auto-start after a machine reboot (which runs Ubuntu 16.04). To do this I fol...
Knurled asked 14/5, 2019 at 13:2

1

I am able to run laravel-echo-server on my local environment using HTTPS settings just fine. However, it seems that there is an issue on my production server (which is Forge-based): Client cannot ...
Chamaeleon asked 15/6, 2018 at 5:23

2

I've set up Laravel to use pusher to send events for Laravel Echo, but the events I fire from artisan console don't reach pusher. The events i fire from the pusher debug console are working fine, s...
Miracle asked 15/12, 2016 at 16:31

1

Solved

I'm using pm2 to ensure laravel-echo-server is running. Performing a pm2 logs 0 gives me some errors. I'm running the server on a Google Compute Engine Instance and have setup some firewall ingress...
Doelling asked 28/2, 2019 at 16:51

© 2022 - 2024 — McMap. All rights reserved.