Skip to content
This repository was archived by the owner on Oct 19, 2026. It is now read-only.
This repository was archived by the owner on Oct 19, 2026. It is now read-only.

netlify 502 bad gateway: sharp #3

Open

Description

@0xrpj
No description provided.

Activity

  1. 0xrpj commented on Jan 29, 2024

    @0xrpj
    Author
    image
  2. 0xrpj commented on Jan 29, 2024

    @0xrpj
    Author

    I was working on macOS.

    Fixed with this command:
    npm install --platform=linux --arch=x64 sharp

  3. depatchedmode commented on Jan 29, 2024

    @depatchedmode
    Owner

    Thanks @0xrpj! There might be a need for us to remove the package-lock.json as I think that npm install command will fix the deployed environment for some folks, but end up breaking local.

    Either way, I'll link to this thread from the README for now. And I'm gonna re-open the issue so other people can add information as we learn where it stands up and falls down.

  4. changed the title [-]Hey, this is getting 502 bad gateeway while deploying on netlify, how'd you fix it in your app?[/-] [+]netlify 502 bad gateway: sharp[/+] on Feb 12, 2024
  5. iteration-n commented on Mar 1, 2024

    @iteration-n

    Any fix available yet? Thanks!

  6. depatchedmode commented on Mar 1, 2024

    @depatchedmode
    Owner

    @Gudcode You're experiencing this issue? It should be fixed now with netlify deploys since locking to a lower version of Satori and removing the package-lock.json

    If you ran npm update that could be a reason you're experiencing this. Try deleting the node_modules directory and package-lock.json locally and then running npm install again and see if it fixes stuff.

  7. iteration-n commented on Mar 1, 2024

    @iteration-n

    Yes, no luck. When I test it in https://warpcast.com/~/developers/frames by clicking the frame's button. I get:
    ?frame=poster
    postFakeCastFrameAction 400 - Failed to post fake frame action: Failed to post to frame. Error: Request failed with status code 502

  8. iteration-n commented on Mar 10, 2024

    @iteration-n

    @depatchedmode Any ideas why this is occurring? Thanks!

  9. depatchedmode commented on Mar 13, 2024

    @depatchedmode
    Owner

    @Gudcode Bit stumped, honestly. This might be the moment where we need a real dev.

    Let me find time to look at this along some other upgrades this week. Can you share a link to the deployed frame so that I can test against the error?

  10. depatchedmode commented on Apr 24, 2024

    @depatchedmode
    Owner

    @beeboopx Couple of questions and I should be able to help:

    1. Which version of simplest-frame are you on? I fixed some things last night for v0.11.1
    2. What operating system are you developing from locally? There will be differences in the sharp build used locally, versus the one used on Netlify. Hoping to find a way for this to be accounted for by default but need to do more testing.
    3. Do you have any logs you can share of the error? Might help to debug your specific case.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions