All Questions
11
questions
0
votes
1
answer
308
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 ...
0
votes
0
answers
80
views
Could not load content for http://localhost:8000/js/pusher.js.map
console error :
"DevTools failed to load source map: Could not load content for http://localhost:8000/js/pusher.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE"
i ...
1
vote
1
answer
453
views
PHP socket_read waits for data to read
I'm new to socket stuff, here is my piece of code:
while (true) {
$status = $this->client->read();
echo $status;
$this->eventQueue->hasEventToSend() ? $this->client->...
1
vote
1
answer
3k
views
Laravel websocket is getting error when i send a message from my JS client
Im building a websocket service in my Laravel app versión 6.2, and using the laravel-websockets package version 1.3 (https://github.com/beyondcode/laravel-websockets).
So, it works fine, but im ...
2
votes
1
answer
3k
views
How to listener on realtime firebase database for get data dynamically by backend laravel and websocket ,without use javascript
I need to get data from firebase realtime database dynamic with out refresh page so, how to do listener on realtime firebase database for get data dynamically by backend laravel and websocket, not ...
0
votes
1
answer
2k
views
Laravel Websockets - error:failed: Error in connection establishment:net::ERR_SSL_VERSION_OR_CIPHER_MISMATCH
I´ve been losing days on this one, read a lot of other questions but i can´t simply put this to work and don´t know where is my problem, so i was hopping someone could point me in the right direction. ...
0
votes
0
answers
447
views
Send php array to a socket
How to send a php array to a socket server?
I have a webservice and i want to send a php array to a socket webservices.
How i can do it?
I have tried this:
$host = "170.51.249.101";
$port = ...
2
votes
2
answers
1k
views
Bidirectional WebSockets in laravel?
Anyone here familiar with bi-directional WebSockets in laravel?
Please note I am not talking about pusher+echo. pusher+echo cannot make a request to the server.
I have experience in express.js in ...
1
vote
1
answer
4k
views
laravel websocket in homestead not working
I've tried all the ways to implement this package Laravel Websockets with homestead,
locally it works but using nginx Homestead doesn't.
1 -> configuration for /etc/nginx/sites-available/example.test ...
0
votes
1
answer
687
views
how to send event to the client after specified time in web socket(pusher) Laravel?
I am beginner in Web Socket. i am building an online exam system. i already have timer coundown system.so while any student taking an exam, JavaScript sends an ajax request every second to the server, ...
0
votes
0
answers
311
views
Laravel session data over websocket
Recently I have being playing with a project I found on github called Laravel Websocket Poker (https://github.com/troymccormick/laravel-pkr/). I have it all running and working well. When you open the ...