[Spacewalk-list] Cannot retrieve repository metadata (repomd.xml) - HTTP 400 if using SSL

Sascha Frey sf at techfak.net
Mon Jun 27 08:43:31 UTC 2011


I found the issue:

Sascha Frey wrote:

>The HTTPd logs on the server show a bad request (400):
>129.70.137.XX - - [24/Jun/2011:15:57:50 +0200] "POST /XMLRPC HTTP/1.1" 200 1544
>129.70.137.XX - - [24/Jun/2011:15:57:50 +0200] "GET /XMLRPC/GET-REQ/sl-x86_64-6/repodata/repomd.xml HTTP/1.1" 400 309

There were errors in Apache ssl_error_log:
[Mon Jun 27 10:29:28 2011] [error] Hostname
nibbler.TechFak.Uni-Bielefeld.DE provided via SNI and hostname
nibbler.techfak.uni-bielefeld.de provided via HTTP are different

I had to replace
serverURL=https://nibbler.TechFak.Uni-Bielefeld.DE/XMLRPC with the case
insensitive version of the hostname
serverURL=https://nibbler.techfak.uni-bielefeld.de/XMLRPC

Seems to be a bug in the apache httpd:
https://issues.apache.org/bugzilla/show_bug.cgi?id=49491




More information about the Spacewalk-list mailing list