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. SOGo
  3. Login to a blank page

Login to a blank page

Scheduled Pinned Locked Moved SOGo
26 Posts 2 Posters 2.0k Views 2 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 girish

    also, SOGo is meant to work only with the Cloudron mail server and the package pre-configures for login with the mail server.

    B Offline
    B Offline
    brynjar
    wrote on last edited by
    #15

    @girish I see the sogo server is trying to log in to my main url. The server is not directly connected to its external ip, it is behind nat. Can that be causing this?

    girishG 1 Reply Last reply
    0
    • B brynjar

      @girish I see the sogo server is trying to log in to my main url. The server is not directly connected to its external ip, it is behind nat. Can that be causing this?

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

      @brynjar Do you know if hairpin routing works on your setup? Essentially, you should be able to curl the external IP from the Cloudron. Does that work? You can try curl https://my.domain.com from the server. If that doesn't work, then I can provide some alternate solutions.

      edit: https://en.wikipedia.org/wiki/Network_address_translation#NAT_loopback

      B 1 Reply Last reply
      0
      • girishG girish

        @brynjar Do you know if hairpin routing works on your setup? Essentially, you should be able to curl the external IP from the Cloudron. Does that work? You can try curl https://my.domain.com from the server. If that doesn't work, then I can provide some alternate solutions.

        edit: https://en.wikipedia.org/wiki/Network_address_translation#NAT_loopback

        B Offline
        B Offline
        brynjar
        wrote on last edited by
        #17

        @girish I get this:

        "<html>
        <head><title>301 Moved Permanently</title></head>
        <body>
        <center><h1>301 Moved Permanently</h1></center>
        <hr><center>nginx</center>
        </body>
        </html>
        "

        girishG 1 Reply Last reply
        0
        • B brynjar

          @girish I get this:

          "<html>
          <head><title>301 Moved Permanently</title></head>
          <body>
          <center><h1>301 Moved Permanently</h1></center>
          <hr><center>nginx</center>
          </body>
          </html>
          "

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

          @brynjar Did you do http by any chance or was it https? Can you paste the output of curl -v https://my.domain.com (maybe remove any sensitive stuff). But I feel this is probably your router login page or something, let's see.

          B 1 Reply Last reply
          0
          • girishG girish

            @brynjar Did you do http by any chance or was it https? Can you paste the output of curl -v https://my.domain.com (maybe remove any sensitive stuff). But I feel this is probably your router login page or something, let's see.

            B Offline
            B Offline
            brynjar
            wrote on last edited by
            #19

            @girish This is from http - https gives an ssl error.

            "curl: (60) SSL certificate problem: unable to get local issuer certificate
            More details here: https://curl.haxx.se/docs/sslcerts.html

            curl failed to verify the legitimacy of the server and therefore could not
            establish a secure connection to it. To learn more about this situation and
            how to fix it, please visit the web page mentioned above.
            "

            girishG 1 Reply Last reply
            0
            • B brynjar

              @girish This is from http - https gives an ssl error.

              "curl: (60) SSL certificate problem: unable to get local issuer certificate
              More details here: https://curl.haxx.se/docs/sslcerts.html

              curl failed to verify the legitimacy of the server and therefore could not
              establish a secure connection to it. To learn more about this situation and
              how to fix it, please visit the web page mentioned above.
              "

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

              @brynjar curl -kv https://my.domain.com then (-k will accept self-signed cert)

              B 2 Replies Last reply
              0
              • girishG girish

                @brynjar curl -kv https://my.domain.com then (-k will accept self-signed cert)

                B Offline
                B Offline
                brynjar
                wrote on last edited by
                #21

                @girish I get the login page of the router, pfsense. This is a dns rebind blocking thing.

                girishG 1 Reply Last reply
                0
                • girishG girish

                  @brynjar curl -kv https://my.domain.com then (-k will accept self-signed cert)

                  B Offline
                  B Offline
                  brynjar
                  wrote on last edited by
                  #22

                  @girish Disabling dns rebind check does not change anything. Not sure why.

                  1 Reply Last reply
                  0
                  • B brynjar

                    @girish I get the login page of the router, pfsense. This is a dns rebind blocking thing.

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

                    @brynjar Given this is a server in the local network, how do you plan to make the mail server make anyway? It will need inbound port 25 (does your ISP allow this?) for email to work at all.

                    Anyway if you have a plan for all that 🙂 ... Cloudron uses a DNS server called unbound internally. You can configure unbound to make queries via an intermittent resolver, for example, maybe pfsense. Then in pfsense you can configure my.domain.com to point to your internal IP. This ways curl my.domain.com from inside Cloudron will work. There's some info at https://docs.cloudron.io/networking/#internal-dns-server (instead of cloudron.lan in the example you would use domain.com)

                    B 1 Reply Last reply
                    0
                    • girishG girish

                      @brynjar Given this is a server in the local network, how do you plan to make the mail server make anyway? It will need inbound port 25 (does your ISP allow this?) for email to work at all.

                      Anyway if you have a plan for all that 🙂 ... Cloudron uses a DNS server called unbound internally. You can configure unbound to make queries via an intermittent resolver, for example, maybe pfsense. Then in pfsense you can configure my.domain.com to point to your internal IP. This ways curl my.domain.com from inside Cloudron will work. There's some info at https://docs.cloudron.io/networking/#internal-dns-server (instead of cloudron.lan in the example you would use domain.com)

                      B Offline
                      B Offline
                      brynjar
                      wrote on last edited by
                      #24

                      @girish This server is on a corp network with more then one external ip's. I have all traffic for one external ip natted to the cloudron server, both directions.

                      girishG 1 Reply Last reply
                      0
                      • B brynjar

                        @girish This server is on a corp network with more then one external ip's. I have all traffic for one external ip natted to the cloudron server, both directions.

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

                        @brynjar Ah ok. FWIW, this is only a problem with SOGo. They made a change where the IMAP/SMTP servers must have a proper certificate and there is no way to work with self-signed certs. rainloop/roundcube are configured to use the internal docker hostnames, so they don't have this problem iirc.

                        B 1 Reply Last reply
                        1
                        • girishG girish

                          @brynjar Ah ok. FWIW, this is only a problem with SOGo. They made a change where the IMAP/SMTP servers must have a proper certificate and there is no way to work with self-signed certs. rainloop/roundcube are configured to use the internal docker hostnames, so they don't have this problem iirc.

                          B Offline
                          B Offline
                          brynjar
                          wrote on last edited by brynjar
                          #26

                          @girish Damn it, Sogo is the only webmail I like of these, Roundcube is so boring.

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