Skip to content

uwebsocketjs in socket-io server #4250

@bogdankatishev

Description

@bogdankatishev

Hello,

I am using the code of this blog post to test the integration of uwebsocketjs in socket-io server:
https://socket.io/blog/socket-io-4-4-0/#support-for-uwebsocketjs

Everything seems to be working fine but when accessing this url: http://localhost:3000/socket.io/?EIO=4&transport=websocket (to test error handling), I receive the following error message in my console:

Error: Returning from a request handler without responding or attaching an abort handler is forbidden!
terminate called without an active exception
Aborted (core dumped)

And then it crashes the webserver.

I looked into various documentations and I tried catching the aborts but nothing seems to give me more info to resolve this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions