[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: subversion 1.6.2 (svn+https) copy/commit "Could not read status line: Secure connection truncated"

From: Ronie Gilberto Henrich <ronie_at_ronie.com.br>
Date: Fri, 03 Jul 2009 11:29:14 -0400

-----Oorspronkelijk bericht-----
Van: Senthil Kumaran S [mailto:senthil@collab.net]
Ronie Gilberto Henrich wrote:
    
Do you see something wrong/missing in my configuration below?

<IfModule dav_fs_module>
	PerlLoadModule Redmine
	<Location /svn>
		DAV svn
		SVNParentPath "/var/svn/"
		AuthType Basic
		AuthName redmine
		Require valid-user
		PerlAccessHandler
      
Apache::Authn::Redmine::access_handler
    
		PerlAuthenHandler
      
Apache::Authn::Redmine::authen_handler
    
		RedmineDSN
      
"DBI:Pg:dbname=redmine;host=redmine.example.com"
    
		RedmineDbUser "redmine"
		RedmineDbPass "redmine_passwd"
	</Location>
</IfModule>
      
The above looks fine to me.
    

I also don't see any obvious problems, but I really have no clue what "Redmine" is. I guess the problem must be with that authentication/authorization system, the Perl...Handlers or something like that.

To be really sure, you could try to set up authentication with some other system, like the standard AuthUserFile stuff from Apache. That really should work, countless people have it set up that way. And then try to figure out why Redmine is causing trouble ...

Johan
  
The problem was with Redmine.pm, we fixed it and now it is working if we don't use reverse proxy.
When using reverse proxy, we get the following error:
svn: Server sent unexpected return value (502 Proxy Error) in response to COPY request for '/svn/gitdados/!svn/bc/209/scripts/trunk'

I found this about "Subversion behind an Apache Reverse Proxy".
http://silmor.de/49

It says that "Normally this is only a problem if your proxy exposes itself as HTTPS server, while your internal instance serves HTTP (or vice versa)."
But in my case to the ouside world we are https://redmine.example.com and our internal servers are https://bla/, so, it https ==> https.

This is our reverse proxy configuration for the vhost redmine.example.com:
        <IfDefine !SVNPROXY>
                SSLProxyEngine on
                ProxyPass / https://bla/
                ProxyPassReverse / https://bla/
                ProxyPreserveHost on
        </IfDefine>

About Redmine, it "is a flexible project management web application. Written using Ruby on Rails framework, it is cross-platform and cross-database."
http://www.redmine.org/


Thanks a lot for all your help!
Ronie
Received on 2009-07-03 17:30:22 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.