Simplify your stack and build anything. Or everything.
Build tomorrow’s web with a modern solution you truly own.
Code-based nature means you can build on top of it to power anything.
It’s time to take back your content infrastructure.

GraphQL API - 504 Gateway time-out

default discord avatar
tinoutilast year
3

So, I've got a Payload Cloud project and a NextJS site on Cloudflare that pulls data from the GraphQL API. Every now and then the build will fail because of a GraphQL error (

Gateway time-out - Error code 504

). Retrying the build usually "fixes" it.



Is this an issue with Cloudflare, Payload, or Payload Cloud? 🤔

  • default discord avatar
    capitalt2160last year

    I hit the RAM limit on Payload Cloud fairly often. At least, that's what I think is happening.


    Disabled a plugin which results in this happening less frequently

    https://discord.com/channels/967097582721572934/1101867048159694868/1123530096746168351

    . I still get the 504 every now and then though. I am using the REST API to build a Gatsby site, and in a similar situation to you, a rebuild usually fixes it.

  • discord user avatar
    denolfe
    last year
    @233209174069084161

    @1121364579017039963

    We're pushing a change to double the RAM for the standard tier, today 👍



    Redeploying your project will give you the new specs 🚀

  • default discord avatar
    tinoutilast year

    Awesome, I'll let you know if that fixes it. Thanks Elliot! 🙌

Star on GitHub

Star

Chat on Discord

Discord

online

Can't find what you're looking for?

Get dedicated engineering support directly from the Payload team.