Closed
Description
Currently i'm using SocketIo to make chat application.
It doesn't have any problem in Chrome.
But in IE 11, after few minute, i can't use socket to emit event. It seems socket connection is disconnected.
I searched and found any issue about timeout of tcp/socket in IE 11. But still can't found solution.
I only use websocket for socket.io, prevent them use long-polling. The config socket in client side like below:
import socket from 'socket.io-client';
socket('/test', { transports: ['websocket'], upgrade: false });
Server i'm using express and socket redis
import socketio from 'socket.io';
import socketioRedis from 'socket.io-redis';
const ioRedis = socketioRedis('redis://localhost:6379');
const io = socketio(server, {
adapter: ioRedis,
transports: ['websocket'],
});
Metadata
Metadata
Assignees
Labels
No labels