nuxt / nuxt/image

JPG, PNG & GIF throwing 404 when deployed to Appengine/Kubernetes

Open
#703 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
1.5k
Forks
331
Avg merge
19h 52m
Merged PRs (30d)
9

Description

Hey guys,

Seems like the following image formats (from remote URLs) are not working when deployed to Google Cloud AppEngine/Kubernetes Engine:

  • jpg
  • png
  • gif
  • tiff (throws 500, seems like not supported by ipx)

Whereas .jpeg and .svg files are working fine

The above-mentioned formats are throwing a 404 error when deployed but work fine in the local dev server and when running the build locally. Have checked only with Nuxt 3 SSR application. The reproduction repo is added below

Repo: https://github.com/ajaydevofficial/nuxt-image
Deployment link: https://nuxt-image-dot-highlevel-staging.uc.r.appspot.com
Error:
Screenshot 2023-01-06 at 11 42 21 PM

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked reproduction repository and deployment link, then compare remote JPG, PNG, GIF, and TIFF behavior in the Nuxt 3 SSR deployment with the local dev server and local build. Done means the supported formats no longer return 404 in App Engine or Kubernetes, with the TIFF 500 behavior explicitly understood or documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
gcp, kubernetes, nuxtjs, typescript
Domain
cloud, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.