You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Tomasz Wysocki <t....@amg.net.pl> on 2005/10/25 16:30:27 UTC

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

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