[Bug 691614] New: Unexpected error in mod_passenger for Unauthorized PUT request
https://bugzilla.novell.com/show_bug.cgi?id=691614
https://bugzilla.novell.com/show_bug.cgi?id=691614#c0
Summary: Unexpected error in mod_passenger for Unauthorized PUT
request
Classification: openSUSE
Product: openSUSE.org
Version: unspecified
Platform: x86-64
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: BuildService
AssignedTo: bnc-team-screening@forge.provo.novell.com
ReportedBy: viliam.pucik@gmail.com
QAContact: adrian@novell.com
Found By: ---
Blocker: ---
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:2.0.1) Gecko/20110429
Firefox/4.0.1
I successfully installed openSUSE Build Service 2.1.7 in RHEL6 and even build
packages via WebUI and even with SELinux enabled. Hoverer uploading packages
using "osc ci" does not work - returns HTTP Error 500. I tried OSC client
0.130.1 and 0.131 (with/without SELinux). Other operations like "osc co" and
"osc rdelete" work nicely.
Environment: RHEL6 + Apache 2.2.15 + Ruby 1.8.7 + Phussion Passenger 3.0.7
(without xforward patch)
Here are OSC client, OBS API and Apache error logs:
[exc@box lua] osc -H -A https://api.rhel6 ci -m "initial import"
..
-- POST
https://api.rhel6/source/home:exc/lua?comment=initial+import&cmd=commitfilelist&user=exc
Transmitting file data send: 'POST
/source/home:exc/lua?comment=initial+import&cmd=commitfilelist&user=exc
HTTP/1.1\r\nAccept-Encoding: identity\r\nContent-length: 242\r\nConnection:
close\r\nContent-type: application/octet-stream\r\nHost:
api.rhel6\r\nUser-agent: osc/0.130.1\r\n\r\n<directory><entry
md5="4e0c6e69ef33c2a682f8cfcebf208c6c" name="lua-5.1.4-autotoolize.patch"
/><entry md5="d0870f2de55d59c1c8419f36e8fac150" name="lua-5.1.4.tar.gz"
/><entry md5="fd6d19c83cf8176036bb42c51bd3da9a" name="lua.spec" /></directory>'
reply: 'HTTP/1.1 401 Authorization Required\r\n'
header: Date: Wed, 04 May 2011 00:10:09 GMT
header: Server: Apache/2.2.15 (Red Hat)
header: X-Powered-By: Phusion Passenger (mod_rails/mod_rack) 3.0.7
header: WWW-Authenticate: basic realm="API login"
header: X-Opensuse-APIVersion: 2.1.0
header: X-Runtime: 18
header: X-Opensuse-Errorcode: unknown
header: Cache-Control: no-cache
header: Content-Length: 140
header: Status: 401
header: Connection: close
header: Content-Type: application/xml; charset=utf-8
send: 'POST
/source/home:exc/lua?comment=initial+import&cmd=commitfilelist&user=exc
HTTP/1.1\r\nAccept-Encoding: identity\r\nContent-length: 242\r\nHost:
api.rhel6\r\nUser-agent: osc/0.130.1\r\nConnection: close\r\nContent-type:
application/octet-stream\r\n\r\n<directory><entry
md5="4e0c6e69ef33c2a682f8cfcebf208c6c" name="lua-5.1.4-autotoolize.patch"
/><entry md5="d0870f2de55d59c1c8419f36e8fac150" name="lua-5.1.4.tar.gz"
/><entry md5="fd6d19c83cf8176036bb42c51bd3da9a" name="lua.spec" /></directory>'
reply: 'HTTP/1.1 200 OK\r\n'
header: Date: Wed, 04 May 2011 00:10:09 GMT
header: Server: Apache/2.2.15 (Red Hat)
header: X-Powered-By: Phusion Passenger (mod_rails/mod_rack) 3.0.7
header: ETag: "38858c3ee88f74a0682a531085adb1d1"
header: X-Opensuse-APIVersion: 2.1.0
header: Content-Transfer-Encoding: binary
header: X-Runtime: 190
header: Content-Disposition: inline
header: Cache-Control: private
header: Content-Length: 280
header: Status: 200
header: Connection: close
header: Content-Type: text/xml
.
-- PUT
https://api.rhel6/source/home:exc/lua/lua-5.1.4-autotoolize.patch?rev=reposi...
send: 'PUT /source/home:exc/lua/lua-5.1.4-autotoolize.patch?rev=repository
HTTP/1.1\r\nAccept-Encoding: identity\r\nContent-length: 1443398\r\nConnection:
close\r\nContent-type: application/octet-stream\r\nHost:
api.rhel6\r\nUser-agent: osc/0.130.1\r\n\r\n'
send:
https://bugzilla.novell.com/show_bug.cgi?id=691614
https://bugzilla.novell.com/show_bug.cgi?id=691614#c1
Adrian Schröter
https://bugzilla.novell.com/show_bug.cgi?id=691614
https://bugzilla.novell.com/show_bug.cgi?id=691614#c2
Viliam Pucik
participants (1)
-
bugzilla_noreply@novell.com