-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WebDAV error message with GnuTLS Apache SSL System #2540
Comments
similar to #2511 |
I have the same problème :
@mmattel The error message seems to be different here from #2511 : I also use gnutls. |
Hi all,
I've a self-signed certificate on my site, and is well-known that curl does not like it so much :-P
|
On the original error at the beginning of this issue, I've noticed several people with Debian or Ubuntu having the same problem. I think the issue is that on Debian and Ubuntu, by default the /etc/hosts file is populated with The issue is that php-curl is trying to contact Apache locally on 127.0.0.1 (assuming they are using fully.qualified.name for your instance) and their SSL site is probably not bound to 127.0.0.1 so it can't reach the site. If you change the 127.0.0.1 to the IP your SSL owncloud instance is bound to, it should work. |
Hi, I added my owncloud instance's fully qualified name to my IP address but this seems not work. The line I modified :
Error message :
I use Ubuntu 12.04.2 |
From the command line, ping your.owncloud.instance. and make sure it resolves to the correct IP that the SSL instance of Apache2 responds on. |
I did so... And the IP responding match the IP at the beginning of the line where I added 'owncloud.example.com'. But, when I do
where And from the command'line server, I obtain :
where owncloud.example.com is the responding URL for my owncloud instance. |
I'm also seeing this issue on multiple installs of CentOS 5.8 with GnuTLS, it's not happening on CentOS 6.4 with mod_ssl, unfortunately mod_ssl on CentOS 5 doesn't support SNI due to the version of OpenSSL (0.9.8e-22.el5_8.4) so we're unable to switch to mod_ssl. We're running gnutls-2.12.23 and mod_gnutls-0.5.10 with apache 2.2.23. The webserver is having no problems resolving the DNS. The issue only occurs when browsing owncloud with SSL, without SSL the error disappears. |
i installed
i don't get any output, so it looks like the insecure sslv2 ciphers haven't been installed. :) would someone please update the installation instructions to mention this dependency when using mod_gnutls? thanks! |
never mind... :( it looks like i visited the site using |
Having this problem on a clean install of SLES 11. isWebDAVWorking: NO - Reason: exception 'Sabre_DAV_Exception' with message '[CURL] Error while making request: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol (error code: 35)' in /srv/www/htdocs/owncloud/3rdparty/Sabre/DAV/Client.php:410 Stack trace: #0 /srv/www/htdocs/owncloud/3rdparty/Sabre/DAV/Client.php(179): Sabre_DAV_Client->request('PROPFIND', '', '<?xml version="...', Array) #1 /srv/www/htdocs/owncloud/lib/util.php(648): Sabre_DAV_Client->propFind('', Array) #2 /srv/www/htdocs/owncloud/settings/admin.php(34): OC_Util::isWebDAVWorking() #3 /srv/www/htdocs/owncloud/lib/route.php(113) : runtime-created function(1): require_once('/srv/www/htdocs...') #4 [internal function]: __lambda_func(Array) #5 /srv/www/htdocs/owncloud/lib/router.php(127): call_user_func('?lambda_90', Array) #6 /srv/www/htdocs/owncloud/lib/base.php(629): OC_Router->match('/settings/admin') #7 /srv/www/htdocs/owncloud/index.php(28): OC::handleRequest() #8 {main} why is OC talking about 'unknown protocol' ?? BTW using SSL23 is not a good idea cause SSL2 is known to be insecure. |
I had a similar issue yesterday after installing OC6 on a ubuntu 13.10 server. |
Do you use a self signed ssl cert? |
Yes, I do. |
Hello Frank, I have the same issue here and tried a lot around. Here are my findings. 1.) I deleted my self signed certificate At this point things looked better but I am still stuck. sudo curl https://mydomain.com now reports that it is principly fine with the certificate but now responds with "forbidden". sudo curl https://mydomain.com
Here are my owncloud.log entries:
I have not tried it with the sync client, but this will come in the next days. Maybe this page helps to find/come over the issue: http://curl.haxx.se/docs/sslcerts.html Best regards |
add on, a additional message coming from owncloud.log {"app":"core","message":"isWebDAVWorking: NO - Reason: [CURL] Error while making request: Operation timed out after 10001 milliseconds with 0 bytes received (error code: 28) (Sabre_DAV_Exception)","level":2,"time":"2013-12-28T23:39:28+00:00"} |
Same problem here as the original report. Details:Expected behaviourNo error message in Admin panel. Actual behaviourError message in Admin panel: (Same as original reporter, just different language)
Additional tests with curl on command line:Running curl from my client Mac results in:
Running curl on the server machine results in:
Server configurationOperating system: Debian 6.0.7 Web server: Apache/2.2.16 (Debian) Database: mysql Ver 14.14 Distrib 5.1.49, for debian-linux-gnu (i486) PHP version: PHP 5.3.3-7+squeeze17 ownCloud version: ownCloud 5.0.14a Updated from an older ownCloud or fresh install: fresh install List of activated app:
The content of config/config.php: (Without the database password and passwordsalt)
Are you using external storage, if yes which one: none Client configurationBrowser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:24.0) Gecko/20100101 Firefox/24.0 Operating system: MacOSX 10.6.8 LogsWeb server error log
ownCloud log (data/owncloud.log)
|
In #7045 it has been suggested to prevent the curl call to verify the host. |
After removing the 'htaccess (Auth)' everything is fine now. |
I'm having exactly the same problem, also using:
By the way, not sure if I was doing something silly but I tried to apply the path proposed in #8181 to my a OwnCloud 6.0.3 development environment, but still have the message. owncloud.log says:
|
Obsoleted by #7051 |
There is an error message about WebDAV on OC 5 installation when using a SSL connexion and GnuTLS certificate Apache2 module.
The message is:
Your web server is not yet properly setup to allow files synchronization
because the WebDAV interface seems to be broken.
On owncloud/data/owncloud.log, we have:
{"app":"core","message":"isWebDAVWorking: NO - Reason: exception
'Sabre_DAV_Exception' with message '[CURL] Error while making request:
error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol (error
code: 35)' in /var/www/owncloud/3rdparty/Sabre/DAV/Client.php:410\nStack
trace:\n#0 /var/www/owncloud/3rdparty/Sabre/DAV/Client.php(179):
Sabre_DAV_Client->request('PROPFIND', '', '<?xml version="...', Array)\n#1
/var/www/owncloud/lib/util.php(590): Sabre_DAV_Client->propFind('', Array)\n#2
/var/www/owncloud/settings/admin.php(34): OC_Util::isWebDAVWorking()\n#3
/var/www/owncloud/lib/route.php(113) : runtime-created function(1):
require_once('/var/www/ownclo...')\n#4 [internal function]: __lambda_func(Array)\n#5
/var/www/owncloud/lib/router.php(127): call_user_func('?lambda_8', Array)\n#6
/var/www/owncloud/lib/base.php(606): OC_Router->match('/settings/admin')\n#7
/var/www/owncloud/index.php(28): OC::handleRequest()\n#8
{main}","level":2,"time":1363823944}
I try to use mod_ssl module just to this virtual host (OC) and GnuTLS module to the others on our Apache server. I have the same message.
The only way we have is to replace GnuTLS apache module to SSL module on ALL virtual hosts...
This is not really a good solution because we have chosen GnuTLS apache module because SSL one don't accept multiple domain certificate by server...
Our configuration:
OS : Debian wheezy
ownCloud: 5.0 from repository
The text was updated successfully, but these errors were encountered: