All Questions
83
questions
0
votes
1
answer
52
views
why is only one of my client side sockets receiving the emit from the server using socket.io?
So i got my server setup with express and nodejs as follows
here is a mini project which encapsulates better what i want to achieve: https://file.io/2OFIswnufLFO
I think the main problem is i dont ...
0
votes
0
answers
54
views
Can't access my Nodejs Express Server with socket.io (CORS)
I am trying to use socket.io in order to send data between connected users.
Currently I am just using a localhost vue client and NodeJS express server but for some reason I am getting this error:
...
1
vote
0
answers
318
views
How to Create VueJs App With WebSocket Server on Same Port
I'm a bit of a JS and Vue noob and I'm trying to figure out how to run my Vue app and a websocket server for that app on the same port 80 (to later be put behind a reverse proxy). I am able to get ...
0
votes
2
answers
2k
views
Can't establish connection between VueJS 3 and Socket.io
I am completely new to Socket.IO and generally to Back-end technologies. However, I have experience with Vue and I am trying to create a simple multiplayer game.
But I am stuck on the first step... ...
1
vote
0
answers
58
views
Chromium based browsers and firefox are disconnecting websocket when launching tel: links
I have this issue where chromium browsers and firefox are disconnecting and causing a ping timeout with my websockets(socket.io).
I'm using vue 2.7 on the frontend and node 16 on the backend
Safari ...
0
votes
0
answers
58
views
socket.io is not working in entire component ! its work only inside a function in vue js
<form class="login-form" @submit.prevent ="Login">
<div class="form-inner">
<h1>Login to Chat</h1>
<label for="username"&...
1
vote
1
answer
65
views
how to use socket io many times in the same app(vue js node js)
I have a big app which containes a real time chat and real time notification and real dashboard .
i'm new to socket io so can someone explain to me how the implmentaion will be?
1
vote
0
answers
115
views
how to call a function on every open page using node.js vue.js and socket.io
im new to websockets and for my project im using Socket.io.
what im trying to achive is having two taps and when a user clicks the button showDiv
the div will be displayd to all connected users. i do ...
0
votes
1
answer
2k
views
Unable to connect to socket.io server over local network
I am trying to set up communication between my nodeJS server and a vueJS app via socket.io. I have been able to get the socket communication working on my main computer so far. When running my node ...
0
votes
1
answer
5k
views
How to authenticate Socket.IO connection with httpOnly cookie
I have the following question. I have a NestJS back-end and a VueJS front-end.
I want to notify the front-end when the back-end is done with a long running task. I thought using socket.io for this is ...
0
votes
0
answers
1k
views
when i start my vue.js project i receive : "We're sorry but app doesn't work properly without JavaScript enabled. Please enable it to continue."
I want to create a chat with vue.js, socket.js and node.js, I created an API before and I want to add socket.js but when I start the app the app correctly connects to my API and to socket .js but I ...
0
votes
1
answer
942
views
socket.io cors error . i try to connect socket.io in laravel vuejs but cors error getting
Access to XMLHttpRequest at 'http://dolphin.test:3001/socket.io/?EIO=4&transport=polling&t=Ni7Nzha' from origin 'http://dolphin.test' has been blocked by CORS policy: No 'Access-Control-Allow-...
-1
votes
1
answer
173
views
How to connect node server with vue socket
I am using vue.js(Laravel) to connect with my chat node server, its connect socket but emit not work with function.
var socket = io.connect('http://localhost:3000/api/message');
socket....
2
votes
1
answer
597
views
Express Session with socket.io and vue gets reset on every pageload
im trying to create a simple app with a login just to play around with socketio, vue and nodejs (express), i got the sending and receiving to work on both the client and the server.
But i got a ...
0
votes
1
answer
2k
views
socket.io not sending events to others in room
So I'm trying to figure out what is going on with a very basic socket.io application. I'm testing this by having 2 different tabs that register as different users and trying to see if the other gets ...