Flyctl suddenly stopped working

I have an app deployed and running. I was using flyctl with no issues. I came back after about a week and attempted to run fly deploy and got this error message:

Program ‘fly.exe’ failed to run: Access is deniedAt line:1 char:1

  • fly deploy

At line:1 char:1

  • fly deploy
  •   + CategoryInfo          : ResourceUnavailable: (:) [], ApplicationFailedException
      + FullyQualifiedErrorId : NativeCommandFailed
    

I am running this on a Windows machine, have tried with administrator Powershell, have tried updating flyctl (successfully) and restarting my machine. The error persists. Please help.

Does fly version work? Seems you don’t have flyctl.exe in PATH.

I do have flyctl.exe in PATH, but fly version also fails.

Does flyctl version work?

No, it fails with the same error.

Fixed with “fly auth login”.

I would suggest making the error a bit clearer and perhaps a troubleshooting guide.

1 Like

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