Description
When connecting to a Harbor registry via Generic Registry V2, the extension fails with:
Unable to parse WWW-Authenticate header: "Basic realm="harbor""
Steps to Reproduce
- Connect Registry -> Generic Registry V2
- Enter Harbor URL (e.g.,
https://harbor.example.com)
- Enter valid username/password (same credentials work with
docker login)
- Error appears in the registry tree view
Expected Behavior
The extension should authenticate and list repositories from the Harbor registry.
Actual Behavior
The extension fails to parse the WWW-Authenticate header returned by Harbor.
Harbor returns:
WWW-Authenticate: Basic realm="harbor"
Additional context
- Our harbor instance is protected by Keycloak
- I use the CLI Secret provided in Harbor - User Profile, which works in docker CLI
- ms-azuretools.vscode-containers version v2.4.0
Description
When connecting to a Harbor registry via Generic Registry V2, the extension fails with:
Steps to Reproduce
https://harbor.example.com)docker login)Expected Behavior
The extension should authenticate and list repositories from the Harbor registry.
Actual Behavior
The extension fails to parse the
WWW-Authenticateheader returned by Harbor.Harbor returns:
Additional context