Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

container registries can't login to repo1.dso.mil even tho it supports Docker HTTP API V2 #3965

Closed
aldass opened this issue Jun 11, 2023 · 1 comment

Comments

@aldass
Copy link

aldass commented Jun 11, 2023

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.79.0
  • OS Version: Windows_NT x64 10.0.19044

Steps to Reproduce:

  1. Add https://registry1.dso.mil as a Generic Docker Registry
  2. Use valid UserID and PAT for https://registry1.dso.mil
  3. In the Registries panel, click the registry1.dso.mil registry which gives the following:
    Error: Request to https://registry1.dso.mil/v2/_catalog?n=100 failed with status 401: Unauthorized

registry1.dso.mil is hosted by Project Harbor which is an an open source trusted cloud native registry project that stores, signs, and scans content.

The issue seems to be with vscode since doing a docker login -u {{USERID}} --password {{PAT}} registry1.dso.mil works just fine.

@chrmarti chrmarti transferred this issue from microsoft/vscode Jun 12, 2023
@chrmarti chrmarti removed their assignment Jun 12, 2023
@bwateratmsft
Copy link
Contributor

I will add this to the list in #869.

@bwateratmsft bwateratmsft closed this as not planned Won't fix, can't repro, duplicate, stale Jun 12, 2023
@microsoft microsoft locked and limited conversation to collaborators Jul 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants