Skip to content

Intermittent 500 errors on images when using generate on Cloudflare Pages #1759

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Smef opened this issue Mar 20, 2025 · 0 comments
Open

Comments

@Smef
Copy link

Smef commented Mar 20, 2025

I'm getting odd, intermittent 500 errors when building and deploying with generate on Cloudflare pages.

I'll run a build, and everything will succeed. I can literally run the exact same same build a second later (using the "retry deployment" option in Cloudflare Pages) and will get 500 errors on certain images.

Here's a screenshot of one deploy, then a second one just a few minutes later with zero code changes which fails.

Image

The error in the log is

17:01:49.088 | [log] [nitro]   ├─ /_ipx/w_1056&f_webp/https://xxxxxxxxxxxxxx.xxx/theboxers-(2).png (562ms)
-- | --
17:01:49.088 | │ ├── [500]
17:01:49.088 | │ └── Linked from /articles/page/2

There's no further information about what the actual error is, though.

It does seem to be hitting the error on the same image when it fails, but it also sometimes works fine. The original source image is 147kb, so nothing crazy large.

I'm seeing this kind of behavior across quite a few projects right now and it's causing issues with deployments on all of them.

Is there a way to get more detail about what the actual error is?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant