Replies: 2 comments 1 reply
-
|
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.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
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