Error: failed to run query ($appName: String!) { appcompact:app(name: $appName) { id name hostname deployed network status appUrl platformVersion organization { id internalNumericId slug paidPlan } postgresAppRole: role { name } } }: Not authorized to access this firecrackerapp
—
I’m using NextJS 16 with an Axum backend, two databases on neon.tech and redis on upstash.
I’ve spent 8 hours trying to figure this out, even trying new machines…. I have no idea what is going on can someone help in anyway please?
It used to work then it randomly stopped… even reverted back to older versions of the project that I was 100% sure was working, those don’t work either.
Hi, this sounds like an authentication issue. Can you try logging out and back in to refresh your auth tokens? fly auth logout followed by fly auth login should do it.
Ok I’ved tried that and, cleared cookies, cache, signed out in the CLI with both commands, now it’s hung on “Waiting for depot builder” which is also what was occurring in the first place before I ran into those errors I posted about, I suppose I can leave this over night because it’s getting crazy late here now but I cannot imagine it’s just taking this long to build.
I tried before and after deleting the target folder in my backend.
Waiting for depot builder…
WARN failed to finish build in graphql: input:3:2: finishBuild Not authorized to deploy this app or deploy this machine.
Error: failed to fetch an image or build from source: error building: timed out connecting to machine: failed to list workers: Unavailable: connection error: desc = “transport: authentication handshake failed: tls: failed to verify certificate: x509: certificate has expired or is not yet valid: current time 2025-11-10T00:33:40+10:00 is before 2025-11-09T17:35:00Z”