Docker Community Forums

Share and learn in the Docker community.

Tags from external registry not loading (net::ERR_CONTENT_DECODING_FAILED)


(Flqw) #1

I imported external repositories through the interface, which worked fine. I also can use my images in services if i input the image+tag directly into the Stackfiles. However I can’t use the edit service function as it won’t load the tags for the external repository images. If I try to view the repository’s tags by going into the repository via the interface and select the Tags Tab, I see the following message:

Oops! We are currently unable to fetch this repository’s tags. Please refresh the page and try again.

The console logs the following:

Failed to load resource: net::ERR_CONTENT_DECODING_FAILED
app.4fb21674d0ab2df0ab1a.js:32 Unhandled rejection Error: Request has been terminated

Possible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc

If manually aquire an access token for my registry’s API and try to access the respective Endpoint
/v2/{library}/{image}/tags/list/?page_size=10
everything works fine and no Access-Control-Allow-Origin headers or the like are set, so I guess it’s an internal problem of the dockercloud API.


(Djmoreno) #2

Hi, im having same issue, did you solve this???
Thanks.


(Ronnybreather) #3

Similar issue for me. When I try to edit a service the tags never load and as a result I can’t save any edits.


(Bat79a) #4

I’ve got the same issue :
Tags list is loading
Can’t edit services

After 3 hours, I have found that I can’t edit services (and watch tags list) if the external registry is not imported in my personal account.

Go to your personal account :

  • Repositories
  • Import bouton and import the external registry

Go to your organization account :

  • Respositories
  • select your external repo
    You can now see all tags for this repo
  • Servicies
  • Click on your service name
    You can now edit the service because the tags list works well…

I found an other bug that : if you create an organization with a team, you can’t add registry access for the group…

Hope that this tips will help ;p


(Maxfriedmann) #5

Wow, thanks a lot, that actually works.

We’re adding external repositories via API, if we now add them once without namespace and afterwards with the organization namespace, it works as expected!