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.
Code, configuration, and steps that reproduce this issue Here is an example of an image I am trying to load: https://cdn.worldota.net/t/1024x768/content/af/b6/afb62f797ad6db34206ce3851132b93a5104b50b.jpeg
My current configuration:
// next.config.jsmodule.exports = { images: { remotePatterns: [ { protocol: 'https', hostname: 'cdn.worldota.net' }, ], },};Steps to reproduce:
- Add an image using the Next.js
<Image />component with the URL mentioned above. - Deploy the app to Vercel.
- Observe that the image fails to load unless the
unoptimizedprop is added.
Configuration
Next.js 14.2.5 Page Router
Am I missing something?

