Failed to push an image

Hi,

New user here, I am trying to deploy a Dockerfile but it fails with

------
 > exporting to image:
------
Error: failed to fetch an image or build from source: error building: failed to solve: failed to push registry.fly.io/interactsh:deployment-01M385F5EA7Z9EESXQQA0099Y1: unexpected status from HEAD request to http://_api.internal:5000/v2/interactsh/blobs/sha256:7264a8db6415046d36d16ba98b79778e18accee6ffa71850405994cffa9be7de?ns=registry.fly.io: 401 Unauthorized

It is now obvious what I am doing wrong from the logs or what I should do to fix.

Seems like it might be because I deleted my personal org. I am reading other threads that suggest you need one.

The flyctl doctor seems to suggest it cant connect to wireguard and the debug log show the slug personal being check.

I actually deleted and re-recreated my account to get the personal org back, that seemed to have solved the wireguard issue but not the push issue.

Hm… If you’re deploying from the command line, then fly deploy --buildkit=false --depot=false might work around the registry problem. (It’s giving you a 401 Unauthorized when trying to contact one of the new-ish local mirrors.)

In general, it helps to post the verbatim commands that you’ve been trying.

Seems like I was using a very old version of flyctl because the mise install points to an old asdf plugin. You should consider taking that over.