Skip to main content
1 vote
0 answers
44 views

Sending message from server to client in Ratchet WebSocket

I need to send message to the client but not like response to it's message. In other words - i am doing some business logic on my server and when I got the result I want to send it to all clients. I ...
Toma Tomov's user avatar
  • 1,726
0 votes
1 answer
63 views

GosWebSocketBundle upgrade to symfony 6.4 gives option already exists error

We are upgrading a symfony 5.4 project to 6.4 but we are stuck on gos-websocket. When we are executing the command php bin/console gos:websocket:server -vvv we are getting following error: [Symfony\...
keno's user avatar
  • 93
1 vote
1 answer
56 views

Ratchet messages not being sent to socket client

I am developing a terminal on web app for personal use and using Ratchet for the socket server. And It is working fine with simple commands like ls etc. But when I run commands like ping it just doesn'...
jayshankarshahu's user avatar
0 votes
1 answer
653 views

laravel-echo and socket.io are unable to connect with laravel-echo-server

i am new to web sockets, i am using laravel echo, redis, socket.io with laravel-echo-server. But when i console.log(window.Echo.connector.socket.connected), it prints false in console. My terminal ...
mahan singh's user avatar
0 votes
0 answers
93 views

Websocket Connection on localhost

im trying to create the WebSocket connection on localhost. but it is not working. when I'm connecting it on HTTP connection and use ws then it is working properly. URL http://192.168.18.101/ enter ...
Muhammad Qasim's user avatar
0 votes
0 answers
30 views

Why isn't my Laravel WebSocket event hitting or showing output?

Using WebSocket in laravel Event neither hits nor shows the output. I want to create an event using WebSocket in the chat app and want the output on the screen, as I made a channel. but When I write ...
Arslan grewal's user avatar
1 vote
0 answers
472 views

PHP 8 websocket server

I have two Servers Server 1 -> AMD Epyc 7371 - 16c/32t - 3.1 GHz/3.8 GHz Ram 256Gb Server 2 -> 2× Intel Xeon Gold 6242R - 20c/40t - 3.1 GHz/4.1 GHz Ram 384Gb on both servers I have installed a ...
Antonio Sordellini's user avatar
0 votes
2 answers
212 views

How to reject duplicate PHP socket connection from the same client?

I want to reject duplicate socket connection when the same connected client try to connect again. The below code I tried to store gamerId into an array then later check the array if new gamerId ...
devtz007's user avatar
0 votes
1 answer
342 views

ratchet websocket connection failed on VPS

I try to write ratchet chat webAplication. it works well on xampp but it doesn't work on server. I run server.php from ssh and get this error when open the site: WebSocket connection to 'ws://...
Arastoo haghighi's user avatar
1 vote
0 answers
324 views

how to activate websocket over SSL (WSS) in apache2.4 and cPanel server?

I'm using websocket over 8090 port in my website and it works correctly, but my website is using let's encrypt ssl and browsers doesn't accept ws:// and it returns error so i can not use my non-ssl ...
yasaman sabahi's user avatar
0 votes
2 answers
863 views

How can I share PHP objects between Swoole workers/processes

I am using Swoole to develop my own WebSocket server with custom logic. I've made simple wrapper for Swoole\WebSocket\Server and implemented some classes that work as event handlers. Here is wrapper ...
MihaOo's user avatar
  • 9
0 votes
0 answers
905 views

How To Display WebSocket Data into Browser PHP

Here is my Question: i just created simple websocket using php language, everything is working fine and successfully receiving message from client in CMD. i want to show client response into browser ...
TalkFreeSMS's user avatar
0 votes
1 answer
263 views

Remote Websocket server performance

I have created a php websocket server, and a php websocket client, the websocket client communicate with the server using JSON format, each message means an operation to handle by the websocket server....
MiharbKH's user avatar
  • 206
1 vote
0 answers
306 views

PHP WebSocket connection issue over SSL

I have some issues connecting a web socket in PHP. I'm using this repo: https://github.com/ghedipunk/PHP-Websockets If I run in localhost, everything is fine, the service is on. But when I move to the ...
Sergio Lopez Loya's user avatar
3 votes
0 answers
599 views

How can i configure Workerman works through wss with nginx?

I just started to learn websockets with "Workerman" library on my nginx server, and i ran into a problem. I tried some examples, so I think I almost made it. I have the following: Script ...
mixamm's user avatar
  • 59

15 30 50 per page
1
2 3 4 5
19