-
Notifications
You must be signed in to change notification settings - Fork 531
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
Issue listing tags from Gitea as generic registry #4309
Comments
I did some more testing: This works fine in Extension: vscode-docker v1.26.1 As of extension: vscode-docker 1.27.0 it breaks. |
I haven't looked at the code yet but my hunch is that it's failing to get the tag manifest data. |
I am able to reproduce the issue using Gitea as the package registry. It looks like Gitea is returning the EDIT: No it's not, see #4309 (comment) |
Strictly speaking, this is a violation of the V2 registries API: "The presence of the |
Turns out I'm completely wrong. We were stripping out the query parameters from the request URI, causing an infinite loop on any tag listing requests that contained paging. Not sure how we didn't catch this sooner but here we are. Essentially, we should have done microsoft/vscode-docker-extensibility#214 a different way, i.e. such that the query would be preserved for tags listing as well as repository listing. |
This is now released in Docker extension version 1.29.4. |
Hi
I have setup vscode-docker to connect to my generic registry v2. Under registries I can see my registry, and when browsing it I can view my repositories catalog (so the login / connection must be working). However, when I try to browse the visible repositories catalog for the tags list, the extension just starts loading but never finishes (spinning wheel) until I restart vscode.
Using curl I can get the tags list from the repository, so this makes me think it's a issue with the extension. I also tried pushing an image to the repository / registry, and this also worked. So it really is just having issues browsing the registry at the tags list level.
OS: Windows 10
Docker: Docker Desktop
vscode: 1.89.1
Extension: vscode-docker v1.29.1
Registry: Gitea Packages
I tried both with https and with http (insecure registry). For https I had to use v.1.28 of the extension for it to connect (see issue #4245)
The text was updated successfully, but these errors were encountered: