© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Web socket 404 error when deployed - Cloudflare Developers
CD
Cloudflare Developers
•
3y ago
•
4 replies
Painguin
Web socket 404 error when deployed
Hey noob question
, but I
'm getting 404 or 520 error when trying to establish a web socket connection from Cloudflare Worker
.
This only happen when the worker is deployed
& not locally
.
Is this an issue with the origin server blocking connection from Cloudflare network
?
The origin server is fly
.io btw
, and I
've also posted a support thread there
:
https://community.fly.io/t/websocket-connection-cant-be-established-from-cloudflare-worker/18489
Cloudflare Developers
Join
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
87,353
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
TypeError: Web Socket request did not return status 101 Switching Protocols response with Web Socket
CD
Cloudflare Developers / workers-and-pages-help
2y ago
Worker has successfully build and deployed but returning 404
CD
Cloudflare Developers / workers-and-pages-help
7mo ago
Custom domain 404 error
CD
Cloudflare Developers / workers-and-pages-help
6mo ago