Bug #5714
openImpossible to checkout svn repository
0%
Description
Hello Rhodecode team,
We have facing an issue to checkout a SVN repository (systematic) with the erreur see below
It's possible a config parameters not set correctly, because where are longtime we don't have tested a SVN repo
Thanks
Regards
JM.
Exemple for svn checkout :
A act1/trunk
A act1/trunk/branding
A act1/trunk/package
A act1/trunk/package/script
A act1/trunk/package/script/asa
A act1/trunk/package/script/http
A act1/trunk/package/script/http/wp
A act1/trunk/package/script/http/modsecurity
A act1/trunk/package/script/http/modsecurity/conf
A act1/trunk/package/script/http/modsecurity/conf/modsecurity
A act1/trunk/package/script/http/modsecurity/conf/modsecurity/rules
svn: E175002: Unexpected HTTP status 400 'Bad Request' on '/hg/TelcoSW/archive/activation/!svn/rvr/4000/trunk/package/script/http/modsecurity/conf/modsecurity/rules/scanners-user-agents.data'
Files
Updated by Marcin Kuzminski [CTO] 7 months ago
Hi !
there could be few reasons for 400 request error for SVN. Could you please check apache logs ? There should give most details on potential cause
Updated by Jean-Michel Mazzocco 7 months ago
Hi Marcin,
We found this error un Apache log :
svn_error_log
[Tue Apr 30 11:50:18 2024] [error] [client 127.0.0.1] client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23): /hg/AGTPRJ/bstest_svn/!svn/rvr/1/test
It seems to be an obscure error ...
Thanks
Updated by Marcin Kuzminski [CTO] 7 months ago
Hi,
can you share your mod-dav-svn config file for apache that RhodeCode manages.
Especially if it has uncommented this flag:
RequestHeader edit Destination https: http: early
Updated by Jean-Michel Mazzocco 6 months ago
- File mod_dav_svn.conf mod_dav_svn.conf added
- File vhost.conf vhost.conf added
Hi Marcin,
See join the config file from apache
We don't use RequestHeader with edit Destination
Thanks
Updated by Marcin Kuzminski [CTO] 6 months ago
Hi !
Can you please try to do the following:
- in rhodecode.ini ensure force_ssl is set to true
- please to got admin-> settings -> vcs and click generate apache config
- restart apache
- validate the destination header is uncommented
- please try to run the operation again