Azure / iotedgedev

The Azure IoT Edge Dev Tool greatly simplifies your Azure IoT Edge development process. It has everything you need to get started and helps with your day-to-day Edge development.
https://aka.ms/iotedgedev
Other
160 stars 70 forks source link

[BUG] push authorization broken #618

Open kitsunekyo opened 9 months ago

kitsunekyo commented 9 months ago

Description

when trying to push containers with iotedgedev push i get

ERROR: unauthorized: authentication required, visit https://aka.ms/acr/authorization for more information.

while docker push works normally. credentials are correct and stored in .env

Expected behavior

iotedgedev push pushes to acr

Actual behavior

fails to push

Steps to Reproduce

setup iotedgedev and iot hub according to wiki build containers, run iotedgedev push

Environment

iotedgedev, version 3.3.7 Python 3.6.15 (since anything above will give me an outdated iotedgedev version) Dev Machine: m1 mac sonoma 14.2.1

marianan commented 9 months ago

@kitsunekyo please make sure you do docker and acr login as described at https://review.learn.microsoft.com/en-us/azure/iot-edge/tutorial-develop-for-linux?branch=main&view=iotedge-1.4&tabs=csharp&pivots=iotedge-dev-cli#push-module-docker-image