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

hotreload broken for renderer after adding WS dependency. #209

Open
SamHoque opened this issue Jan 26, 2024 · 2 comments
Open

hotreload broken for renderer after adding WS dependency. #209

SamHoque opened this issue Jan 26, 2024 · 2 comments

Comments

@SamHoque
Copy link

client.ts:78 WebSocket connection to 'ws://localhost:5173/' failed: Error during WebSocket handshake: net::ERR_CONNECTION_RESET
setupWebSocket @ client.ts:78
client.ts:78 Uncaught (in promise) DOMException: Failed to construct 'WebSocket': The URL 'ws://127.0.0.1:undefined/' is invalid.
at setupWebSocket (http://localhost:5173/@vite/client:465:20)
at fallback (http://localhost:5173/@vite/client:444:22)
at WebSocket. (http://localhost:5173/@vite/client:480:13)

@caoxiemeihao
Copy link
Member

Can you provide a minimal production repo?

@i7en0v91
Copy link

i7en0v91 commented Feb 1, 2025

Got same errors with undefined port and broken WS connection. Everything had been fixed after upgrading to the most recent versions, particularly Vite 6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants