Questions tagged [laravel-websockets]

190 questions
1
vote
1 answer

Safari can't connect to secure laravel websocket

I'm running an app, where I use laravel-websockets, with the pusher replacement and a self created websocket instance. For SSL I used a letsencrypt certificate and the nginx reverse proxy "Same location for websockets and web contents" approach. On…
Zacharias
  • 57
  • 9
1
vote
0 answers

App fails to connect to running laravel-websockets instance when started with supervisor

This was working in the past...not sure why it doesn't now. If I start laravel-websockets on the command-line, my app connects fine. If I start it with supervisor, my app can't connect. It's listening on the same address and port. Any ideas where…
John P
  • 91
  • 7
1
vote
0 answers

Laravel websocket on kubernetes - some calls are being dropped

We have an application that uses laravel websocket package and is deployed on kubernetes with two running pods. When a call is made, only clients who are connected to that pod get the message and others being dropped out. We tried using redis as a…
1
vote
2 answers

How to run laravel websockets in laragon?

How to run laravel websockets in laragon? when run command to start websockets php artisan websockets:serve it's not working because https://i.stack.imgur.com/Ji9Z6.jpg and its still suck there https://i.stack.imgur.com/vcHH5.jpg this is error on…
shado
  • 21
  • 6
1
vote
0 answers

Laravel Websockets on vps serve

I install laravel websockets is working fine in localhost when i upload in server (inmotionhosting, Centos7) is not work brodcasting.php 'pusher' => [ 'driver' => 'pusher', 'key' => env('PUSHER_APP_KEY'), …
SAWA Group
  • 101
  • 1
  • 7
1
vote
1 answer

v-for loop print empty row after run

I am working on vue component file, I fetched data through laravel WebSockets, now I want to print the selected data in a table in the template tag, but my rows are in the table printed blank, rows are increasing but with empty data. please let me…
1
vote
0 answers

supervisorctl restart all ERROR (spawn error)

I install supervisor sudo apt install supervisor I set wesocket.conf file in "/etc/supervisor/conf.d/websocket.conf". In there [program:websocket] command=/usr/bin/php /var/www/project/artisan websocket:serve directory =…
1
vote
0 answers

Laravel WebSockets stopped working after several hours

Once I have executed this command php artisan WebSockets:serve and I just leave my computer idle or sleep mode. After 7-8 hours ( checked from WebSocket's statistic table ), the WebSockets has stopped working. Following is the log that I retrieved…
Drew
  • 123
  • 10
1
vote
0 answers

How to use Laravel WebSockets with IIS8?

I am using Laravel Websockets (by BeyondCode) - https://beyondco.de/docs/laravel-websockets/getting-started/introduction. May I know how can I install it on IIS8? I have no problem configured it on localhost.
Drew
  • 123
  • 10
1
vote
1 answer

Laravel event() not working in production

im trying to deploy my laravel-project via forge and digitalocean. And while it is working perfectly fine in my local development enviroment, im having a hard time getting the laravel-websockets package running. So while my "CruiseCrontroller" is…
N. Kue
  • 77
  • 1
  • 7
1
vote
0 answers

Does laravel echo support mediastream data

Does laravel echo support mediastream data? I'm trying to send a video stream to laravel echo but it returns empty {}. Below is the real stream data if I console log it. let channel =…
stalwart1014
  • 451
  • 1
  • 9
  • 29
1
vote
1 answer

Laravel-Echo not subscribing to private channels through Vue.js

I'm developing a project with Laravel (back) and Vuejs (with Vuex). I also use Sanctum:auth to authenticate users, laravel-websockets and Laravel-Echo for broadcast. Before, I had received an authentication problem on my console with the error:…
1
vote
1 answer

laravel echo users in presence channel not updated, how to trigger refresh/update?

I'm using Laravel Echo with a presence channel. All my events are working.. .here(), .joining() and .leaving() Let's say a user is the first to join this presence channel. As other users join the .here() and .joining() events will allow a list of…
vesperknight
  • 720
  • 9
  • 17
1
vote
1 answer

How to configurate Laravel websockets server for external script, using ssl in apache

I have socket server made by laravel-websockets for laravel app, which through normal ws I can make connections to in both the web page and external node.js script using laravel-echo and everything is fine. The problem came with the ssl. The site is…
Marin I
  • 11
  • 3
1
vote
0 answers

Creating a websocket system for third party users to connect to

I'm currently in the process of creating a RESTful API secured by an OAuth authentication system using Laravel's passport package and I'm wanting to create some sort of websocket system to allow the third party clients to subscribe to a websocket…
hcphoon
  • 538
  • 5
  • 24