All Questions
264
questions
0
votes
0
answers
26
views
Socket.io not connecting on mobile web browser
I'm encountering an issue when trying to connect to a socket from a mobile browser. When I open the same link on a PC, the socket connection is successful, but on the mobile browser, it disconnects ...
-2
votes
1
answer
175
views
io.connect() is not working and i can't figure what is the problem
[and this is the angular code ][1] this is my node js code
0
votes
2
answers
1k
views
Frequent Disconnection and re-connection of web socket requests after deployment in the K8s
I am working on the development of a chat application using the socket.io library in the back end and ngx-socket-io in the front end. The chat functionality is working fine on the local environment ...
1
vote
0
answers
250
views
Angularjs http requests slow due to socket.io
Hoping someone might have experienced this before and can offer a solution. I have an application that runs on Express, Nodejs and Socket.io server with Angularjs frontend. It looks like whenever ...
1
vote
0
answers
283
views
Error during WebSocket handshake: Unexpected response code: 400 on https
I am getting below error when I installed the ssl certificate for my domain. So I have changed websocket URL begin with ws:// to wss:// but I am getting this error.
I am using Amazon Linux, docker ...
0
votes
1
answer
177
views
socket.emit from browser to browser not firing
socket.emit inside socket.on with angularjs is not firing
Here is my code
socket.emit('event1', 'event1 data'); // This is sent to nodejs server
socket.on('login', function(data) { // This is ...
1
vote
1
answer
2k
views
Ngx-socket-io Package is not work in Angular.js
I was trying to use the ngx-socket-io package, which does not work in Angular.js. Is there an alternative package I can use that will work in Angular?
Moddule.js:
import { SocketIoModule, ...
0
votes
1
answer
146
views
Socket.io emit not working (by visiting URL)
I am developing an app that gets a signal from external hardware equipment. I catch this signal by redirecting it to a certain URL in my app: '/impulse/:id'.
I am able to catch the signal, but the ...
0
votes
1
answer
733
views
single room for single user in socket.io
I am working on nodejs and angularjs. I am using socket.io to show progress for the ongoing process.
On client side
let socket = io.connect();
socket.emit('room',{roomId:user_id});
socket.on('data'...
0
votes
1
answer
134
views
How to setup socket.io for getting data real-time
I'm new to mean-stack and I followed some instruction on how to get real-time data. I tried every single steps but none of it is working, how can I use socket.io correctly? I provided my code here for ...
1
vote
2
answers
1k
views
Using socket io to get data realtime not working
I'm new to mean-stack and I followed some instruction on how to get real-time data. I tried every single steps but none of it is working, how can I use socket.io correctly? I provided my code here for ...
0
votes
0
answers
462
views
How to send notification based on date stored in DB
I am building an CRM (Customer Relationship Management) web app using NodeJS and angular js. The user will set a date time to contact client in case the client is unreachable. The part where I am ...
0
votes
1
answer
60
views
Access emitted data from a socket(Socket.io) anywhere
This is my first attempt at using Socket.io
I'm creating an api to emit some data. It work's fine.
Here is the code I think needs to be modified :
app.use(express.static(__dirname + '/node_modules'));...
1
vote
0
answers
154
views
angular-socket.io 404 (Not Found)
I have been working on angular-socket.io, the server is listening to my designated port. My client keeps getting this ERROR:
index.js:83 GET http://localhost/socket.io/?EIO=3&transport=polling&...
1
vote
1
answer
58
views
New data emit by socket.io is not take by AngularJS
I have a NodeJs server with socket.io, my app is a chat I am using AngularJS as a client, my problem is when I send a new data to my databases is saved correctly, but when I got to my client the data ...