Bug Description
I have originally reported the issue in the context of another issue that had been closed libp2p/js-libp2p#3438 but I was asked to open a new issue so here it is :).
In my case, I found the issue when my libp2p application stopped being able to connect to peers using WebSocket Secure and also opened the issue there (not originally knowing where the problem was coming from): libp2p/js-libp2p#3438
Undici v8.x breaks Node.js native WebSocket over WSS (HTTP/2)
Reproducible By
I have created a basic demo project which reproduces the issue. Please see here:
https://github.com/cristianmadularu/Undici-libp2p-websocket
Please see its readme since it contains all the relevant information.
Environment
Windows 11, 64bit and also Debian Slim (node:24-slim)
Additional context
The problem started with the 8.x release.
Bug Description
I have originally reported the issue in the context of another issue that had been closed libp2p/js-libp2p#3438 but I was asked to open a new issue so here it is :).
In my case, I found the issue when my libp2p application stopped being able to connect to peers using WebSocket Secure and also opened the issue there (not originally knowing where the problem was coming from): libp2p/js-libp2p#3438
Undici v8.x breaks Node.js native WebSocket over WSS (HTTP/2)
Reproducible By
I have created a basic demo project which reproduces the issue. Please see here:
https://github.com/cristianmadularu/Undici-libp2p-websocket
Please see its readme since it contains all the relevant information.
Environment
Windows 11, 64bit and also Debian Slim (node:24-slim)
Additional context
The problem started with the 8.x release.