[opensuse-buildservice] OBS Web Interface Error
Hi all, I set up a new 2.1.11 OBS instance. I can login fine, and I can create a new project. I can check out any project using osc. But whenever I try to use the webui to access _any_ project page, I get the following error: OBS Web Interface Error: Error Details: Errorcode: unknown Message: Parsing XML failed: Must specify a string with one or more characters I don't get this error on my other OBS 2.1.4 instance. Any ideas? Note: I compared the /srv/www/obs/webui/log/production.log from both instances; difference is shown below. The output seems to indicate that I left a field blank but I didn't. good log ======= [D|# 7319] http_do #1: method: get url: http://localhost:81/search/request?match=state%2F%40name%3D%27new%27+and+act... [D|# 7319] Request took 0.009811 seconds [E|# 7319] MemCacheError (No connection to server (localhost:11211 DEAD (Errno::ECONNREFUSED: Connection refused - connect(2)), will retry at Tue Aug 30 12:07:19 -0600 2011)): No connection to server (localhost:11211 DEAD (Errno::ECONNREFUSED: Connection refused - connect(2)), will retry at Tue Aug 30 12:07:19 -0600 2011) [D|# 7319] Cache write (will save 10.16ms): Collection_39c4936b61d21b69bc031556939da7bd [D|# 7319] Person.find( 1800 seconds, andavis) [D|# 7319] Cache read: Person_9307c152a8a319a7dffa5301677b0921 bad log ======= [D|# 4476] http_do #1: method: get url: http://localhost:81/search/request?match=state%2F%40name%3D%27new%27+and+act... [D|# 4476] Request took 0.004158 seconds [E|# 4476] MemCacheError (No connection to server (localhost:11211 DEAD (Errno::ECONNREFUSED: Connection refused - connect(2)), will retry at Tue Aug 30 16:03:16 -0400 2011)): No connection to server (localhost:11211 DEAD (Errno::ECONNREFUSED: Connection refused - connect(2)), will retry at Tue Aug 30 16:03:16 -0400 2011) [D|# 4476] Cache write (will save 4.50ms): Collection_39c4936b61d21b69bc031556939da7bd [E|# 4476] Error parsing XML: Must specify a string with one or more characters [E|# 4476] XML content was: Thanks very much (in advance) for any help. Ann -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Am Dienstag, 30. August 2011, 13:20:01 schrieb Ann Davis:
Hi all,
I set up a new 2.1.11 OBS instance. I can login fine, and I can create a new project. I can check out any project using osc. But whenever I try to use the webui to access _any_ project page, I get the following error:
...
[D|# 4476] http_do #1: method: get url: http://localhost:81/search/request?match=state%2F%40name%3D%27new%27+and+ac tion%2Ftarget%2F%40project%3D%27home%3Aandavis%27 [D|# 4476] Request took 0.004158 seconds [E|# 4476] MemCacheError (No connection to server (localhost:11211 DEAD (Errno::ECONNREFUSED: Connection refused - connect(2)), will retry at Tue Aug 30 16:03:16 -0400 2011)): No connection to server (localhost:11211 DEAD (Errno::ECONNREFUSED: Connection refused - connect(2)), will retry at Tue Aug 30 16:03:16 -0400 2011) [D|# 4476] Cache write (will save 4.50ms): Collection_39c4936b61d21b69bc031556939da7bd [E|# 4476] Error parsing XML: Must specify a string with one or more characters [E|# 4476] XML content was:
Thanks very much (in advance) for any help.
I have a running 2.1.11 appliance instance here and can't spot this problem atm. However, it looks like it is triggered by some existing request in your instance. Have a look in the backend source server log, or in worst case, try to strace it to find out which file(request) is causing this problem. -- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Adrian,
I have a running 2.1.11 appliance instance here and can't spot this problem atm.
However, it looks like it is triggered by some existing request in your instance. Have a look in the backend source server log, or in worst case, try to strace it to find out which file(request) is causing this problem.
Thanks, strace on lighttpd pointed me in the right direction... turns out I had xforwarding enabled in /srv/www/obs/webui/config/options.yml (back from when I was following the master branch README). Took that out and everything is working now! :) Ann -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (2)
-
Adrian Schröter
-
Ann Davis