Questions tagged [laravel-websockets]

190 questions
0
votes
1 answer

Laravel Websocket Send Message to Particular Android Devices

I am working on laravel application using websockets. I have configured websockets from the library Building a real time application like uber or ola. Customer are creating a trip with start and end location. In backend selecting the nearest driver…
B L Praveen
  • 1,812
  • 4
  • 35
  • 60
0
votes
1 answer

Laravel Websockets Error in connection Error during WebSocket handshake: Unexpected response code: 404

Im trying to set up laravel websockets on localhost using this library And I am getting this error I have installed the package and started the service on my localhost running php artisan websockets:serve my Bootstrap.js is: import Echo from…
B L Praveen
  • 1,812
  • 4
  • 35
  • 60
0
votes
0 answers

Ratched Websocket Connection Close

I am using cboden/ratchet package of websocket on laravel. This is most frustrating thing on earth. How do I even get this connected ? It keeps showing me this error : Connection closed before receiving a handshake response // This is my test…
desh
  • 627
  • 1
  • 7
  • 19
0
votes
0 answers

i using laravel-websockets and error Cannot read property 'socketId' of undefined

I do not use socket.io but it gives me such an error app.js:18695 Uncaught TypeError: Cannot read property 'socketId' of undefined I wrote in the details, I updated it, I had an SSL problem before, so I could not connect as https, this problem came…
0
votes
0 answers

Laravel echo leaving doesn't fire event

I'm trying to send a whisper event when a user is leaving the channel but the user-disconnected event doesn't fire. Oddly, the user-connected event works when a user is joining. let channel = Echo.join(`consultation`) channel.here((users) => { …
stalwart1014
  • 451
  • 1
  • 9
  • 29
0
votes
1 answer

Laravel websockets caching event class and doesn't reload changes

I cannot change the channel name in the event class. Every change I make in the class is not loaded. (I am using laravel-websockets) /app/Events/BroadcastingModelEvent class BroadcastingModelEvent implements ShouldBroadcast { use…
grimdbx
  • 175
  • 2
  • 12
0
votes
1 answer

How do i setup websocket on GCP Flex environment?

I am using laravel 6 and I want to deploy laravel based websocket server using supervisor on google cloud Flex app engine platform. I am using this package: beyondcode/laravel-websockets I have setup everything and everything is working fine on…
0
votes
1 answer

How to deploy laravel websocket on GCP Standard App Engine?

I am using laravel 6 and I want to deploy laravel based websocket server using supervisor on google cloud standard app engine platform. I am using this package: beyondcode/laravel-websockets I have setup everything and everything is working fine on…
0
votes
0 answers

websocket connection closed before established laravel on ubuntu server?

I have implemented websocket in laravel framework. It is working fine on localhost windows OS but giving error on live ubuntu…
Bilal Arshad
  • 531
  • 3
  • 11
  • 33
0
votes
1 answer

Laravel Websockets - Private Channel

I am fiddling with Laravel websockets for the first time. Currently i am just using plain JS WebSocket client (not Laravel Echo). They way i see it, laravel echo provides an 'authEndpoint' for private and presence channels. This allows you to create…
Guardian
  • 369
  • 1
  • 5
  • 18
0
votes
1 answer

Call to undefined method App\User::messages()", exception: "BadMethodCallException

I am following this library for chat and i use presence channel in it composer require beyondcode/laravel-websockets whenever i send a message console show me this error in my chatcontoller Call to undefined method App\User::messages()", exception:…
0
votes
1 answer

Laravel Broadcast in not working with Pusher

I am using Pusher in my Web Application. My backend is built with Laravel & Frontend is built with Angular 10. Everything works perfectly in my local machine. But in the server it is not working. Laravel Event is not getting broadcasted. This is my…
Ahsan Aasim
  • 1,177
  • 3
  • 14
  • 40
0
votes
1 answer

Why Laravel Pusher is not working in server

I am using Pusher in my Web Application. My backend is built with Laravel & Frontend is built with Angular 10. Everything works perfectly in my local machine. But in the server it is not working. The client is failing to connect stating the…
Ahsan Aasim
  • 1,177
  • 3
  • 14
  • 40
0
votes
1 answer

Vue Laravel Echo not listening to channel

I am using laravel-echo to listen to my laravel WebSocket channel. I added this to my app.js: import Echo from 'laravel-echo' /*..........*/ window.Pusher = require('pusher-js') window.Echo = new Echo({ broadcaster: 'pusher', key: 'appKey', …
Cas Bekhuis
  • 71
  • 1
  • 9
0
votes
1 answer

message: Failed to connect to Pusher exception: "Illuminate\Broadcasting\BroadcastException"

I am using pusher in laravel to send notification but i'm getting following error: {message: "Failed to connect to Pusher.", exception: "Illuminate\Broadcasting\BroadcastException",…} exception: "Illuminate\Broadcasting\BroadcastException"…
user3653474
  • 3,393
  • 6
  • 49
  • 135
1 2 3
12
13