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

Re: repository can be browsed remotely but can't be checked out, 400 bad request

From: Ryan Schmidt <subversion-2009a_at_ryandesign.com>
Date: Tue, 6 Jan 2009 16:04:01 -0600

On Jan 6, 2009, at 06:21, HEMAN wrote:

> Problem is that I can browse the repository files using Firefox,
> like:
>
> http://192.168.1.133:8080/repos/
>
> but can't checkout (or import) files from the repository using
> subclipse (using file:// URL is OK), Eclipse console replied:
>
> RA layer request failed
> svn: Server sent unexpected return value (400 Bad Request) in
> response to PROPFIND request for '/repos/!svn/vcc/default'
>
> Authorization failed
> svn: OPTIONS of 'http://192.168.1.108:8080/repos':
> authorization failed (http://192.168.1.108:8080)

[snip]

> I guess it's the apache configuration, but I've setup the
> same way once before, and I think browsing OK means
> checking out OK. Thanks in advance!

On the contrary, browsing a repository via a web browser and checking
out using a Subversion client are very different operations. Browsing
via a web browser only uses the common "GET" HTTP method, but
checking out uses more esoteric HTTP methods such as "OPTIONS",
"PROPFIND" and "REPORT". If you have an HTTP proxy on your network,
it is possible for it to be configured to allow the standard "GET"
and "POST" HTTP methods, but to disallow the WebDAV methods that
checking out from a Subversion repository requires. If this is the
case, talk to your proxy administrator about enabling those HTTP
methods. Or, switch from http to https; proxies cannot interfere with
https traffic because it is encrypted.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1008489

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-01-07 14:42:46 CET

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.