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

Problem with svn status -u (v1.2.3) 403 Forbidden

From: Tomasz Wysocki <t.wysocki_at_amg.net.pl>
Date: 2005-10-25 18:30:27 CEST

Hi,

We have a problem with "svn status -u" command.
Server responds with 403 forbidden.
Everything else works OK.

/---- Command
$ svn status -u
svn: REPORT request failed on 'http://repo/path

svn: REPORT of 'http:////repo/path//: 403 Forbidden (http://repo)

----- Resolution
I have chedked ethereal traces for communication and it looks like this:

1. Client send REPORT request to the serwer *without* authentication header
2. Server responds with 403 Forbidden
3. Client *does not retry* REPORT request *with* authentication header
set as I have observed in other cases (ie. PROPFIND) and aborts with
above message.

/Is this a bug or a problem with configuration?/

-------- TCP Trace

-- CLIENT REQUEST --

REPORT http://repo/path HTTP/1.1

Host: repo

User-Agent: SVN/1.2.3 (r15833) neon/0.24.7

Keep-Alive:

Connection: TE, Keep-Alive

TE: trailers

Content-Length: 109

Content-Type: text/xml

Accept-Encoding: gzip

Accept-Encoding: gzip

<?xml version="1.0" encoding="utf-8"?><S:get-locks-report xmlns:S="svn:"
xmlns:D="DAV:"></S:get-locks-report>

-- SERVER RESPONSE --
HTTP/1.1 403 Forbidden

Date: Tue, 25 Oct 2005 16:26:03 GMT

WWW-Authenticate: Basic realm="PROJECT Subversion repository"

Content-Length: 509

Keep-Alive: timeout=15, max=100

Connection: Keep-Alive

Content-Type: text/html; charset=iso-8859-1

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>403 Forbidden</title>
</head><body>
<h1>Forbidden</h1>
<p>You don't have permission to access http://repo/path
on this server.</p>
<p>Additionally, a 401 Authorization Required
error was encountered while trying to use an ErrorDocument to handle the
request.</p>
<hr>
<address>Apache/2.0.55 (Unix) mod_ssl/2.0.55 OpenSSL/0.9.7i DAV/2
SVN/1.2.3 Server at repo Port 80</address>
</body></html>

----- //Client version (cygwin32):

//$ svn --version
svn, version 1.2.3 (r15833)
   compiled Sep 13 2005, 22:45:22

Copyright (C) 2000-2005 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet
(http://www.Collab.Net/).

The following repository access (RA) modules are available:

* ra_dav : Module for accessing a repository via WebDAV (DeltaV) protocol.
  - handles 'http' scheme
  - handles 'https' scheme
* ra_svn : Module for accessing a repository using the svn network protocol.
  - handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
  - handles 'file' scheme
//
------- Server version 1.2.3 (r15833).
/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Oct 25 18:57:00 2005

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.