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
  • 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 | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. Cloudron private installation

Cloudron private installation

Scheduled Pinned Locked Moved Solved Support
private-networkhomelabnetworking
20 Posts 3 Posters 3.7k 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.
    • girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #4

      Just want to point out that in our experience, it's best to have functional LE certs especially for many of the mobile apps which don't work well with self-signed certs.

      1 Reply Last reply
      0
      • D Offline
        D Offline
        dkdkdkk
        wrote on last edited by dkdkdkk
        #5

        Many thanks for the response.

        Using Amazon Route53 here. I am getting the error: queryNs ESERVFAIL <domain>

        There are NS records present and point to Amazon itself

        girishG 1 Reply Last reply
        0
        • D Offline
          D Offline
          dkdkdkk
          wrote on last edited by
          #6

          I think I got it, Amazon thingy... Let's see if that helps

          1 Reply Last reply
          0
          • D Offline
            D Offline
            dkdkdkk
            wrote on last edited by
            #7

            IT WORKS! THANK YOU

            1 Reply Last reply
            0
            • D dkdkdkk

              Many thanks for the response.

              Using Amazon Route53 here. I am getting the error: queryNs ESERVFAIL <domain>

              There are NS records present and point to Amazon itself

              girishG Offline
              girishG Offline
              girish
              Staff
              wrote on last edited by girish
              #8

              @dkdkdkk said in Cloudron private installation:

              Many thanks for the response.

              Using Amazon Route53 here. I am getting the error: queryNs ESERVFAIL <domain>

              There are NS records present and point to Amazon itself

              I missed an important step. You have to put the zone name as well in advanced as cloudron.domain.com. I updated the instructions.

              1 Reply Last reply
              0
              • D Offline
                D Offline
                dkdkdkk
                wrote on last edited by
                #9

                Cloudron is installed, but I am not there yet. I get a random disconnect or some request takes ages or gets blocked (firefox debug manager).

                When I do wget, I get the following:

                https://office.<domain>/
                Resolving office.<domain> (office.<domain>)... <localIP>
                Connecting to office.<domain> (office.<domain>)|<localIP>|:443... connected.
                HTTP request sent, awaiting response... 302 Moved Temporarily
                Location: http://office.<domain>/cloudron [following]
                URL transformed to HTTPS due to an HSTS policy
                https://office.<domain>/cloudron
                Reusing existing connection to office.<domain>:443.
                HTTP request sent, awaiting response... 301 Moved Permanently
                Location: http://office.<domain>/cloudron/ [following]
                URL transformed to HTTPS due to an HSTS policy
                https://office.<domain>/cloudron/
                Reusing existing connection to office.<domain>:443.
                HTTP request sent, awaiting response... 200 OK
                Length: 2228 (2,2K) [text/html]

                The amount of redirects seems strange to me when I start off with a request to the https address directly.

                I get the feeling that there is some kind of loop when requesting a page. Ctrl + F5 seems to solve the issue and makes the page load instantly. Some even get blocked according to the firefox debug inspector.

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

                  @dkdkdkk Cloudron only supports https and it looks like a lot of time is spent in redirecting from http to https. Do you see the issue if you entry https URL directly in your browser?

                  1 Reply Last reply
                  0
                  • D Offline
                    D Offline
                    dkdkdkk
                    wrote on last edited by
                    #11

                    Absolutely. And the requests which make the system hang are https too

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

                      @dkdkdkk This happens with all apps? What app is office.<domain> btw?

                      1 Reply Last reply
                      0
                      • D Offline
                        D Offline
                        dkdkdkk
                        wrote on last edited by dkdkdkk
                        #13

                        Yes all apps and the cloudron admin page itself too. When app has it the others do the same at the same time. I did a complete reinstall already. Same problem.

                        office= onlyoffice document server

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

                          Since you said Ctrl+F5 sorts out the issue, I wonder if this is some browser caching issue (from your previous non-cloudron setup). Have you tried another browser or another device? Or maybe clear the browser cache and try.

                          Depends on how deep you want to go but you can also try curl https://my.domain.com, you will only see relative URLs like https://paste.cloudron.io/juwojaqume.xml , so I am not sure where the redirects are coming from.

                          1 Reply Last reply
                          0
                          • D Offline
                            D Offline
                            dkdkdkk
                            wrote on last edited by dkdkdkk
                            #15

                            Cache has already been cleared. Tried on both firefox and opera on ubuntu and on firefox on a iphone. Mobile does not seem to suffer from this issue.

                            Firefox seems to keep "hanging". Opera starts with the same issue, but recovers after ~7-8 sec and seems to do a hard refresh (which solves the problem).

                            My feeling is saying that a local IP address from a DNS resolve is kind of "wrong", maybe a browser does not like that. I tried experimenting with hairpinning and that kind of stuff too.

                            Update:

                            I installed ubuntu directly on a system and cloudron on top. 16GB, 4 cores and 256gb storage. VM was the first thought, but installed directly to compare the behavior.

                            I also installed cloudron on a EC2 instance. No problemo....

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

                              @dkdkdkk said in Cloudron private installation:

                              My feeling is saying that a local IP address from a DNS resolve is kind of "wrong", maybe a browser does not like that

                              Generally, this is not a problem at all. In fact, that's how every intranet works (or even amazon VPC instances have DNS names that map to internal addresses). Browsers should also have no problem because otherwise every corporate which requires you to VPN in first before connecting to intranet won't work.

                              I say 'generally' because maybe there are some special intranet/local IP ranges with special behavior that I don't know of.

                              Hairpinning also shouldn't be a problem because we are talking of local addresses here and it should never need to exit the router.

                              I think your observation that firefox keeps "hanging" is interesting. Can you quickly try host my.domain.com on the CLI ? Does it translate quickly? Do you also have this DNS over HTTP which is supposedly enabled by default in firefox? I am not sure how it influences all this. Just putting some ideas for you to debug 🙂

                              1 Reply Last reply
                              0
                              • M Offline
                                M Offline
                                msbt
                                App Dev
                                wrote on last edited by msbt
                                #17

                                Just chiming in here, maybe someone has an explanation or solution for my problem. I have a similar setup: local server which is online but shouldn't be reachable from outside the network. The installation of cloudron was no problem, initially used cloudflare for the setup and changed to LAN IPs afterwards. Installing regular apps also works, but I'm looking forward to package a custom app, which requires me to fire up cloudron CLI after building it. But when I try to login via LAN, this happens:

                                cloudron login my.cloudron.example
                                Username: m
                                Password: *****************
                                2FA Token (if enabled): 
                                write EPROTO 140479727316736:error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure:s23_clnt.c:802:
                                

                                Also tried the suffix with --allow-selfsigned but no dice, anyone an idea what that's all about? All certs are there and the browser connection works fine.

                                Could a temporary port forward/DMZ be the solution?

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

                                  @msbt There was a similar issue recently - https://forum.cloudron.io/topic/3123/handshake-faliure-when-trying-to-login-through-cli . Can you check node version and reply there?

                                  1 Reply Last reply
                                  1
                                  • M Offline
                                    M Offline
                                    msbt
                                    App Dev
                                    wrote on last edited by
                                    #19

                                    ah my bad, didn't search for the error on the forums, let me try and report back asap, thanks!

                                    1 Reply Last reply
                                    0
                                    • M Offline
                                      M Offline
                                      msbt
                                      App Dev
                                      wrote on last edited by
                                      #20

                                      @girish stellar service as usual, of course it was the old node version, login works as expected now!

                                      1 Reply Last reply
                                      2
                                      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