Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade 6.5.2 but the error of uWebsocket aborted write failed still appear #5069

Closed
dangerous1990 opened this issue Dec 6, 2023 · 2 comments
Labels
bug Something isn't working package:engine.io This concerns the "engine.io" package

Comments

@dangerous1990
Copy link

dangerous1990 commented Dec 6, 2023

Describe the bug

socketio/engine.io@3144d27
This is commit has fixed the bug, but some times will still appear.

image

To Reproduce
There is no reproduce path , in my production env has appeared 2~3 times per month.

Please fill the following code example:
the server code

const app = App();
  const io = new Server({
    path: cfg['path'],
    cors: { origin: cfg['origin'] || '*' },
    pingTimeout: cfg['pingtimeout'] || 25000,
    pingInterval: cfg['pinginterval'] || 20000
  });
  io.attachApp(app);

Engine.IO server version: 6.5.2

engine.io@~6.5.2:
  version "6.5.3"
  resolved "https://registry.npmmirror.com/engine.io/-/engine.io-6.5.3.tgz"
  integrity sha512-IML/R4eG/pUS5w7OfcDE0jKrljWS9nwnEfsxWCIJF5eO6AHo6+Hlv+lQbdlAYsiJPHzUthLm1RUjnBzWOs45cw==
  dependencies:
    "@types/cookie" "^0.4.1"
    "@types/cors" "^2.8.12"
    "@types/node" ">=10.0.0"
    accepts "~1.3.4"
    base64id "2.0.0"
    cookie "~0.4.1"
    cors "~2.8.5"
    debug "~4.3.1"
    engine.io-parser "~5.2.1"
    ws "~8.11.0"

uwebsocket version

uWebSockets.js@uNetworking/uWebSockets.js#v20.31.0:
  version "20.31.0"
  resolved "https://codeload.github.com/uNetworking/uWebSockets.js/tar.gz/809b99d2d7d12e2cbf89b7135041e9b41ff84084"
  integrity sha512-7+v4bdbU346UF5h8yP0f9SpP1kvMMRSzBqlgOpKylznFV0360HqNlcYglZcLyPWeXXQpbJFnt2CegiWyDXrJsA==

@dangerous1990 dangerous1990 added the bug Something isn't working label Dec 6, 2023
@dangerous1990
Copy link
Author

This is error will terminate process. if it can not resolve , there is another way to catch the error avoid the process terminate?

@darrachequesne darrachequesne transferred this issue from socketio/engine.io Jul 9, 2024
@darrachequesne darrachequesne added the package:engine.io This concerns the "engine.io" package label Jul 9, 2024
@darrachequesne darrachequesne added this to the socket.io@next milestone Sep 20, 2024
@darrachequesne
Copy link
Member

For future readers:

This should be fixed by d5095fe, included in engine.io@6.6.1 and socket.io@4.8.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working package:engine.io This concerns the "engine.io" package
Projects
None yet
Development

No branches or pull requests

2 participants