question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Socket connection in IE 11

See original GitHub issue

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'],
});

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

github_iconTop Results From Across the Web

Websocket connection on IE 11 - TechNet - Microsoft
Web-socket connection on IE fails to initialise, unless developer options (F12) are opened, thereafter it works seamlessly.
Read more >
Web socket client connection issue in Windows 8.1+ IE 11 + ...
I am have created a C++ web socket server. I am trying to access it from IE 11 using web socket Javascript API....
Read more >
Web Sockets | Can I use... Support tables for HTML5, CSS3, etc
"Can I use" provides up-to-date browser support tables for support of front-end web technologies on desktop and mobile web browsers.
Read more >
Websocket connections not working in IE - Google Groups
Hi, We are currently experiencing an issue when trying to create websocket connections against an EventBusBridge server in Internet Explorer (10)
Read more >
Set Up Java for Internet Explorer - TechDocs
The only browser supports is Microsoft Internet Explorer 11. IE 11 is the only browser that still supports NPAPI, which RDP and SSH...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found