Cloudflare detecting website as not working!

Hello, im making my own webserver in rust that includes writing the data to the client as bytes, when running my code on my own machine it works perfectly fine. However when I try using cloudflare tunnels to expose the webserver to a subdomain it gives a bad gateway error. Does cloudflare require anything special and would it be possible that cloudlfare is the issue?
6 Replies
Alf
Alf7mo ago
Is there any error on your side when someone tries to access it and gets bad gateway? Any ss you can provide?
Tuinboon
TuinboonOP7mo ago
On my end everything seems to work, I added a print statement when bytes got succesfully sent and it triggers fine Also, it works local with the exact same code. The only difference I see is that the cloudflare exposed webserver gets more requests then the local one
Alf
Alf7mo ago
Strange, I'll do my research I don't use rust sadly
Tuinboon
TuinboonOP7mo ago
I dont think its because of Rust? Do you know anything about html message because I might have done something wrong with them
Cyb3r-Jak3
Cyb3r-Jak37mo ago
What do the tunnel logs show for the request errors?
Alf
Alf7mo ago
Ik html
Want results from more Discord servers?
Add your server