"url" parameter is valid but upstream response is invalid

I keep getting this when I use the Image from next js. However when I pass loader={(src) => {src}} it works, for whatever reason I can't seem to figure out what is going on, anyone have any ideas???? I get: 500 Internal Server Error my next.config.ts:
const nextConfig: NextConfig = {
images: {
minimumCacheTTL: 360,
remotePatterns: [

{
protocol: 'https',
hostname: '10.8.0.1',
},
{
protocol: 'http',
hostname: 'localhost',
port: '3000'
},



]
},


};
const nextConfig: NextConfig = {
images: {
minimumCacheTTL: 360,
remotePatterns: [

{
protocol: 'https',
hostname: '10.8.0.1',
},
{
protocol: 'http',
hostname: 'localhost',
port: '3000'
},



]
},


};
1 Reply
Gabool
GaboolOP5d ago
Next version 15.2.3

Did you find this page helpful?