Thread
#prefect-server
    Bruno Murino

    Bruno Murino

    1 year ago
    Hi everyone — I have a flow that runs every 10 minutes and it’s been pretty consistent, however every now and then the flow throws an exception 502:
    502 Server Error: Bad Gateway for url: <http://prefect.landbay.internal:8081/api/graphql/graphql>
    however I’m not sure there’s an issue with how I’ve configured the URLs as the flow runs 99% of time without raising this….. For reference, these are the only 2 URLS I set:
    PREFECT__SERVER__ENDPOINT=<https://prefect.prodenv.landbay.co.uk/api/graphql>
    PREFECT__API__HOST=<https://prefect.prodenv.landbay.co.uk/api/graphql>
    nicholas

    nicholas

    1 year ago
    Hi @Bruno Murino - this sounds like an availability issue with your cluster. Unfortunately we can’t provide much guidance here except to say to make sure your server has enough memory/cpu and isn’t on preemptible nodes