<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Nextcloud accounts and Invalid url host]]></title><description><![CDATA[<p dir="auto">Re: <a href="/topic/2806/nextcloud-accounts-and-invalid-url-host">Nextcloud accounts and Invalid url host</a></p>
<p dir="auto">Hello, the topic in the above link is quite old but I meet exactly the same issue so I would link it to mine.</p>
<p dir="auto">I have bought a Nexus 5 and when I try to setup the CalDAV through Nextcloud account, it says <code>Invalid url host</code>.</p>
<ul>
<li>URL used is in <code>https://nextcloud.xxxxxxxx.com/nextcloud</code> format</li>
<li>I have also tried <code>https://nextcloud.xxxxxxxx.com</code></li>
<li>Let's encrypt certificate is enabled and valid</li>
<li>Finally, I have tried the workaround proposed by <a class="plugin-mentions-user plugin-mentions-a" href="/user/ernest" aria-label="Profile: ernest">@<bdi>ernest</bdi></a> :</li>
</ul>
<pre><code>phablet@ubuntu-phablet:~$ export OAU_LOGGING_LEVEL=2
phablet@ubuntu-phablet:~$ export OAU_DAEMON_TIMEOUT=9999
phablet@ubuntu-phablet:~$ online-accounts-service
</code></pre>
<p dir="auto">however when I launch the 3rd command (<code>online-accounts-service</code>), I cannot use the keyboard anymore in the account settings.</p>
<p dir="auto">Do you have any idea about what is wrong ? Thank you very much for your help.</p>
]]></description><link>https://forums.ubports.com/topic/6020/nextcloud-accounts-and-invalid-url-host</link><generator>RSS for Node</generator><lastBuildDate>Sat, 14 Mar 2026 05:10:15 GMT</lastBuildDate><atom:link href="https://forums.ubports.com/topic/6020.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 12 Apr 2021 16:12:30 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Nextcloud accounts and Invalid url host on Sun, 18 Apr 2021 21:38:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/applee" aria-label="Profile: applee">@<bdi>applee</bdi></a> Yes with pleasure, I hope it will help</p>
]]></description><link>https://forums.ubports.com/post/49750</link><guid isPermaLink="true">https://forums.ubports.com/post/49750</guid><dc:creator><![CDATA[prog-amateur]]></dc:creator><pubDate>Sun, 18 Apr 2021 21:38:26 GMT</pubDate></item><item><title><![CDATA[Reply to Nextcloud accounts and Invalid url host on Sun, 18 Apr 2021 21:16:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/prog-amateur" aria-label="Profile: prog-amateur">@<bdi>prog-amateur</bdi></a><br />
Thanks for your feedback.<br />
Hopefully it'll help others to avoid such trouble.</p>
<p dir="auto">Can you please also change the topic to a question and then mark it solved ?<br />
You can find the options in the cog wheel menu at the top of the page.</p>
]]></description><link>https://forums.ubports.com/post/49746</link><guid isPermaLink="true">https://forums.ubports.com/post/49746</guid><dc:creator><![CDATA[AppLee]]></dc:creator><pubDate>Sun, 18 Apr 2021 21:16:28 GMT</pubDate></item><item><title><![CDATA[Reply to Nextcloud accounts and Invalid url host on Sun, 18 Apr 2021 18:01:10 GMT]]></title><description><![CDATA[<h1>OK !</h1>
<p dir="auto">I have found the root cause of the issue ! First of all, thank you very much for your help and sorry for my late reply, I have checked your advises.</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/keneda" aria-label="Profile: Keneda">@<bdi>Keneda</bdi></a>, UT Tweak Tool allowed to switch successfully to read/write mode, but in the end moving the certificate to the folder did not solve the issue (still the <code>Invalid url host</code> error).</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/povoq" aria-label="Profile: poVoq">@<bdi>poVoq</bdi></a> thank you, it was a nice idea, but unfortunately, it didn't worked neither.</p>
<p dir="auto">So I tried to figure out what conditions are needed to avoid this message:</p>
<ol>
<li>you need an <strong>official certificate</strong> (ex : from Let's Encrypt) and not a self-certificate, otherwise Nextcloud sync does not work.</li>
<li>you have to open ports 80 to renew your certificate automatically, otherwise Let's Encrypt cannot issue/renew the certificate.</li>
<li>even with port 80 open, the certificate could not be installed (error message <code>timeout</code> error). So I checked the firewall: everything seemed to be normal.<br />
However, I noticed that my Nextcloud settings had an <code>https-only</code> option enabled. Once I disabled the option, the certificate could be installed, and I was able to sync my Nextcloud account by entering the following format: <code>https://mydomain.free.fr/</code> (no need for <code>/nextcloud</code> at the end)</li>
</ol>
<p dir="auto">What a challenge !!! Thank you very much all !!!</p>
]]></description><link>https://forums.ubports.com/post/49737</link><guid isPermaLink="true">https://forums.ubports.com/post/49737</guid><dc:creator><![CDATA[prog-amateur]]></dc:creator><pubDate>Sun, 18 Apr 2021 18:01:10 GMT</pubDate></item><item><title><![CDATA[Reply to Nextcloud accounts and Invalid url host on Thu, 15 Apr 2021 23:37:23 GMT]]></title><description><![CDATA[<p dir="auto">Hmm, does the embedded Morph webview in the account manager use the same cache as the main Morph browser? I noticed that it stores old certificates really long. Maybe try deleting your Morph browser history and cache and see if that makes a difference for the certificates as well? A bit of a shot in the dark to be honest...</p>
]]></description><link>https://forums.ubports.com/post/49581</link><guid isPermaLink="true">https://forums.ubports.com/post/49581</guid><dc:creator><![CDATA[poVoq]]></dc:creator><pubDate>Thu, 15 Apr 2021 23:37:23 GMT</pubDate></item><item><title><![CDATA[Reply to Nextcloud accounts and Invalid url host on Fri, 16 Apr 2021 00:52:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/prog-amateur" aria-label="Profile: prog-amateur">@<bdi>prog-amateur</bdi></a><br />
Try to use UT Tweak Tools to remount r/w maybe?</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/prog-amateur" aria-label="Profile: prog-amateur">@<bdi>prog-amateur</bdi></a> said in <a href="/post/49557">Nextcloud accounts and Invalid url host</a>:</p>
<blockquote>
<p dir="auto">do you know if it is now impossible to get read and write permissions in OTA 16 ?</p>
</blockquote>
<p dir="auto">Yes it is possible, see :<br />
<a href="https://forums.ubports.com/topic/5981/messaging-app-colors/11?_=1618240021650">https://forums.ubports.com/topic/5981/messaging-app-colors/11?_=1618240021650</a></p>
]]></description><link>https://forums.ubports.com/post/49560</link><guid isPermaLink="true">https://forums.ubports.com/post/49560</guid><dc:creator><![CDATA[Keneda]]></dc:creator><pubDate>Fri, 16 Apr 2021 00:52:05 GMT</pubDate></item><item><title><![CDATA[Reply to Nextcloud accounts and Invalid url host on Thu, 15 Apr 2021 15:01:01 GMT]]></title><description><![CDATA[<p dir="auto">Thank you. I have investigated a bit more : my certificate is still the old one (self certificate, not the supposed TLS from ISP... very very strange.</p>
<p dir="auto">I have decided to follow <a href="https://github.com/ubports/ubuntu-touch/issues/381#issuecomment-496283366" rel="nofollow ugc">another workaround</a>, which seems to work according to the member (Morph cannot take into account the self-certificate, but the CalDAV sync does work after this workaround and this is exactly what I want). The proposal is to move the own self-certificate into <code>/usr/local/share/ca-certificates/</code>. To do so, you have to have read and write permission in the folder by using <code>sudo mount -o remount,rw /</code>.</p>
<p dir="auto">By doing so, the output of <code>sudo mount -o remount,rw /</code> is an <code>unable to resolve host phablet@ubuntu</code> error message. So I can't move my self certificate in this folder, I don't know why I have this error message (do you know if it is now impossible to get read and write permissions in OTA 16 ?). This is really frustrating.</p>
<p dir="auto">Thank you</p>
]]></description><link>https://forums.ubports.com/post/49557</link><guid isPermaLink="true">https://forums.ubports.com/post/49557</guid><dc:creator><![CDATA[prog-amateur]]></dc:creator><pubDate>Thu, 15 Apr 2021 15:01:01 GMT</pubDate></item><item><title><![CDATA[Reply to Nextcloud accounts and Invalid url host on Thu, 15 Apr 2021 11:05:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/prog-amateur" aria-label="Profile: prog-amateur">@<bdi>prog-amateur</bdi></a> That is most probably the case...</p>
]]></description><link>https://forums.ubports.com/post/49552</link><guid isPermaLink="true">https://forums.ubports.com/post/49552</guid><dc:creator><![CDATA[arubislander]]></dc:creator><pubDate>Thu, 15 Apr 2021 11:05:43 GMT</pubDate></item><item><title><![CDATA[Reply to Nextcloud accounts and Invalid url host on Wed, 14 Apr 2021 21:18:06 GMT]]></title><description><![CDATA[<p dir="auto">Thanks to both of you, I can confirm that changing the password with the first letter to lower case does not solve the problem.</p>
<p dir="auto">In my Nextcloud account, the link for a specific calendar has this specific format :<br />
<code>https://nextcloud.xxxx.fr/remote.php/dav/calendars/idname/calendar_name/</code><br />
While if I use the Nextcloud credential sync, I also<br />
<code>https://nextcloud.xxxx.fr/remote.php/dav</code></p>
<p dir="auto">I have tried without success.</p>
<p dir="auto">But I discovered something interesting: the certificate is considered as not secure (red lock)... And I discovered that my French ISP has a bug: they are always in winter time instead of summer time.</p>
<p dir="auto">So I think when I requested a TLS certificate, it was issued in winter time, while the certificate authority validated it at the same time, but in summer time, which led to this atypical situation.</p>
<p dir="auto">I called my ISP and they said they didn't think this was the cause of my problem, and asked me to restart my router. However, his solution did not help.</p>
<p dir="auto">To summarize, it is like if I had no certificate, maybe that could be the issue ?</p>
]]></description><link>https://forums.ubports.com/post/49538</link><guid isPermaLink="true">https://forums.ubports.com/post/49538</guid><dc:creator><![CDATA[prog-amateur]]></dc:creator><pubDate>Wed, 14 Apr 2021 21:18:06 GMT</pubDate></item><item><title><![CDATA[Reply to Nextcloud accounts and Invalid url host on Wed, 14 Apr 2021 18:33:15 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/prog-amateur" aria-label="Profile: prog-amateur">@<bdi>prog-amateur</bdi></a> Hmm, not sure... maybe check your .well-known settings Nextcloud side? Might be required for discovery.</p>
]]></description><link>https://forums.ubports.com/post/49531</link><guid isPermaLink="true">https://forums.ubports.com/post/49531</guid><dc:creator><![CDATA[poVoq]]></dc:creator><pubDate>Wed, 14 Apr 2021 18:33:15 GMT</pubDate></item><item><title><![CDATA[Reply to Nextcloud accounts and Invalid url host on Wed, 14 Apr 2021 05:58:57 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/prog-amateur" aria-label="Profile: prog-amateur">@<bdi>prog-amateur</bdi></a> All I can rember when I had the issue was that it was the second part of the url that I had wrong for my Generic CalDAV which is lakotaubp@-----------mail.com@------.thegood.cloud/caldev/  same for my Nextcloud but without /caldav/ at the end.<br />
I also kept putting a capital letter at the start of a password or email address which also got the error you are.</p>
]]></description><link>https://forums.ubports.com/post/49491</link><guid isPermaLink="true">https://forums.ubports.com/post/49491</guid><dc:creator><![CDATA[Lakotaubp]]></dc:creator><pubDate>Wed, 14 Apr 2021 05:58:57 GMT</pubDate></item><item><title><![CDATA[Reply to Nextcloud accounts and Invalid url host on Tue, 13 Apr 2021 21:39:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/povoq" aria-label="Profile: povoq">@<bdi>povoq</bdi></a> Hello, thank you for helping me, I felt a bit alone with this issue.</p>
<p dir="auto">Actually, the first try was to use <code>Settings&gt;Accounts&gt;Nextcloud</code> and <em>copy/paste</em> my credentials as you said but this lead to the "invalid URL host" error message.</p>
<p dir="auto">This is why I have tried the workaround by <a class="plugin-mentions-user plugin-mentions-a" href="/user/ernest" aria-label="Profile: ernest">@<bdi>ernest</bdi></a> but it doesn't work too.</p>
<p dir="auto">Then I have tried to use normal CalDAV credentials by using the calendar caldav url showed in my Nextcloud account but it doesn't work too.</p>
<p dir="auto">Then I have tried at least to import my calendar with an <code>.ics</code> format but the Agenda app does not recognize this file format !</p>
<p dir="auto">My agenda has many entries and, unfortunately, I can't enter each one manually from scratch.</p>
<p dir="auto">So I feel a bit stuck and I need help. I hope you or anybody else will be alble to confirm the issue and find a solution. Thank you very much !</p>
]]></description><link>https://forums.ubports.com/post/49483</link><guid isPermaLink="true">https://forums.ubports.com/post/49483</guid><dc:creator><![CDATA[prog-amateur]]></dc:creator><pubDate>Tue, 13 Apr 2021 21:39:59 GMT</pubDate></item><item><title><![CDATA[Reply to Nextcloud accounts and Invalid url host on Tue, 13 Apr 2021 12:59:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/prog-amateur" aria-label="Profile: prog-amateur">@<bdi>prog-amateur</bdi></a> via cut and paste you can input your nextcloud credentials into the online accounts.</p>
]]></description><link>https://forums.ubports.com/post/49422</link><guid isPermaLink="true">https://forums.ubports.com/post/49422</guid><dc:creator><![CDATA[poVoq]]></dc:creator><pubDate>Tue, 13 Apr 2021 12:59:33 GMT</pubDate></item></channel></rss>