You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "mgolovko@metrotek.ru" <mg...@metrotek.ru> on 2010/10/26 08:52:47 UTC

Hi! I have problems

Hi everybody!!!

I have problems with Apache+dav_svn+ssl. When I update or checkoutI 
receive error: REPORT of '/!svn/vcc/default': Could not read response 
body: Secure connection truncated (https://svn.xxx.xx 
<https://svn.xxx.xx/>). Early it appeared sometimes, but now it shows 
always, big or small files don`t matter.

My system specification:

Linux CentOS_5_4 2.6.18-194.17.1.el5xen #1 SMP Wed Sep 29 14:12:56 EDT 
2010 i686 i686 i386 GNU/Linux

Server version: Apache/2.2.3 Server built: Aug 30 2010 12:32:08

svn, version 1.6.13 (r1002816)

configuration

LoadModule dav_svn_module modules/mod_dav_svn.so

LoadModule authz_svn_module modules/mod_authz_svn.so


<VirtualHost *:443>

ServerName svn.xx.xx

SVNPathAuthz off

SSLEngine On

SSLCertificateFile /etc/httpd/ssl/apache.pem

SSLProtocol all

SSLCipherSuite HIGH:MEDIUM

<Location />

LimitRequestBody 0

LimitXMLRequestBody 0

SSLRequireSSL

DAV svn

SVNPath /var/www/svn/repos

AuthzSVNAccessFile /var/www/svn/repos/conf/authz

# Basic auth settings

AuthName "Axion's public repository"

AuthType Basic

AuthBasicProvider ldap

AuthLDAPUrl ldap://127.0.0.1/dc=xx,dc=xx?uid?sub?(objectClass=*)

AuthLDAPBindPassword xxxxxx

AuthLDAPBindDN cn=Manager,dc=xx,dc=xx

AuthzLDAPAuthoritative on

Require ldap-group dc=xx,dc=xx

</Location>

LogLevel debug

LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" 
%I %O" combinedio

ErrorLog /var/log/httpd/svn-error.log

TransferLog /var/log/httpd/svn-access.log

</VirtualHost>


Have anybody got any ideas?


Re: Hi! I have problems

Posted by David Weintraub <qa...@gmail.com>.
On Tue, Oct 26, 2010 at 5:40 AM, John Doe <jd...@yahoo.com> wrote:
> If you google for:
>
>  svn "Secure connection truncated"
>
> the first and second answers propose one solution.  maybe try it and see if your
> problems disappear?

I just did that google, and the first post
(http://gallery.menalto.com/node/53820) never solved the issue. The
user just said he'll do the checkout 30+ times until he gets what he
needs.

The second (http://www.svnforum.org/2017/viewtopic.php?p=12332)
recommended setting SVNPathAuthz to "off" which is already set that
was in mgolovko's configuration.

I checked out a few more posts:
http://www.sharp-tools.net/archives/000928.html reported that he also
set SVNPathAuthz to "off" which solved the issue. He also did the
following:

* Increased the timeout to 1000 seconds (which fixed an earlier
connection issue)
* Tried disabling apache worker mpm and relying on prefork, as per a
suggestion for someone losing connections using svn+ssh. That didn't
work; re-enabled.
* Disabled http compression (by commenting out the loading of
mod_deflate). Left that disabled just in case.
* Enabled keepalive and upped the requests per connection. No change.

The issue seems to be related to a memory leak in DAV (mod_dav_svn)
which is probably beyond my personal expertise to trace down. However,
mgolovk should check his Apache logs and see if Apache is dying.

Since these posts are from 4 years ago, I'm surprised that the DAV
memory leak hasn't yet been plugged. It looks like he's using the
latest versions of Apache and Subversion.

-- 
David Weintraub
qazwart@gmail.com

Re: Hi! I have problems

Posted by John Doe <jd...@yahoo.com>.
From: "mgolovko@metrotek.ru" <mg...@metrotek.ru>
>I have problems         with         Apache+dav_svn+ssl. When I update or 
>checkoutI receive error: REPORT         of '/!svn/vcc/default': Could not read 
>response body: Secure         connection truncated (https://svn.xxx.xx). 
>Early         
>
>it appeared sometimes, but now it shows always, big or small         files don`t 
>
>matter.

If you google for:

  svn "Secure connection truncated"

the first and second answers propose one solution.  maybe try it and see if your 
problems disapear?

JD