patchwork authentication bug or local server misconfiguration?

Carl-Daniel Hailfinger c-d.hailfinger.devel.2006 at
Sat Jul 11 09:18:11 EST 2009


I can retrieve patches just fine with pwclient, but updating the status
of any of them with pwclient fails because the server complains "No
authentication credentials given". That is obviously incorrect as can be
seen from the trace below.

POST /xmlrpc/ HTTP/1.0
Authorization: Basic String_was_stripped_away_for_security
User-Agent: (by
Content-Type: text/xml
Content-Length: 346

<?xml version='1.0'?>

HTTP/1.1 200 OK
Date: Fri, 10 Jul 2009 22:35:43 GMT
Server: Apache/2.2.10 (Linux/SUSE)
Vary: Accept-Encoding
Connection: close
Content-Type: text/html; charset=utf-8

<?xml version='1.0'?>
<value><string>&lt;type 'exceptions.Exception'&gt;:No authentication
credentials given</string></value>

pwclient is latest git, the server is not too far behind either.
~/.pwclientrc has the correct username and password, but the exact same
response is sent if I fill in a nonexisting username and wrong password.
Updating patch status via the web interface works fine.

So far, I either suspect a server misconfiguration or a patchwork bug.
I'll try to talk with our admin and find out.
If anybody has seen this before, I'd appreciate hints.


More information about the Patchwork mailing list