Project

General

Profile

Actions

Bug #5714

open

Impossible to checkout svn repository

Added by Jean-Michel Mazzocco 6 months ago. Updated 4 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
18.04.2024
Due date:
% Done:

0%

Estimated time:
Sorting:
Commit Number:
Affected Version:

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

vhost.conf (6.89 KB) vhost.conf Jean-Michel Mazzocco, 14.05.2024 16:12
mod_dav_svn.conf (3.32 KB) mod_dav_svn.conf Jean-Michel Mazzocco, 14.05.2024 16:12
Actions #1

Updated by Marcin Kuzminski [CTO] 6 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

Actions #2

Updated by Jean-Michel Mazzocco 5 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

Actions #3

Updated by Marcin Kuzminski [CTO] 5 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 5 months ago

Hi Marcin,

See join the config file from apache

We don't use RequestHeader with edit Destination

Thanks

Actions #5

Updated by Marcin Kuzminski [CTO] 4 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
Actions

Also available in: Atom PDF