You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a private registry setup (pretty much barebone from distribution, version 2.8.3, just having TLS enabled). I cannot get the manifest of any image in that registry. Neither can I delete any tag (because apparently the first step in deleting is fetching the manifest).
Error given in vscode is "failed with status 404: Not Found".
Looking at the registry logs, I get the following:
registry-1 | 10.x.x.x - - [26/Jul/2024:09:50:52 +0000] "GET /v2/USER/IMAGE/manifests/TAG HTTP/1.1" 404 117 "" "node"
registry-1 | time="2024-07-26T09:50:52.803491926Z" level=error msg="response completed with error" err.code="manifest unknown" err.message="OCI index found, but accept header does not support OCI indexes" go.version=go1.20.8 http.request.host="ADDRESS:PORT" http.request.id=a6497708-9e95-49fe-ab1e-345a17fd04f4 http.request.method=GET http.request.remoteaddr="10.x.x.x:59214" http.request.uri="/v2/USER/IMAGE/manifests/TAG" http.request.useragent=node http.response.contenttype="application/json; charset=utf-8" http.response.duration=3.656995ms http.response.status=404 http.response.written=117 vars.name="USER/IMAGE" vars.reference=TAG
If I search on this OCI accept header error, I get the following: https://my.f5.com/manage/s/article/K000138411
Basically saying the request should be made with two particular accept headers: -H "Accept: application/vnd.oci.image.manifest.v1+json" -H "Accept: application/vnd.oci.image.index.v1+json"
This seems to be because I am storing multiplatform images in that registry. Or, actually, in some cases the images are single platform (ARM), but they were built using a multiplatform-enabled buildx builder.
Hello,
Using extension version 1.29.1.
I have a private registry setup (pretty much barebone from distribution, version 2.8.3, just having TLS enabled). I cannot get the manifest of any image in that registry. Neither can I delete any tag (because apparently the first step in deleting is fetching the manifest).
Error given in vscode is "failed with status 404: Not Found".
Looking at the registry logs, I get the following:
If I search on this OCI accept header error, I get the following:
https://my.f5.com/manage/s/article/K000138411
Basically saying the request should be made with two particular accept headers:
-H "Accept: application/vnd.oci.image.manifest.v1+json" -H "Accept: application/vnd.oci.image.index.v1+json"
Possibly related to #4309 (comment)
Cheers,
Axel
The text was updated successfully, but these errors were encountered: