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

request: error string for proxy problems in svn client (was Re: svn project website: error in FAQ)

From: Stefan Richter <richtest_at_bauwesen.tu-cottbus.de>
Date: 2002-06-29 16:40:39 CEST
('BINARY' encoding is not supported, stored as-is)

On 17 Jun, I wrote:
> It'd also be nice to assist people [...] who get
> totally obscure errors with their svn client and don't realize
> it's because of a proxy. Example:

I checked out the subversion repo without a proxy in the way.
Then I dialed into a cheap provider using a "transparent" http
proxy:
        $ svn up

        apr_error: #20014, src_err 0 : <Error string not specified yet>
          REPORT request failed on /repos/svn/trunk

        apr_error: #20014, src_err 0 : <Error string not specified yet>
          The REPORT status was 400, but expected 200.

Ordinary Joe can't identify the cause of the problem reading
this.

Karl Fogel asked me to check exactly where the error occurs.
Well, I'm to lazy to update/ install the tools required to build
a svn client so I'm only providing you with strace's output when
running the svn-1611 binary on linux-x86 with the command line
above.

I removed the first part of the log where svn examines local
files and I shortened the data read from the socket.

Maybe the svn client could derive a meaningful error message on
reception of "HTTP/1.0 400 Bad Request" and "Proxy-Connection:
close". Other proxies produce other replies though. Josef Wolf
posted on 26 Jun: "HTTP/1.0 500 Server Error" and "Proxy-agent:
Netscape-Proxy/3.52". E.g. if response status isn't 200 and if
string "Proxy" is present in the headers receipt, write a pointer
to http://subversion.tigris.org/project_faq.html#proxy to stderr.

BTW: How about adding "How do I avoid a proxy when accessing a
repository?" to the FAQ?

> (Note: Though I usually subscribe to MLs I post to I'm not
> subscribed to dev@subversion.)

-- 
Stefan Richter
-=====-=--=- -==- ===-=
http://arcgraph.de/sr/


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Sun Jun 30 22:40:44 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.