DMarby / picsum-photos

Lorem Ipsum... but for photos.
https://picsum.photos
MIT License
2.2k stars 152 forks source link

Images only working on localhost domain #113

Closed grobitto closed 4 months ago

grobitto commented 4 months ago

Hi! Your service is working great while developing on localhost, but when deployed under any other domain name I keep getting 403 forbidden.

grobitto commented 4 months ago

Dug a little deeper, looks like cloudflare is blocking my requests

This website is using a security service to protect itself from online attacks. The action you just performed triggered the security solution. There are several actions that could trigger this block including submitting a certain word or phrase, a SQL command or malformed data.

What can I do to resolve this? You can email the site owner to let them know you were blocked. Please include what you were doing when this page came up and the Cloudflare Ray ID found at the bottom of this page.

DMarby commented 4 months ago

Hi @grobitto,

Thanks for opening an issue, in order for me to look into why your requests are getting blocked, could you provide the Ray ID from the cloudflare error page?

grobitto commented 4 months ago

Cloudflare Ray ID: 875aa99a18fe5af4

grobitto commented 4 months ago

looks like the problem was caused by .ru top level domain, moved my demo to other domain and everything is working fine now.

denshest commented 2 months ago

Hello! I have the same problem

denshest commented 2 months ago

Cloudflare Ray ID: 89962436f94eb466

denshest commented 2 months ago

@DMarby

I think the problem is because of location of my VPS. My VPS is located in Russia and has russian IP address. I live in Europe and thats why it works from my local computer. Can you check it please and if this is the problem - can you please accept requests from russian ip adresses?