All Questions
42
questions
0
votes
0
answers
12
views
Websocket Handshake at the same time makes server 504 bad gateway
Okay, here's the detail
I have ubuntu VM with nginx as web server, here's all the app
backend, laravel
frontend, laravel
websocket, socketio, expressJS (run on port 8015, reverse proxy to domain-ws....
0
votes
1
answer
190
views
Client laravel-echo does not respond to server events
I'm trying to build my docker sample to work with php8.2, laravel10, websockets and redis.
I have already prepared all the necessary docker images and combined them with the Caddy proxy.
I also used ...
1
vote
1
answer
3k
views
Socket.io with Laravel 10?
I'm learning a little Laravel and want to try websockets with Socket.io. I found several tuts, but they're all quite old.
A thing that I saw is that nowadays Laravel suggests to have Laravel Echo on ...
0
votes
0
answers
188
views
Trouble with WebSocket (wss) Connection Using Socket.IO in Laravel, Node.js (Redis + Socket.io), and Angular
I'm working on this project where I've got Laravel in the backend, Node.js with Redis and Socket.IO for websocket, and Angular in the frontend. Everything is working fine in my local environment but ...
0
votes
0
answers
83
views
How to emit an socket event from one file and listen to it from another file?
io.on('connection',(socket)=>{
console.log('connection');
socket.on('connected',(userid)=>{
users[userid]= socket.id;
});
socket.on('updatecurr',()=>{
console.log('request');
...
1
vote
0
answers
381
views
How to test Laravel echo server websockets in Postman
I entered wss://echo-dev.***.de as url and selected Socket.IO type and version 2 for client version. Also added Bearer {token} in the headers section.
But still cannot receive any message.
0
votes
1
answer
67
views
Websocket doesn't connect despite socket io server running
I'm using socket io + Redis + Laravel event
checklist:
redis server started.
redis client responding to 'ping'
port 6379 is open and not blocked
server.js
'use strict';
var app = require('express')()...
0
votes
0
answers
269
views
Nuxt JS Laravel echo PrivateChannel not receiving any data
I'm using Laravel 8, as an API, and a Nuxt JS front-end using the tymon auth package and v5 of the auth module. I've set up a private channel, and am trying to receive data but nothing is coming ...
0
votes
3
answers
2k
views
laravel broadcast redis socket-io, doesn't listen to event
I'm using this tutorial for laravel broadcast with redis and socket-io,
https://www.itsolutionstuff.com/post/laravel-broadcast-redis-socket-io-tutorial-example.html.
But in the final result, I don't ...
0
votes
1
answer
1k
views
Laravel Echo Doesn't connect to socket channel
I want when my socket connection in opened increase some value in my welcome.blade.php.
this is my EventClass:
// app/Events/TestEvent.php
class TestEvent implements ShouldBroadcast
{
...
public ...
1
vote
0
answers
640
views
Emit event for laravel echo with socket.io
I'm trying to implement a real-time whiteboard like this https://socket.io/demos/whiteboard/ with laravel echo on a presence channel. The problem is, how do I emit an event when another user is ...
1
vote
0
answers
691
views
Laravel Not Broadcasting to Socket.IO Client
I have created a laravel event:
<?php
namespace App\Events;
use Illuminate\Broadcasting\Channel;
use Illuminate\Broadcasting\InteractsWithSockets;
use Illuminate\Broadcasting\PresenceChannel;
use ...
0
votes
0
answers
470
views
Laravel - Websocket between two separate laravel projects
How can I make WebSocket between two laravel projects and connect them?
In other words, I need two laravel projects which one of them is a WebSocket server and another is a WebSocket client !! and I ...
1
vote
1
answer
300
views
How to do multiple call using nexmo in-app voice?
Hello i try to create in app voice following this tutorial https://developer.nexmo.com/client-sdk/tutorials/app-to-phone/client-sdk/app-to-phone/js-code/javascript and combine it with laravel. Can it ...
1
vote
0
answers
633
views
laravel-websockets connect to channles without laravel-echo
I have a websocket server implemented with laravel-websockets package which broadcasts data on some private channels. At the moment server does not support two-way communication. I want to make this ...