mstilkerich / rcmcarddav

CardDAV plugin for RoundCube Webmailer
GNU General Public License v2.0
258 stars 81 forks source link

No connection to own Owncloud installation #151

Closed finswimmer closed 8 years ago

finswimmer commented 8 years ago

Hello, i'm using roundcube 1.1.4 and i try to install the carddav plugin. I can see the interface in the settings but when I enter my settings and submit it, I only get a blank page. In the error logs I found this

[19-May-2016 15:18:59 Europe/Berlin] error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol [19-May-2016 15:18:59 Europe/Berlin] PHP Fatal error: Uncaught exception 'Httpful\Exception\ConnectionErrorException' with message 'Unable to connect to "https://example.org:443/owncloud/remote.php/dav/addressbooks/users/finswimmer/default/": 35 error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol' in /usr/share/psa-roundcube/vendor/nategood/httpful/src/Httpful/Request.php:1028

If I use http instead of https I receive the message that no addressbook could be found.

What's going wrong here?

fin swimmer

blind-coder commented 8 years ago

That's an incompatibility between your PHPs cURL library and the HTTPS configuration of the server. There's nothing RCMCardDAV can do about that. You can try updating your php-curl library and checking if - on the commandline - "curl https://example.org:443/" works.

finswimmer commented 8 years ago

Ah, thanks for your quick reply. This gives me the correct hint.

I had my domain in the hosts file pointing to 127.0.0.1. I removed it and now it works.

fin swimmer