flyctl deploy returns "401 Unauthorized" without --depot=false

Seemingly out of nowhere, I cannot deploy my apps without appending --depot=false. If I build with the depot, I consistently end up with a 401 Unauthorized error. This is affecting both a phoenix application and a very simple Docker deployment of a shell script.

I’m seeing similar deploy failures from network errors. –depot=false allows me to deploy for now so thanks for that

1 Like

@streamline_brandon what version of flyctl are you using? if you’re using a version under v0.3.180 you’ll need to update using flyctl version update

It does look like there was a brief deployment regression yesterday that impacted deploys using the Dashboard <> Github integration, but that would be separate from the 401 errors.

1 Like

Wow I was actually on flyctl-0.2.125 (nixpkgs 24.05 if anybody else is using Nix). Nixpkgs actually only supports up to flyctl-0.3.172 at the moment, but I upgraded to flyctl-0.3.195 manually and it works now. Thanks!

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.