Kris
Kris
CDCloudflare Developers
Created by Kris on 6/8/2024 in #general-help
Orange cloud breaks websocket app
Hellooooooo Cloudflare and general programming noob here. I've made a website that relies on a secure websocket server. When the DNS entry for the subdomain for this server is set to DNS only (grey cloud), the site works fine. However, when the DNS entry is set to Proxied (orange cloud), the site breaks completely because the websocket fails to connect. Would anyone be able to assist me in debugging this please? I don't know where to start.
15 replies
CDCloudflare Developers
Created by Kris on 4/21/2024 in #workers-help
Python Hello World error -4094
As in title. Trying to run the Python workers hello world given in the documentation produces an error code -4094.
6 replies
CDCloudflare Developers
Created by Kris on 10/6/2023 in #general-help
Redirect to specific origin with load balancing?
I've been reading the documentation for load balancing because it's a service I'm considering purchasing in the near future for a project, I'd be interested in Geo steering for pools and Random steering for origins. However, I would also like to provide the option for a user to send their request to a specific origin, ideally through something like a request header or a query string, bypassing load balancing. Would it be possible to do this through configuring load balancing or would I have to make that user use a different URL for their request, and use subdomains for different origins or something?
43 replies
CDCloudflare Developers
Created by Kris on 9/27/2023 in #general-help
Can an origin rule redirect based on incoming port?
Origin Rules allows you to override the destination port, but is it possible to create a rule that filters based on the incoming port? If so, how, as I can't find an option to do this. The configuration I want to create is to have all traffic incoming on one URL, but if the traffic is on port 80 or 443 for HTTP(S) traffic then it should be directed to an R2 bucket, and if the traffic is sent on an arbitrary port (25565) then it should be directed to an IP address (a web server). What would be the best way to achieve this? I do not wish for the HTTP(S) traffic to be redirected to the web server and then back to R2, the redirection should happen using Cloudflare rules. Any help would be greatly appreciated, thank you.
9 replies