profile
viewpoint

Ask questionsbrowse to containers step gives 401 error

Repro steps:

1.In Docker explorer, after you have successfully pushed a container to an ACR following this guide: https://code.visualstudio.com/docs/python/tutorial-deploy-containers 2. Click on the ACR that you have pushed the container to Get the 401 error. 3. Verified via Azure portal that the container was in the registry (by deploying as an app service)

Action: getChildren Error type: 401 Error Message: 401 - undefined

Version: 0.6.2 OS: linux Product: Visual Studio Code Product Version: 1.33.1 Language: en

<details> <summary>Call Stack</summary>

new i extension.bundle.js:157:643505
$.callback extension.bundle.js:157:642354
$.module.exports.e.exports.u.init.e.callback.t.callback [as _callback] extension.bundle.js:157:641408
$.module.exports.$.init.t._callback.t.callback.t.callback extension.bundle.js:187:5468
$.emit events.js:182:13
$.<anonymous> extension.bundle.js:187:18281
$.emit events.js:182:13
IncomingMessage.<anonymous> extension.bundle.js:187:17123
Object.onceWrapper events.js:273:13
IncomingMessage.emit events.js:187:15
endReadableNT _stream_readable.js:1090:12
process._tickCallback next_tick.js:63:19

</details>

microsoft/vscode-docker

Answer questions PrashanthCorp

Can you verify that you were signed in to Azure when you saw this error? Can you verify what your access privileges to that ACR registry are?

A 401 error is usually sent when there's unauthorized access.

useful!

Related questions

Error Message: connect EACCES /var/run/docker.sock hot 3
Error Message: connect EACCES /var/run/docker.sock hot 1
Debug not running hot 1
Error:connect ENOENT //.pipe/docker_engine hot 1
Error:connect ENOENT //.pipe/docker_engine hot 1
In order to use an SSH DOCKER_HOST on OS X and Linux, you must configure an ssh-agent. - vscode-docker hot 1
In order to use an SSH DOCKER_HOST on OS X and Linux, you must configure an ssh-agent. hot 1
Improve error message when docker has not been found- ENOENT //./pipe/docker_engine hot 1
Connect to remote docker daemon when using "Remote - SSH" extension hot 1
VSCode: "No matching resources found." when using with Azure Container Registry extension hot 1
Starting container process caused "process_linux.go:297: applying cgroup configuration for process caused \"open hot 1
Error:connect ENOENT //.pipe/docker_engine hot 1
Error Message: connect EACCES /var/run/docker.sock hot 1
Docker Machine crashes when managing Docker containers with vscode-docker plugin hot 1
Connect to remote docker daemon when using "Remote - SSH" extension hot 1
source:https://uonfu.com/
Github User Rank List