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
matlo2w ago
locally everything works
Solly
Solly2w ago
is it a cloudflare page 403? if so maybe you have some rules somewhere blocking uploads
matlo
matlo2w ago
no it's a console error
Solly
Solly2w ago
yeah but 403 could be returned by either cloudflare or your server
matlo
matlo2w ago
No description
Solly
Solly2w ago
can you log every request you get (on server), succsessful or not? that way you can determine if its cloudflare
matlo
matlo2w ago
No description
matlo
matlo2w ago
i have it DYNAMIC
hhf
hhf2w ago
have you checked your waf
matlo
matlo2w 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
hhf2w ago
No description
hhf
hhf2w ago
its a free feature also
matlo
matlo2w ago
you're right, I just checked and I have no rules
hhf
hhf2w ago
okay its tcp or udp uploads? do you use local proxy? upload size?
matlo
matlo2w 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
hhf2w ago
No description
hhf
hhf2w ago
its from your code
matlo
matlo2w ago
yes it's a POST request not a get try a POST request ok but the request never gets to my webserver
hhf
hhf2w ago
how do you know that you will have to log it or see tunnel logs
matlo
matlo2w ago
i can check tunnel logs
hhf
hhf2w ago
yes
matlo
matlo2w 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
hhf2w ago
your server issue its not finding the logic
matlo
matlo2w 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