Navigation

    UBports Robot Logo

    UBports Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    UBsync cannot add NextCloud account

    Support
    3
    7
    498
    Loading More Posts
    • 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.
    • D
      dremelts last edited by

      OTA-15 on OPO

      I have my own NextCloud server running on a raspberry pi 3. I used mkcert to generate my own rootCA and SSL certs for the NextCloudPi server. I have installed the root certificate on my Linux-Mint laptop and on the Ubuntu Touch OPO. I can connect to and log into the NextCloud by simply going to https://<MyNextCloudIP> in a browser on my laptop and OPO with no security warnings. But, when I try to set up a NextCloud connection in Calendar on OPO or try to set up a NextCloud account in UBsync using https://<MyNextCloudIP> and my NextCloud credentials I get "Invalid Host URL".

      Anyone have any ideas I can try?

      poVoq P 2 Replies Last reply Reply Quote 0
      • poVoq
        poVoq @dremelts last edited by

        You want it to be only available in the local network?

        Normally I would configure it as a regular web-server and then configure the router to do NAT reflection so that it can be equally accessed from inside the same network.

        I have no idea what might be going wrong with your rather uncommon setup though.

        OnePlus3 (dev)

        D 1 Reply Last reply Reply Quote 0
        • P
          padu @dremelts last edited by

          @dremelts No idea either, but same here with a local Nextcloud snap installation with (snap-managed) self-signed certificate. Invalid host URL no matter what URL is given. Calendar synchronization works fine with other, non-UT clients.

          1 Reply Last reply Reply Quote 0
          • D
            dremelts @poVoq last edited by

            @povoq yes, it's only available locally for now. I just wanted to do some testing with UT to see if I can de-Google my life. I don't even have a SIM card in the phone right now so everything is just via wifi. The thing is: the browser on the phone can access the NextCloud server just fine without any security complaints so I think my SSL certs are all in order.

            Could it be a DNS thing? Does the Calendar and UBsync check for a valid DNS entry on an external site?

            poVoq 1 Reply Last reply Reply Quote 0
            • poVoq
              poVoq @dremelts last edited by

              @dremelts If it is local only, why bother with certs at all? Certs without real DNS are always a bit hackish IMHO.

              OnePlus3 (dev)

              D 1 Reply Last reply Reply Quote 0
              • D
                dremelts @poVoq last edited by

                @povoq Right. I set it up initially without certs and just ignored the security warnings. But then, when I tried to set up an internet calendar in Calendar and it came back with "Invalid Host URL" I thought it might be because the server was not trusted so that's why I went to the trouble of adding the SSL cert on the server and making my own rootCA. But, that did not resolve the issue so I'm back to square one.

                D 1 Reply Last reply Reply Quote 0
                • D
                  dremelts @dremelts last edited by

                  In the Calendar app I tapped on Add online Calendar and, instead of selecting NextCloud, I selected Generic CalDAV, entered the IP of my local NextCloudPi server and user credentials and it's working now.

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post