Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. Docker Registry
  3. Unusable application

Unusable application

Scheduled Pinned Locked Moved Docker Registry
19 Posts 5 Posters 296 Views 6 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J joseph

    In the registry configuration in Cloudron settings, the error Invalid serverAddress: socket hang up appears whenever I attempt to save the private registry settings.

    OK, I missed this one. Can you try docker login on the server itself and see if that works ?

    LanhildL Offline
    LanhildL Offline
    Lanhild
    App Dev
    wrote last edited by Lanhild
    #9

    @joseph it doesn't, gives me a timeout error. I'll add relevant logs in a few minutes.

    1 Reply Last reply
    0
    • J joseph

      In the registry configuration in Cloudron settings, the error Invalid serverAddress: socket hang up appears whenever I attempt to save the private registry settings.

      OK, I missed this one. Can you try docker login on the server itself and see if that works ?

      LanhildL Offline
      LanhildL Offline
      Lanhild
      App Dev
      wrote last edited by
      #10

      @joseph

      Error response from daemon: Get "https://registry.cloudron.local/v2/": context deadline exceeded
      
      1 Reply Last reply
      0
      • J Offline
        J Offline
        joseph
        Staff
        wrote last edited by
        #11

        @lanhild We have to debug this step by step.

        1. Does host registry.cloudron.local resolve to public IP?
        2. Check if nginx can reach the container.. docker ps | grep com.docker.registry to get container ID. docker inspect bea487bec441 | grep IPAddress to get local IP. curl http://172.18.20.34:5000/asdf -v should get some response for the registry. It will have Docker-Distribution-Api-Version header.
        3. Then curl https://registry.cloudron.local ? This should give some UI page or login page of the registry

        Depending on where it fails, we have to proceed. FWIW, docker login to same cloudron registry works fine on my servers.

        LanhildL 1 Reply Last reply
        0
        • J joseph

          @lanhild We have to debug this step by step.

          1. Does host registry.cloudron.local resolve to public IP?
          2. Check if nginx can reach the container.. docker ps | grep com.docker.registry to get container ID. docker inspect bea487bec441 | grep IPAddress to get local IP. curl http://172.18.20.34:5000/asdf -v should get some response for the registry. It will have Docker-Distribution-Api-Version header.
          3. Then curl https://registry.cloudron.local ? This should give some UI page or login page of the registry

          Depending on where it fails, we have to proceed. FWIW, docker login to same cloudron registry works fine on my servers.

          LanhildL Offline
          LanhildL Offline
          Lanhild
          App Dev
          wrote last edited by Lanhild
          #12

          @joseph My answers, step-by-step as you formatted it in your message:

          1. Yes.
          2. Reachable, Docker-Distribution-Api-Version: registry/2.0
          <html>
          <head><title>302 Found</title></head>
          <body>
          <center><h1>302 Found</h1></center>
          <hr><center>nginx</center>
          </body>
          </html>
          

          docker login from the Cloudron server results in the following

          Error response from daemon: Get "https:/registry.cloudron.local/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)

          docker login from any other remote works perfectly fine.

          LanhildL 1 Reply Last reply
          0
          • LanhildL Lanhild

            @joseph My answers, step-by-step as you formatted it in your message:

            1. Yes.
            2. Reachable, Docker-Distribution-Api-Version: registry/2.0
            <html>
            <head><title>302 Found</title></head>
            <body>
            <center><h1>302 Found</h1></center>
            <hr><center>nginx</center>
            </body>
            </html>
            

            docker login from the Cloudron server results in the following

            Error response from daemon: Get "https:/registry.cloudron.local/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)

            docker login from any other remote works perfectly fine.

            LanhildL Offline
            LanhildL Offline
            Lanhild
            App Dev
            wrote last edited by
            #13

            I can't repro the issue on the demo server.

            1 Reply Last reply
            0
            • J Offline
              J Offline
              joseph
              Staff
              wrote last edited by
              #14

              Out of ideas, since I can't reproduce this anywhere. You can contact me on support@ if you want me to debug on the server.

              klawitterbK 1 Reply Last reply
              0
              • J joseph

                Out of ideas, since I can't reproduce this anywhere. You can contact me on support@ if you want me to debug on the server.

                klawitterbK Online
                klawitterbK Online
                klawitterb
                wrote last edited by
                #15

                @joseph I've now also noticed problems with the docker registry. In my case I'm also running a builderbot on the same cloudron instance. Seems like it can't connect to the docker registry, my logs on the builderbot are simply saying:

                Mar 28 08:42:05 build-1774683724218 Build stream finished
                Mar 28 08:42:05 build-1774683724218 Pushing...
                Mar 28 08:42:20 build-1774683724218 Push stream finished
                Mar 28 08:42:20 build-1774683724218 Get "https://docker.apehost.de/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
                Mar 28 08:42:20 build-1774683724218 Push failed
                

                Probably not related I've also noticed that the logs on the docker registry container get spammed with this error:

                Mar 28 08:46:32 time="2026-03-28T07:46:32.467979729Z" level=error msg="traces export: Post \"https://localhost:4318/v1/traces\": dial tcp [::1]:4318: connect: connection refused" go.version=go1.23.7 instance.id=401bc88b-1bfe-4713-ae09-1cffdf628884 service=registry version=3.0.0
                Mar 28 08:46:35 2026/03/28 07:46:35 [info] 71#71: *109 client 172.18.0.1 closed keepalive connection
                
                LanhildL 1 Reply Last reply
                0
                • klawitterbK klawitterb

                  @joseph I've now also noticed problems with the docker registry. In my case I'm also running a builderbot on the same cloudron instance. Seems like it can't connect to the docker registry, my logs on the builderbot are simply saying:

                  Mar 28 08:42:05 build-1774683724218 Build stream finished
                  Mar 28 08:42:05 build-1774683724218 Pushing...
                  Mar 28 08:42:20 build-1774683724218 Push stream finished
                  Mar 28 08:42:20 build-1774683724218 Get "https://docker.apehost.de/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
                  Mar 28 08:42:20 build-1774683724218 Push failed
                  

                  Probably not related I've also noticed that the logs on the docker registry container get spammed with this error:

                  Mar 28 08:46:32 time="2026-03-28T07:46:32.467979729Z" level=error msg="traces export: Post \"https://localhost:4318/v1/traces\": dial tcp [::1]:4318: connect: connection refused" go.version=go1.23.7 instance.id=401bc88b-1bfe-4713-ae09-1cffdf628884 service=registry version=3.0.0
                  Mar 28 08:46:35 2026/03/28 07:46:35 [info] 71#71: *109 client 172.18.0.1 closed keepalive connection
                  
                  LanhildL Offline
                  LanhildL Offline
                  Lanhild
                  App Dev
                  wrote last edited by
                  #16

                  @klawitterb said:
                  Probably not related I've also noticed that the logs on the docker registry container get spammed with this error:

                  Mar 28 08:46:32 time="2026-03-28T07:46:32.467979729Z" level=error msg="traces export: Post \"https://localhost:4318/v1/traces\": dial tcp [::1]:4318: connect: connection refused" go.version=go1.23.7 instance.id=401bc88b-1bfe-4713-ae09-1cffdf628884 service=registry version=3.0.0
                  

                  I'm also encountering these.

                  girishG 1 Reply Last reply
                  0
                  • robiR Offline
                    robiR Offline
                    robi
                    wrote last edited by
                    #17

                    Assuming it is listening on port 4318, you can't do https with localhost.

                    Dropping the 's' should work if the API route is available.

                    Conscious tech

                    1 Reply Last reply
                    0
                    • LanhildL Lanhild

                      @klawitterb said:
                      Probably not related I've also noticed that the logs on the docker registry container get spammed with this error:

                      Mar 28 08:46:32 time="2026-03-28T07:46:32.467979729Z" level=error msg="traces export: Post \"https://localhost:4318/v1/traces\": dial tcp [::1]:4318: connect: connection refused" go.version=go1.23.7 instance.id=401bc88b-1bfe-4713-ae09-1cffdf628884 service=registry version=3.0.0
                      

                      I'm also encountering these.

                      girishG Offline
                      girishG Offline
                      girish
                      Staff
                      wrote last edited by
                      #18

                      @Lanhild https://git.cloudron.io/packages/docker-registry-app/-/merge_requests/15 . I think that probably fixes it per upstream reports - https://github.com/distribution/distribution/issues/4270 , https://github.com/distribution/distribution-library-image/issues/187 . I don't think this related to your original DNS issue though. This traces export is just some log spam .

                      1 Reply Last reply
                      0
                      • girishG Offline
                        girishG Offline
                        girish
                        Staff
                        wrote last edited by
                        #19

                        OK, with the update that log message is gone (in our registry)

                        1 Reply Last reply
                        0

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • Bookmarks
                        • Search