Current versus Expected behaviour
When deploying to Vercel, images from https://cdn.worldota.net are not loading.
I get the error 502: BAD_GATEWAY Code: OPTIMIZED_EXTERNAL_IMAGE_REQUEST_UNAUTHORIZED.
They work perfectly when rendered locally. The images only render on deployment if I add the unoptimized prop directly to the Image component, which I want to avoid.
<Image
src={
"https://cdn.worldota.net/t/1024x768/content/af/b6/afb62f797ad6db34206ce3851132b93a5104b50b.jpeg"
}
fill
alt="a picture of the developer of this page"
/>
If you need more help, please share your public repo or a minimal reproducible example. That will let us all work together from the same code to figure out what’s going wrong.
This issue only occurs in Chrome (Version 131.0.6778.205). However, the image on your page renders correctly in Safari and Firefox. Is there any reason why it fails only in Chrome for me?
Hi @anshumanb , I still have this issue after I updated Chrome to 131.0.6778.265.
It seems that I may be experiencing some cache issues. As a temporary solution, I have added the “unoptimized” prop to the images from cdn.worldota.net. I will wait for the cache to reset and remove the “unoptimized” prop later to check for any persistent issues.
Thank you for your assistance in investigating this!