Questions tagged [laravel-websockets]

190 questions
0
votes
0 answers

can not conenct to a private channel from react app to laravel websockets

I have a project made by laravel and react I want to have a user to user chat app in my project I created a private channel in laravel now I want to connect to this channel from my react app but it gives me the following…
0
votes
0 answers

Connect to laravel websocket from an ionic project

` your text` Currently I'm trying to connect to laravel websocket 'beyondcode/laravel-websockets' from my ionic project . still theres no connection . ive already ran 'php artisan websocket:serve' so that websocket would run . can anyone enlighten…
0
votes
0 answers

Doesn't connect production websockets server with laravel

The problem is that when I enter the path https://my.domain.com/laravel-websockets and click connect, the server does not start up. Stack is: Laravel 8 , Apache2 + Vanilla Js I have this in my…
0
votes
1 answer

Laravel websocket on https local server

I'm trying to implement a local network-accessible laravel app with websocket. Everything works well on http, now we need to upgrade to https to allow the app on windows desktop notification. I made a self-signed certificate using openssl command I…
Roi
  • 503
  • 1
  • 12
  • 25
0
votes
0 answers

Pusher connection not working on physical Android device, Flutter

I am using pusher_client 2.0.0 to connect to Laravel Websockets which is hosted on my VPS and replaces paid Pusher. When the application is run on the Android Emulator, or on a physical device in debug mode, everything works fine. The data is coming…
user21763309
0
votes
0 answers

Laravel websocket does not authenticate in docker container

I am deploying laravel websockets in a docker environment with JWT authentication, but I am encountering some problems. Here is the scenario: Docker compose: websocket: container_name: websocket build: args: user: root …
0
votes
0 answers

Laravel websocket, stream the entire model with relations constantly

I'm creating a live restaurant app, my goal is to stream data constantly from the database, Meaning some items will constantly change is_active column from false to true and vice versa and i want the users to have the up to date data all the time I…
Janjac
  • 80
  • 4
0
votes
0 answers

websockets:serve cron job error on shared hosting laravel

I am using beyondecode laravel websocket package on my laravel project. I have done all the configurations correctly. On hostinger, set a cron job to serve websocket like /usr/bin/php…
0
votes
1 answer

What will be the host name of websocket on server?

I am using laravel websocket in my laravel project. In broadcasting.php, there is pusher configuration like this below: 'pusher' => [ 'driver' => 'pusher', 'key' => env('PUSHER_APP_KEY'), 'secret' =>…
quad que
  • 31
  • 6
0
votes
1 answer

Pusher error: cURL error 7: Failed to connect to 127.0.0.1 port 6001 after 0 ms: Connection refused

I'm having problems connecting a project in Vue 3 with a Laravel websocket that is in Forge, I've tried all the ways, enabling and disabling settings, but the same error always returns: Pusher error: cURL error 7: Failed to connect to 127.0.0.1 port…
0
votes
1 answer

Authenticate users based on condition rather than Auth System with Laravel Websockets/Echo?

I'm looking to create a chat system for an application of mine, an application where Authenticated users can create public or private events. I'm using Laravel Websockets and Laravel Echo. When I create a private channel and a user is not logged in,…
Ryan Sacks
  • 498
  • 1
  • 8
  • 38
0
votes
0 answers

How to configure BeyondCode Laravel-Websocket on cPanel with or without ssl?

I've a project setup that run beyondcode/laravel-websocket. It's configuration is setup so that it can run on local server and it does. Now i have uploaded project on cPanel. I can access the websocket dashboard from the server but i am not being…
0
votes
0 answers

how to integrate beyondcode laravel websocket replacement for pusher on ubuntu live server running ssl

am using beyondcode laravel websocket beyondcode/laravel-websockets": "^1.14", which is the replacement for pusher, php pusher pusher/pusher-php-server": "^7.2" laravel echo "laravel-echo": "^1.15.0", and vite for react since frontend is react…
0
votes
0 answers

How to config Laravel Websockets to use to use SSL?

I have configured my Laravel websockets to use SSL, but it's giving the "Peer's certificate issuer not recognized". Here's my config files. I'll be so grateful if someone can help me. broadcasting.php 'pusher' => [ 'driver' => 'pusher', …
0
votes
1 answer

How to use Custom WebSocket Handlers?

I'm trying to react to connecting with laravel-websockets. There are custom handlers https://beyondco.de/docs/laravel-websockets/advanced-usage/custom-websocket-handlers And there are endpoint WebSocketsRouter::webSocket('/my-websocket',…
Lamantinoss
  • 159
  • 1
  • 8