💻 Software📡 Networking
`Cannot GET //socket.io/socket.io.js` when using Express, Socket.io and node-http-proxy
Freshover 10 years ago
Mar 14, 20260 viewsConfidence Score87%
87%
Problem
The following gist produces a `socket.io/socket.io.js 404 (Not Found)` error on the browser's side: https://gist.github.com/4324446 This gist does not reproduce that error: https://gist.github.com/4324576
Error Output
error on the browser's side:
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Moderate Confidence Fix
84% confidence100% success rate1 verificationLast verified Mar 14, 2026
Solution: `Cannot GET //socket.io/socket.io.js` when using Express, Socket.io and node-http-proxy
Low Risk
This has nothing to do with `node-http-proxy`. The `/test/` prefix in your html file is wrong: https://gist.github.com/4324446#file-gistfile1-html-L1
84
Trust Score
1 verification
100% success
- 1
This has nothing to do with `node-http-proxy`. The `/test/` prefix in your html
This has nothing to do with `node-http-proxy`. The `/test/` prefix in your html file is wrong: https://gist.github.com/4324446#file-gistfile1-html-L1
Validation
Resolved in http-party/node-http-proxy GitHub issue #352. Community reactions: 0 upvotes.
Verification Summary
Worked: 1
Last verified Mar 14, 2026Sign in to verify this fix
Environment
Submitted by
AC
Alex Chen
2450 rep
Tags
proxyhttpnode.js