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.

"Transport not open" after upgrade to v4

See original GitHub issue

Describe the bug Yesterday I have upgraded an Angular application which uses socket.io-client to version 4.0.0. The server was also upgraded to 4.0.0. Today our logging recorded multiple “Transport not open” errors on the client side which were never observed before. The (minified) stack trace looks like this:

m.send at line 1:198353      {snip} .onClose()),this}send(e){if("open"!==this.readyState)throw new Error("Transport not open");this.write(e)}onOpen(){this.readyState="open",thi {snip}
c.flush
c.sendPacket
c.write
PVQj.t.Manager._packet
t.Socket.packet
t.Socket.emit

To Reproduce Unable to reproduce so far.

Platform:

  • Device: Chrome 89 + Safari 14
  • OS: Windows + Mac

Additional context socket.emit() is only called when socket.connected returns true. But somehow during the emit the Transport not open is thrown.

I have downgraded the client to 3.1.3 to see if the error persists and will update this issue tomorrow with the results.

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
texonidascommented, May 14, 2021

I’m having a similar issue to @RonnieRocket147, ours seems to be triggered by a user clicking on tel protocol links. The user in question also has relatively poor internet, but it only occurs as an actual error when tel protocol links are clicked.

2reactions
darrachequesnecommented, Mar 16, 2021

I could indeed reproduce, thanks.

This seems to be linked to this commit, included in engine.io-client@4.1.2 and socket.io-client@3.1.2.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Transport polling error with Socket.Io - Stack Overflow
The simplest way to fix this is to change the line of code in the client from this: var socket = io. connect('http://localhost');...
Read more >
KB5017811—Manage Transport Layer Security (TLS) 1.0 and ...
The message states that the site uses an outdated or unsafe TLS protocol. To address this, you can update the TLS protocol to...
Read more >
Solved: Hive JDBC : Could not open client transport with J...
Solved: Hello, I tried to connect to hive using jdbc but i had the following error: Error: Could not open - 101772.
Read more >
How to troubleshoot long running Transport request - SAP Blogs
How to troubleshoot long running Transport request:- · Go to SE38, execute the report RSTPTEST. · In STMS_IMPORT transaction -> in menu click...
Read more >
External Mail Flow Not Working After Exchange Server Upgrade
To resolve the issue, restart the Microsoft Exchange Frontend Transport service. exchange-2013-sp1-front-end-transport-02. After the service has ...
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