403 Forbidden when making requests to some websites from Droplet
I’m trying to make a request to a website from my service that runs on a droplet and for some reason the website’s cloudflare prevents me from making the request. After some investigation, I also realized that hitting another endpoint results in a 403 forbidden.
I started testing other websites just to make sure that there wasn’t anything wrong with the website I was trying to make requests to. I found that https://www.makeuseof.com/ was also returning a 403 from the droplet.
I’ve tried making requests locally, and from a VM (provided by a competing cloud provider) and it works fine.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×