A warning about DAV proxy and the SVNMasterURI.... unless you're
running a built from trunk, you will probably run into a pretty nasty
data-munging bug as described in: http://subversion.tigris.org/issues/show_bug.cgi?id=3445
To summarize, it filters the data passing through the proxy looking
for the path component on your proxy and master and basically does a
search and replace- possibly corrupting the files being checked in in
the process.
In my case, i had http://master/svn and http://slave/svn with the
slave proxying back to http://master/svn. Turns out I had a pdf in
my testing that had "SVN" embedded in the binary and when the proxy
saw that, it replaced it with svn. At that point the checksum fails
and the commit fails.
Was hoping it would be fixed for 1.6.5 rollout, but no such luck.
-Trey
On Aug 21, 2009, at 11:37 AM, Kunio Miyamoto wrote:
> Hi.
> I think it is caused by misconfiguration or mismatch of SVNMasterURI.
>
> You write SVNMasterURI as below:
> SVNMasterURI https://svn.....com/pw/trunk/
>
> But request in your apache log is like below:
> OPTIONS /svn-proxy/trunk/Data/Test HTTP/1.1
>
> Please check SVNMasterURI setting and resync(reconstruct) slave
> repository(and repository URL in slave(proxy) server for sync ).
>
> On Fri, 21 Aug 2009 09:56:35 +0300
> "Bogdan B. Rudas" <bogdan.rudas_at_nivalnetwork.com> wrote:
>
>> Hello!
>>
>> I use standart mod_svn proxy.
>>
>> On Fri, 21 Aug 2009 01:57:23 +0900
>> Kunio Miyamoto <wakatono_at_todo.gr.jp> wrote:
>>
>>>
>>> Hi.
>>>
>>> What proxy software do you use?
>>> Some kind of proxy can't relay request issued by Subversion client.
>>> I found older versions of Squid don't supporting some methods
>>> including MKACTIVITY.
>>>
>>> Thanks.
>>>
>>> On Thu, 20 Aug 2009 19:14:10 +0300
>>> "Bogdan B. Rudas" <bogdan.rudas_at_nivalnetwork.com> wrote:
>>>
>>>> Hello!
>>>>
>>>> I setup DAV proxy for SVN, made a replica and checkout working
>>>> copy.
>>>> Checkout works well, but commit (I add new file) fails:
>>>> svn commit output:
>>>>
>>>> svn: Commit failed (details follow):
>>>> svn: MKACTIVITY of
>>>> '/svn-proxy/!svn/act/46daf4f5-bd47-4b4d-af22-f5b67938a64c': Could
>>>> not read status line: connection was closed by server
>>>> (http://svnclone.....com)
>>>>
>>>>
>>>> Apache logs:
>>>> 192.168.17.250 - - [20/Aug/2009:18:57:27 +0300]
>>>> "OPTIONS /svn-proxy/trunk/Data/Test HTTP/1.1" 200 147 "-" "SVN/
>>>> 1.6.3
>>>> (r38063) neon/0.28.5"
>>>> 192.168.17.250 - - [20/Aug/2009:18:57:27 +0300]
>>>> "PROPFIND /svn-proxy/trunk/Data/Test HTTP/1.1" 207 361 "-"
>>>> "SVN/1.6.3 (r38063) neon/0.28.5"
>>>>
>>>> Apache config:
>>>>
>>>> <VirtualHost *:80>
>>>> ServerName svnclone....com
>>>> ServerSignature Off
>>>>
>>>> ErrorLog /var/log/apache2/svnclone-error.log
>>>> CustomLog /var/log/apache2/svnclone-access.log combined
>>>> DocumentRoot /var/svn
>>>>
>>>> <Location /svn-proxy/>
>>>> DAV svn
>>>> SVNPath /var/svn/pw-proxy/
>>>> SVNMasterURI https://svn.....com/pw/trunk/
>>>> </Location>
>>>>
>>>> SVN master server use self-signed certs for https.
>>>>
>>>>
>>>> SVN client version: 1.5.1dfsg1-2
>>>> SVN version on proxy: 1.6.1dfsg-1
>>>> Apache version on proxy: 2.2.9-10+lenny4
>>>> SVN version on master: 1.5.1dfsg1-2
>>>> Apache version on master: 2.2.9-10+lenny4
>>>>
>>>> A got no errors master's http log.
>>>>
>>>> --
>>>> Bogdan Rudas
>>>>
>>>> System Administrator
>>>> Nival Network
>>>> bogdan.rudas_at_nivalnetwork.com
>>>>
>>>> 23, Matusevicha st., office 103,
>>>> Minsk, Belarus,
>>>> Tel: +375 17 2538272
>>>> http://www.nivalnetwork.com
>>>>
>>>> ------------------------------------------------------
>>>> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2385677
>>>>
>>>> To unsubscribe from this discussion, e-mail:
>>>> [users-unsubscribe_at_subversion.tigris.org].
>>>
>>> ---
>>> Kunio Miyamoto
>>> E-mail: wakatono_at_todo.gr.jp
>>> WebDAV Resources JP: http://webdav.todo.gr.jp/
>>> blog (sorry, Japanese only) : http://d.hatena.ne.jp/wakatono/
>>> Microsoft MVP (Windows - Security , 2005/10 - 2008/1
>>> Consumer - Security, 2008/2 - 2008/8, Enterprise Security, 2008/9 -
>>> 2009/9)
>>>
>>
>>
>> --
>> Bogdan Rudas
>> System Administrator
>> Nival Network
>> bogdan.rudas_at_nivalnetwork.com
>>
>> 23, Matusevicha st., office 103,
>> Minsk, Belarus,
>> Tel: +375 17 2538272
>> http://www.nivalnetwork.com
>>
>> ------------------------------------------------------
>> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2385907
>>
>> To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org
>> ].
>
> ---
> 宮本 久仁男 (Kunio Miyamoto) , PMP
> E-mail: wakatono_at_todo.gr.jp
> WebDAV Resources JP: http://webdav.todo.gr.jp/
> wakatonoの戯れメモ : http://d.hatena.ne.jp/wakatono/
> Microsoft MVP (Windows - Security , 2005/10 - 2008/1
> Consumer - Security, 2008/2 - 2008/8, Enterprise Security, 2008/9 -
> 2009/9)
>
> ------------------------------------------------------
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2386095
>
> To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org
> ].
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2386156
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-08-22 00:46:16 CEST