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
13 Posts 3 Posters 100 Views 3 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.
  • robiR Offline
    robiR Offline
    robi
    wrote last edited by
    #4

    It may be the https issue which local to local can't connect

    Conscious tech

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

      I assumed .local was like .example. Did you literally mean .local ?

      LanhildL 1 Reply Last reply
      0
      • J joseph

        I assumed .local was like .example. Did you literally mean .local ?

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

        @joseph I used .local for the sake of my example

        1 Reply Last reply
        0
        • J joseph

          @lanhild I just tried to reproduce this and it seems to work fine. Have you added the local registry app as a Private docker registry i.e under System -> Docker -> Registries? The local registry app is not automatically available for app install (same cloudron or different cloudron).

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

          @joseph said:

          @lanhild I just tried to reproduce this and it seems to work fine. Have you added the local registry app as a Private docker registry i.e under System -> Docker -> Registries?

          That's what I'm attempting to do, but it results in the error I mentioned.

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

            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 2 Replies 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 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

                      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