-
Notifications
You must be signed in to change notification settings - Fork 74
Open
Labels
Description
Environment
Node v20
Nuxt image 1.8.0
IPX 2.1.0
Reproduction
Not possible to offer a reproduction because it happens on high traffic environments
Describe the bug
We just deployed in production a news website, so we have high traffic.. All generated images are cached so we don't hit ipx everytime
However, some images are failing with a 502 error sometimes
I did a test with this piece of come
for (var i = 0; i <= 200; i++) {
ff(i)
}
function ff(i) {
setTimeout(() => {
var img = document.createElement('img');
document.body.appendChild(img);
img.src = '/_ipx/f_webp&enlarge_true&fit_cover&s_680x420/link_to_image?qq=' + Date.now() + '-' + Math.random();
}, i * 50)
}
On staging env where is low traffic we have 200/200 successful requests
On production we have about 10/200 failed images when requesting directly on the nuxt app and we have 10-20 failed when requesting through the cache layer
Anyone else encountered this?
Additional context
No response
Logs
No response
maxtaube, SeventyFox and nadaaskora