You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Stefan Küng <to...@gmail.com> on 2010/05/22 07:18:03 UTC
more problems when using serf
Hi,
On the TSVN mailing list, a user reported problems when accessing the
codeplex repositories with TSVN linked against the svn trunk.
Further testing on my side revealed that this problem is due to the fact
that serf is now the default DAV lib.
When using neon, everything works as expected.
For example:
svn ls https://mvvmfoundation.svn.codeplex.com/svn
with serf leads to:
subversion\subversion\svn\list-cmd.c:289: (apr_err=175003)
subversion\subversion\libsvn_client\list.c:272: (apr_err=175003)
subversion\subversion\libsvn_client\list.c:73: (apr_err=175003)
subversion\subversion\libsvn_ra_serf\serf.c:895: (apr_err=175003)
subversion\subversion\libsvn_ra_serf\serf.c:833: (apr_err=175003)
svn: The PROPFIND response did not include the requested resourcetype value
Most other commands don't work either when using serf:
svn checkout
svn log
svn diff
...
Using neon works ok.
Stefan
--
___
oo // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest Interface to (Sub)Version Control
/_/ \_\ http://tortoisesvn.net
Re: more problems when using serf
Posted by Stefan Küng <to...@gmail.com>.
On 22.05.2010 15:42, Mark Phippard wrote:
> On Sat, May 22, 2010 at 3:18 AM, Stefan Küng<to...@gmail.com> wrote:
>
>> On the TSVN mailing list, a user reported problems when accessing the
>> codeplex repositories with TSVN linked against the svn trunk.
>>
>> Further testing on my side revealed that this problem is due to the fact
>> that serf is now the default DAV lib.
>>
>> When using neon, everything works as expected.
>>
>> For example:
>> svn ls https://mvvmfoundation.svn.codeplex.com/svn
>> with serf leads to:
>>
>> subversion\subversion\svn\list-cmd.c:289: (apr_err=175003)
>> subversion\subversion\libsvn_client\list.c:272: (apr_err=175003)
>> subversion\subversion\libsvn_client\list.c:73: (apr_err=175003)
>> subversion\subversion\libsvn_ra_serf\serf.c:895: (apr_err=175003)
>> subversion\subversion\libsvn_ra_serf\serf.c:833: (apr_err=175003)
>> svn: The PROPFIND response did not include the requested resourcetype value
>>
>> Most other commands don't work either when using serf:
>> svn checkout
>> svn log
>> svn diff
>> ...
>>
>> Using neon works ok.
>
> Aren't they just emulating a Subversion server and the Subversion
> protocol? They have probably just not implemented it correctly.
They're using SvnBridge:
http://svnbridge.codeplex.com/
But even if they're using their own implementation, they follow the
protocol. At least to the extent that it's documented and they've tested
it with svn.
It's very bad to change something in svn that breaks such a big source
hoster.
> Github has started doing the same thing, it would be interesting to
> see if they have the same problems.
Github indeed does have a very basic svn implementation. But very basic,
most things don't work (e.g., log only shows the last commit).
So it's not really possible to test this with Github since we can't know
whether it's because of serf or because of the still experimental Github
implementation.
btw: that feature of Github was announced on April 1st - but since it's
still 'working' I guess it wasn't a joke.
Stefan
--
___
oo // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest Interface to (Sub)Version Control
/_/ \_\ http://tortoisesvn.net
Re: more problems when using serf
Posted by Michael Ching <mi...@wush.net>.
Mark Phippard <markphip <at> gmail.com> writes:
> > with serf leads to:
> >
> > svn: The PROPFIND response did not include the requested resourcetype value
> >
>
> Aren't they just emulating a Subversion server and the Subversion
> protocol? They have probably just not implemented it correctly.
This error can be caused by a reverse proxy or load balancer which does
not support chunked requests. We show the same errors when requests are
proxied through either nginx or squid.
You can work around the issue by proxying through apache+mod_proxy
(which supports HTTP 1.1), but serf 0.30 does not proxy https requests
correctly (it talks ssl to the proxy server instead of issuing a CONNECT
request).
serf really should support a proper fallback to HTTP 1.0 before becoming
the default library, as using a reverse proxy in front of svn is a
common setup and very few of them support HTTP 1.1.
Re: more problems when using serf
Posted by Greg Stein <gs...@gmail.com>.
On Sat, May 22, 2010 at 15:35, Greg Stein <gs...@gmail.com> wrote:
>...
>>> Does anybody know how to report this bug to the Codeplex people?
>>
>> Try the issue tracker for SvnBridge:
>> http://svnbridge.codeplex.com/workitem/list/basic
>
> I've filed an issue:
> http://svnbridge.codeplex.com/WorkItem/View.aspx?WorkItemId=15305
And a second issue against CodePlex itself:
http://codeplex.codeplex.com/WorkItem/View.aspx?WorkItemId=25456
Cheers,
-g
Re: more problems when using serf
Posted by Greg Stein <gs...@gmail.com>.
On Sat, May 22, 2010 at 12:47, Stefan Küng <to...@gmail.com> wrote:
> On 22.05.2010 18:42, Greg Stein wrote:
>>
>> On Sat, May 22, 2010 at 09:42, Mark Phippard<ma...@gmail.com> wrote:
>>>
>>> On Sat, May 22, 2010 at 3:18 AM, Stefan Küng<to...@gmail.com>
>>> wrote:
>>>
>>>> On the TSVN mailing list, a user reported problems when accessing the
>>>> codeplex repositories with TSVN linked against the svn trunk.
>>>>
>>>> Further testing on my side revealed that this problem is due to the fact
>>>> that serf is now the default DAV lib.
>>>>
>>>> When using neon, everything works as expected.
>>>>
>>>> For example:
>>>> svn ls https://mvvmfoundation.svn.codeplex.com/svn
>>>> with serf leads to:
>>>>
>>>> subversion\subversion\svn\list-cmd.c:289: (apr_err=175003)
>>>> subversion\subversion\libsvn_client\list.c:272: (apr_err=175003)
>>>> subversion\subversion\libsvn_client\list.c:73: (apr_err=175003)
>>>> subversion\subversion\libsvn_ra_serf\serf.c:895: (apr_err=175003)
>>>> subversion\subversion\libsvn_ra_serf\serf.c:833: (apr_err=175003)
>>>> svn: The PROPFIND response did not include the requested resourcetype
>>>> value
>>>>
>>>> Most other commands don't work either when using serf:
>>>> svn checkout
>>>> svn log
>>>> svn diff
>>>> ...
>>>>
>>>> Using neon works ok.
>>>
>>> Aren't they just emulating a Subversion server and the Subversion
>>> protocol? They have probably just not implemented it correctly.
>>
>> Exactly.
>>
>> On baseline collections, the<response> element says it is for
>> "/!svn/bc/52790/" rather than "/svn/!svn/bc/52790/" (BUG!). Therefore,
>> the properties get associated with the wrong path, and when ra_serf
>> attempts to find the<resourcetype> property for path
>> "/svn/!svn/bc/52790/" it does not find it.
>>
>> Neon uses a different strategy for determining "is this a directory?",
>> so a property lookup isn't used, so it doesn't break on this
>> mis-labeled path.
>>
>>> ...
>>
>> Does anybody know how to report this bug to the Codeplex people?
>
> Try the issue tracker for SvnBridge:
> http://svnbridge.codeplex.com/workitem/list/basic
I've filed an issue:
http://svnbridge.codeplex.com/WorkItem/View.aspx?WorkItemId=15305
Please feel free to annotate/track/vote for.
(the email address you gave me is no longer valid; at msft,
v-FOO@microsoft.com addresses are contractors, so I presume that
contractor has departed)
Cheers,
-g
Re: more problems when using serf
Posted by Stefan Küng <to...@gmail.com>.
On 22.05.2010 18:42, Greg Stein wrote:
> On Sat, May 22, 2010 at 09:42, Mark Phippard<ma...@gmail.com> wrote:
>> On Sat, May 22, 2010 at 3:18 AM, Stefan Küng<to...@gmail.com> wrote:
>>
>>> On the TSVN mailing list, a user reported problems when accessing the
>>> codeplex repositories with TSVN linked against the svn trunk.
>>>
>>> Further testing on my side revealed that this problem is due to the fact
>>> that serf is now the default DAV lib.
>>>
>>> When using neon, everything works as expected.
>>>
>>> For example:
>>> svn ls https://mvvmfoundation.svn.codeplex.com/svn
>>> with serf leads to:
>>>
>>> subversion\subversion\svn\list-cmd.c:289: (apr_err=175003)
>>> subversion\subversion\libsvn_client\list.c:272: (apr_err=175003)
>>> subversion\subversion\libsvn_client\list.c:73: (apr_err=175003)
>>> subversion\subversion\libsvn_ra_serf\serf.c:895: (apr_err=175003)
>>> subversion\subversion\libsvn_ra_serf\serf.c:833: (apr_err=175003)
>>> svn: The PROPFIND response did not include the requested resourcetype value
>>>
>>> Most other commands don't work either when using serf:
>>> svn checkout
>>> svn log
>>> svn diff
>>> ...
>>>
>>> Using neon works ok.
>>
>> Aren't they just emulating a Subversion server and the Subversion
>> protocol? They have probably just not implemented it correctly.
>
> Exactly.
>
> On baseline collections, the<response> element says it is for
> "/!svn/bc/52790/" rather than "/svn/!svn/bc/52790/" (BUG!). Therefore,
> the properties get associated with the wrong path, and when ra_serf
> attempts to find the<resourcetype> property for path
> "/svn/!svn/bc/52790/" it does not find it.
>
> Neon uses a different strategy for determining "is this a directory?",
> so a property lookup isn't used, so it doesn't break on this
> mis-labeled path.
>
>> ...
>
> Does anybody know how to report this bug to the Codeplex people?
Try the issue tracker for SvnBridge:
http://svnbridge.codeplex.com/workitem/list/basic
Stefan
--
___
oo // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest Interface to (Sub)Version Control
/_/ \_\ http://tortoisesvn.net
Re: more problems when using serf
Posted by Stefan Küng <to...@gmail.com>.
On 22.05.2010 18:42, Greg Stein wrote:
> On Sat, May 22, 2010 at 09:42, Mark Phippard<ma...@gmail.com> wrote:
>> On Sat, May 22, 2010 at 3:18 AM, Stefan Küng<to...@gmail.com> wrote:
>>
>>> On the TSVN mailing list, a user reported problems when accessing the
>>> codeplex repositories with TSVN linked against the svn trunk.
>>>
>>> Further testing on my side revealed that this problem is due to the fact
>>> that serf is now the default DAV lib.
>>>
>>> When using neon, everything works as expected.
>>>
>>> For example:
>>> svn ls https://mvvmfoundation.svn.codeplex.com/svn
>>> with serf leads to:
>>>
>>> subversion\subversion\svn\list-cmd.c:289: (apr_err=175003)
>>> subversion\subversion\libsvn_client\list.c:272: (apr_err=175003)
>>> subversion\subversion\libsvn_client\list.c:73: (apr_err=175003)
>>> subversion\subversion\libsvn_ra_serf\serf.c:895: (apr_err=175003)
>>> subversion\subversion\libsvn_ra_serf\serf.c:833: (apr_err=175003)
>>> svn: The PROPFIND response did not include the requested resourcetype value
>>>
>>> Most other commands don't work either when using serf:
>>> svn checkout
>>> svn log
>>> svn diff
>>> ...
>>>
>>> Using neon works ok.
>>
>> Aren't they just emulating a Subversion server and the Subversion
>> protocol? They have probably just not implemented it correctly.
>
> Exactly.
>
> On baseline collections, the<response> element says it is for
> "/!svn/bc/52790/" rather than "/svn/!svn/bc/52790/" (BUG!). Therefore,
> the properties get associated with the wrong path, and when ra_serf
> attempts to find the<resourcetype> property for path
> "/svn/!svn/bc/52790/" it does not find it.
>
> Neon uses a different strategy for determining "is this a directory?",
> so a property lookup isn't used, so it doesn't break on this
> mis-labeled path.
>
>> ...
>
> Does anybody know how to report this bug to the Codeplex people?
Try the issue tracker for SvnBridge:
http://svnbridge.codeplex.com/workitem/list/basic
Stefan
--
___
oo // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest Interface to (Sub)Version Control
/_/ \_\ http://tortoisesvn.net
Re: more problems when using serf
Posted by Greg Stein <gs...@gmail.com>.
On Sat, May 22, 2010 at 09:42, Mark Phippard <ma...@gmail.com> wrote:
> On Sat, May 22, 2010 at 3:18 AM, Stefan Küng <to...@gmail.com> wrote:
>
>> On the TSVN mailing list, a user reported problems when accessing the
>> codeplex repositories with TSVN linked against the svn trunk.
>>
>> Further testing on my side revealed that this problem is due to the fact
>> that serf is now the default DAV lib.
>>
>> When using neon, everything works as expected.
>>
>> For example:
>> svn ls https://mvvmfoundation.svn.codeplex.com/svn
>> with serf leads to:
>>
>> subversion\subversion\svn\list-cmd.c:289: (apr_err=175003)
>> subversion\subversion\libsvn_client\list.c:272: (apr_err=175003)
>> subversion\subversion\libsvn_client\list.c:73: (apr_err=175003)
>> subversion\subversion\libsvn_ra_serf\serf.c:895: (apr_err=175003)
>> subversion\subversion\libsvn_ra_serf\serf.c:833: (apr_err=175003)
>> svn: The PROPFIND response did not include the requested resourcetype value
>>
>> Most other commands don't work either when using serf:
>> svn checkout
>> svn log
>> svn diff
>> ...
>>
>> Using neon works ok.
>
> Aren't they just emulating a Subversion server and the Subversion
> protocol? They have probably just not implemented it correctly.
Exactly.
On baseline collections, the <response> element says it is for
"/!svn/bc/52790/" rather than "/svn/!svn/bc/52790/" (BUG!). Therefore,
the properties get associated with the wrong path, and when ra_serf
attempts to find the <resourcetype> property for path
"/svn/!svn/bc/52790/" it does not find it.
Neon uses a different strategy for determining "is this a directory?",
so a property lookup isn't used, so it doesn't break on this
mis-labeled path.
>...
Does anybody know how to report this bug to the Codeplex people?
Cheers,
-g
Re: more problems when using serf
Posted by Stefan Küng <to...@gmail.com>.
On 22.05.2010 15:42, Mark Phippard wrote:
> On Sat, May 22, 2010 at 3:18 AM, Stefan Küng<to...@gmail.com> wrote:
>
>> On the TSVN mailing list, a user reported problems when accessing the
>> codeplex repositories with TSVN linked against the svn trunk.
>>
>> Further testing on my side revealed that this problem is due to the fact
>> that serf is now the default DAV lib.
>>
>> When using neon, everything works as expected.
>>
>> For example:
>> svn ls https://mvvmfoundation.svn.codeplex.com/svn
>> with serf leads to:
>>
>> subversion\subversion\svn\list-cmd.c:289: (apr_err=175003)
>> subversion\subversion\libsvn_client\list.c:272: (apr_err=175003)
>> subversion\subversion\libsvn_client\list.c:73: (apr_err=175003)
>> subversion\subversion\libsvn_ra_serf\serf.c:895: (apr_err=175003)
>> subversion\subversion\libsvn_ra_serf\serf.c:833: (apr_err=175003)
>> svn: The PROPFIND response did not include the requested resourcetype value
>>
>> Most other commands don't work either when using serf:
>> svn checkout
>> svn log
>> svn diff
>> ...
>>
>> Using neon works ok.
>
> Aren't they just emulating a Subversion server and the Subversion
> protocol? They have probably just not implemented it correctly.
They're using SvnBridge:
http://svnbridge.codeplex.com/
But even if they're using their own implementation, they follow the
protocol. At least to the extent that it's documented and they've tested
it with svn.
It's very bad to change something in svn that breaks such a big source
hoster.
> Github has started doing the same thing, it would be interesting to
> see if they have the same problems.
Github indeed does have a very basic svn implementation. But very basic,
most things don't work (e.g., log only shows the last commit).
So it's not really possible to test this with Github since we can't know
whether it's because of serf or because of the still experimental Github
implementation.
btw: that feature of Github was announced on April 1st - but since it's
still 'working' I guess it wasn't a joke.
Stefan
--
___
oo // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest Interface to (Sub)Version Control
/_/ \_\ http://tortoisesvn.net
Re: more problems when using serf
Posted by Mark Phippard <ma...@gmail.com>.
On Sat, May 22, 2010 at 3:18 AM, Stefan Küng <to...@gmail.com> wrote:
> On the TSVN mailing list, a user reported problems when accessing the
> codeplex repositories with TSVN linked against the svn trunk.
>
> Further testing on my side revealed that this problem is due to the fact
> that serf is now the default DAV lib.
>
> When using neon, everything works as expected.
>
> For example:
> svn ls https://mvvmfoundation.svn.codeplex.com/svn
> with serf leads to:
>
> subversion\subversion\svn\list-cmd.c:289: (apr_err=175003)
> subversion\subversion\libsvn_client\list.c:272: (apr_err=175003)
> subversion\subversion\libsvn_client\list.c:73: (apr_err=175003)
> subversion\subversion\libsvn_ra_serf\serf.c:895: (apr_err=175003)
> subversion\subversion\libsvn_ra_serf\serf.c:833: (apr_err=175003)
> svn: The PROPFIND response did not include the requested resourcetype value
>
> Most other commands don't work either when using serf:
> svn checkout
> svn log
> svn diff
> ...
>
> Using neon works ok.
Aren't they just emulating a Subversion server and the Subversion
protocol? They have probably just not implemented it correctly.
Github has started doing the same thing, it would be interesting to
see if they have the same problems.
--
Thanks
Mark Phippard
http://markphip.blogspot.com/