Replies: 2 comments
-
Are you still interested in a solution to this? I've been running into a similar issue with Nuxt and Nitro where my websockets would simply refuse to connect, get an ECONNRESET -- I have made some changes to server.ts and got it to work for me. yymv -- might eventually do a PR |
Beta Was this translation helpful? Give feedback.
0 replies
-
@rschmied would love to get more info! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I've been attempting to use Nitro's devProxy option to connect to a WebSocket server, but it never gets past the connecting state (and times out if I have that option enabled), can anyone see if I'm doing something wrong:
When my WebSocket server is running
let ws = new WebSocket("ws://localhost:8080")
will connect, butlet ws = new WebSocket("ws://localhost:3000/ws")
fails. If it's helpful I've created a simple reproduction of the issue (including a very basic WebSocket server) at https://github.com/chrisdc/nitro-ws-proxy-testBeta Was this translation helpful? Give feedback.
All reactions