Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal
  • 0

Can't request a file from a server


I'm trying to request a file from my webserver using wget but I get a 403 response, however when trying from my webbrowser I can get my file, moreover, my webserver isn't even requested

I don't have any blacklisted nor whitelisted url so i don't understand


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0
  • Solution

Your webserver likely blocks requests that don't have user agent headers (This is common with servers running mod_security on Apache, or... whatever the equivalent setup on NGINX is.)
I just checked wget.lua and it in fact does not send any user_agent header with the request. 

Link to post
Share on other sites
  • 0

Thanks, the problem was from cloudflare since i didn't made anything on nginx to reject invalid U-A, it does send some U-A tho (that's what cloudflare is saying) which are Java/1.8.0_333

But these were not passing cloudflare's browser integrity check. All fixed now thanks a lot

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.