unauthorized: authentication required when using ACR
See original GitHub issueI am not able to run my C#-based IoT Edge Module on my Azure Ubuntu 18.04 VM because I see an InternalServiceError
.
Expected Behavior
My C# IoT Edge Module should run on my Ubuntu VM
Current Behavior
When I run sudo journalctl -u iotedge
I get this error message:
InternalServerError, content: Some(Object({"message": String("Get https://xyz.azurecr.io/v2/entrymodule/manifests/0.0.1-amd64: unauthorized: authentication required")})) })
Steps to Reproduce
- Configure an Ubuntu 18.04 Azure VM as described here
- Push an Azure IoT C# Module to the device using Visual Studio Code or Visual Studio 2017 as described here to ACR
- Deploy the module to the Edge device
Context (Environment)
Device (Host) Operating System
Ubuntu 16.04
Architecture
x86_64
Container Operating System
Linux Container
iotedged
iotedge 1.0.2
Edge Agent
1.0
Edge Hub
1.0
Docker
Client: Version: 18.06.0-dev API version: 1.37 Go version: go1.10.2 Git commit: daf021fe Built: Mon Jun 25 21:07:53 2018 OS/Arch: linux/amd64 Experimental: false Orchestrator: swarm
Server: Engine: Version: dev API version: 1.38 (minimum version 1.12) Go version: go1.10.3 Git commit: 09f5e9d Built: Wed Sep 19 16:55:45 2018 OS/Arch: linux/amd64 Experimental: false
Issue Analytics
- State:
- Created 5 years ago
- Comments:12 (8 by maintainers)
Top GitHub Comments
Can we close this issue if the tutorials have been updated?
Just to make sure, have you added your ACR credentials via the portal for your specific modules?
Specifically under Your Azure IoT Hub portal --> Click IoT Edge – > Choose your edge device --> Click Set modules. A screen comes up where you can add/edit your ACR credentials.