[Freedombox-discuss] Can't get android phone to connect to radicale.

Daniel Gnoutcheff gnoutchd at softwarefreedom.org
Mon Feb 6 16:57:45 UTC 2017


On 02/04/2017 01:52 PM, A. F. Cano wrote:
> =================== Android log ====================
<snip>
> EXCEPTION javax.net.ssl.SSLException: Connection closed by peer

This may be a sign that SSL certificate verification is failing.
Stuffing that message into DuckDuckGo found me a fellow who got the same
error message and eventually determined that his server's certificate
had an unsuitable commonName value:


http://stackoverflow.com/questions/12346368/android-httpsurlconnection-javax-net-ssl-sslexception-connection-closed-by-peer

If that's the case here, then we somehow need to teach this thing to
accept the cert or prepare a certificate that's more to its liking.

What certificate are we using on https://192.168.1.27/?  What's the
commonName, and what's the signing CA?


> If I disable the android firewall I get this:
> 
> =================== Android log ====================
<snip>
> 2017-01-29 16:59:14 2 [HttpClient$1] <-- HTTP FAILED: java.net.ConnectException: Failed to connect to /192.168.1.27:443
> 2017-01-29 16:59:14 2 [ui.setup.DavResourceFinder] PROPFIND/OPTIONS on user-given URL failed
> EXCEPTION java.net.ConnectException: Failed to connect to /192.168.1.27:443

That indeed looks like a firewall block.  Based on this, I'd say that
fixing/disabling the firewall is necessary (but not sufficient) to get
this working.

HTH!

Later,
Daniel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/freedombox-discuss/attachments/20170206/bdeb19dd/attachment.sig>


More information about the Freedombox-discuss mailing list