nuxt / image

Plug-and-play image optimization for Nuxt applications.
https://image.nuxt.com
MIT License
1.33k stars 271 forks source link

503 (Service Unavailable) #1412

Open mak33v opened 2 months ago

mak33v commented 2 months ago

I've been experiencing this issue for over a year now, both in development and production mode. Every time the page is reloaded, the images do not load randomly, then one thing or another. What can be wrong?

image

In production mode I see this error, the symptoms are the same as with the 503 error in development.

image

Lehoczky commented 2 months ago

This happens to me constantly as well

Healios commented 1 month ago

I'm in the middle of redoing a Nuxt 3 project and I also get this error constantly. The error is not present in the old project. The old project uses package version is "^1.0.0-rc.1" and the new uses "^1.7.0".

AKadochnikov commented 1 month ago

I have a similar problem nuxt version 3.10.0

Drstocktor commented 1 month ago

same.. would love to hear if someone figured out a bandaid fix at the very least

ZnaaMiR commented 1 month ago

same.. would love to hear if someone figured out a bandaid fix at the very least

Also experiencing this when using ipx as image provider. You could either temporarily fix it by handling the error like so: <NuxtImg @error="handleImageError" />

const handleImageError = (event) => { event.target.src = "/images/fallback.png"; }; It seems to trigger the image to load correctly after the error happens.

or you can disable ipx as the image provider.

awdr74100 commented 1 month ago

The same thing is happening to me, is it related to multiple images being optimized in runtime at the same time? If this problem is not a bug but a limitation it will make the module completely unusable on any commercial site.

Can anyone confirm that the image component of Next.js has the same problem? It seems to be a similar logic