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.

Error: socket.io connection error: {"type":"TransportError","description":0}

See original GitHub issue

Introduction of a2554fff2204586c61c9bc33f638ccdf562e0eb8 made a problem in the tests appear.

https://travis-ci.org/github/ether/etherpad-lite/jobs/737680722#L3586 [2020-10-21 10:58:18.145] [WARN] client - Error: socket.io connection error: {"type":"TransportError","description":0} -- { errorId: 'y5bvv2vRcJP3P2OhF2M3', msg: 'Error: socket.io connection error: {"type":"TransportError","description":0}', url: 'http://localhost:9001/p/FRONTEND_TEST_whfdzDgZSWTDON78O2hH', source: 'http://localhost:9001/javascripts/lib/ep_[secure]/static/js/pad.js?callback=require.define&v=89e63f2c', linenumber: 225, userAgent: 'Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0' }

This seems to happen only on Windows and Firefox before navigating to the timeslider with:

var iframe = $('#iframe-container iframe'); iframe.attr('src', iframe.attr('src')+'/timeslider' + revision);

I am not sure if the error goes away, if we go to the timeslider via button, if it’s related to https://github.com/socketio/engine.io/pull/601/files because we are closing the socket.io connection or if we have a bug in our code.

It does not seem to have an impact on the reliability of the tests.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
rhansencommented, Nov 3, 2020

The socket.io errors in the test runs are benign. They have always been there, we just didn’t see them until #4420 was merged. I’ll see what I can do to eliminate the noise.

1reaction
JohnMcLearcommented, Oct 27, 2020

Please follow the issue guidelines.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting connection issues | Socket.IO
IO client will always try to reconnect, unless specifically told otherwise. Let's review how you can troubleshoot a connection failure.
Read more >
Socket.io-client connection error: websocket error
By default, the client will try to establish a WebSocket connection if possible and will fall back on HTTP long polling if not, ......
Read more >
socket.io transport error "ECONNRESET" · Issue #1647 - GitHub
When I use socket.io-client in a browser, it connects normally. But when I use from nodejs server, it generates a connection error. engine.io-client:socket ......
Read more >
socket.io - npm
Socket.IO enables real-time bidirectional event-based communication. It consists of: a Node.js server (this repository); a Javascript client ...
Read more >
Socket.IO - Error Handling - Tutorialspoint
Socket.IO - Error Handling, We have worked on local servers until now, which will almost never give us errors related to connections, timeouts,...
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