R
Railway14mo ago
Oren

Next.js /public Images are failing

I'm hosting a nextjs app, when I add my images to /public folder and use next/image component to load them like "/1.jpeg" the images work locally but not on railway domain when I hit the image source it says " "url" parameter is valid but upstream response is invalid" and railway logs shows something is up with ssl upstream image response failed for /1.jpeg TypeError: fetch failed at Object.fetch (node:internal/deps/undici/undici:11576:11) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async invokeRequest (/app/node_modules/next/dist/server/lib/server-ipc/invoke-request.js:17:12) at async /app/node_modules/next/dist/server/next-server.js:362:39 at async imageOptimizer (/app/node_modules/next/dist/server/image-optimizer.js:537:13) at async cacheEntry.imageResponseCache.get.incrementalCache (/app/node_modules/next/dist/server/next-server.js:519:61) at async /app/node_modules/next/dist/server/response-cache/index.js:102:36 { cause: [Error: C097EE9F627F0000:error:0A00010B:SSL routines:ssl3_get_record:wrong version number:ssl/record/ssl3_record.c:354: ] { library: 'SSL routines', reason: 'wrong version number', code: 'ERR_SSL_WRONG_VERSION_NUMBER' } }
2 Replies
Percy
Percy14mo ago
Project ID: 47550cb7-db8f-453e-82f8-50708e994985
Oren
Oren14mo ago
47550cb7-db8f-453e-82f8-50708e994985
Want results from more Discord servers?
Add your server