Hi,
I just migrated my forum to Cloudflare CDN but started experimenting a bad behavior with my actual image conversion setup.
I have weserv.nl image conversion tool in one domain from where I convert my images vía URL parameter. The problem is when I migrated one page that is client of this system to Cloudflare, started receiving errors. On Nginx log (I use proxy pass)
2019/12/10 23:05:56 [crit] 32358#0: *293130 connect() to [2606:4700:30::6818:62c6]:443 failed (99: Cannot assign requested address) while connecting to upstream, client: 127.0.0.1, server: images.weserv.local, request: “GET /?url=https://www.example.com/attachments/ashampoooooo-test-png.333947/&output=webp HTTP/1.1”, upstream: “https://[2606:4700:30::6818:62c6]:443”, host: “images.weserv.local”, referrer: “https://www.example.com/tema/eleeeee-uno-arduino.191968/”
Then in my browser I get different errors:
{“status”:“error”,“code”:404,“message”:“The requested URL returned error: 301”}
{“status”:“error”,“code”:404,“message”:“The hostname of the origin is unresolvable (DNS) or blocked by policy.”}
Other times it works. I can change the last pass of the URL to avoid cache (keeping the number) for unlimited tries so may be 70% fails 30% works.
Maybe you can help me with this poltergeist, I really appreciate your help.