403 forbidden on zero trust tunnel

Hi, I'm setting up a tunnel, that successfully points to my node app running locally. There's a file upload section in the app, and when I try to upload files I get a 403 forbidden error on the browser client. No errors server side, so I suspect the call never arrives to the server. Any ideas about what that could be? I have full TLS encryption.
25 Replies
matlo
matloOP2mo ago
locally everything works
Solly
Solly2mo ago
is it a cloudflare page 403? if so maybe you have some rules somewhere blocking uploads
matlo
matloOP2mo ago
no it's a console error
Solly
Solly2mo ago
yeah but 403 could be returned by either cloudflare or your server
matlo
matloOP2mo ago
No description
Solly
Solly2mo ago
can you log every request you get (on server), succsessful or not? that way you can determine if its cloudflare
matlo
matloOP2mo ago
No description
matlo
matloOP2mo ago
i have it DYNAMIC
hhf
hhf2mo ago
have you checked your waf
matlo
matloOP2mo ago
hi! what's the waf? apologies it's the first time i'm setting up a tunnel ah the firewall? i'm looking into that no i don't have it as it's a pro feature
hhf
hhf2mo ago
No description
hhf
hhf2mo ago
its a free feature also
matlo
matloOP2mo ago
you're right, I just checked and I have no rules
hhf
hhf2mo ago
okay its tcp or udp uploads? do you use local proxy? upload size?
matlo
matloOP2mo ago
it's a 4.4mb mp3, i don't use local proxy it's tcp i think, but i'm not sure. it's an html page upload I'm thinking, maybe do i have to add these routes in the DNS? I have a post request API /api/upload for example. Do I have to add them in the tunnel configuration? as I just added the main index page
hhf
hhf2mo ago
No description
hhf
hhf2mo ago
its from your code
matlo
matloOP2mo ago
yes it's a POST request not a get try a POST request ok but the request never gets to my webserver
hhf
hhf2mo ago
how do you know that you will have to log it or see tunnel logs
matlo
matloOP2mo ago
i can check tunnel logs
hhf
hhf2mo ago
yes
matlo
matloOP2mo ago
i've set up a consol log when that request is called on my webserver and it's never called when I do it through tunnels ok let me check thos i logged the 403
hhf
hhf2mo ago
your server issue its not finding the logic
matlo
matloOP2mo ago
ok thanks i'll look into that it does this error only on the CF instance though in the local one it doesn't
Want results from more Discord servers?
Add your server