registry API authentication error


I’m the maintainer of What’s up Docker?; a tool tracking container updates using the Docker Registry API V2.

Until a few weeks ago, it was perfectly working with the lscr registry.
But now, the lscr API is responding with 401 errors (authentication required).

The issue is easy to reproduce

$ curl -i

HTTP/2 401 
date: Sat, 23 Jul 2022 09:30:00 GMT
content-type: application/json
content-length: 73
www-authenticate: Bearer realm="",service="",scope="repository:linuxserver/radarr:pull"
x-github-request-id: D1A2:B748:A8236E:B4E296:62DBBF98
strict-transport-security: max-age=15724800; includeSubDomains

{"errors":[{"code":"UNAUTHORIZED","message":"authentication required"}]}

Based on the headers above, I guess that I need to authenticate to the Github registry with the repository:linuxserver/radarr:pull scope but I don’t understand neither HOW nor WHY?? :thinking: was supposed to be a simple proxy in front of the real backend (ghcr or any other one) but apparently it’s not.

For the record, if I replace the registry name by the real registry backend, all is working as expected.

Does someone have any clue regarding what’s changed over the last few weeks?


I finally found a solution.

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.