Mailinglist Archive: yast-devel (152 mails)

< Previous Next >
Re: [yast-devel] ActionController::Session::CookieStore::CookieOverflow
  • From: Josef Reidinger <jreidinger@xxxxxxx>
  • Date: Mon, 13 Jul 2009 14:49:51 +0200
  • Message-id: <4A5B2D6F.6050300@xxxxxxx>
Ladislav Slezak wrote:
Klaus Kaempf wrote:

Hmm, didn't happen to me yet.

So what kind of crash was it and where did it happen _exactly_ ?

Its hard to improve WebYaST robustness without somewhat detailed error
reports :-(

OK, here are some details:

I got this error after logging in (at http://localhost:3000/controlpanel):

NoMethodError in ControlpanelController#index

You have a nil object when you didn't expect it!
The error occurred while evaluating

Log with debugger:

Processing SessionsController#new (for at 2009-07-13 14:30:28) [GET]
Parameters: {"action"=>"new", "controller"=>"sessions",
Rendering template within layouts/main
Rendering sessions/new
Completed in 37ms (View: 32, DB: 0) | 200 OK
Authenticate Successful for rest-server ID nil

Processing SessionsController#create (for at 2009-07-13 14:30:30)
Parameters: {"commit"=>"Login", "action"=>"create",
"controller"=>"sessions", "hostname"=>"http://localhost:8080";,
#<YaST::ServiceResource::Login:0x7fc684f0c6a0 @prefix_options={},
@attributes={"remember_me"=>true, "id"=>nil,
@prefix_options={}, @attributes={"expires"=>nil, "value"=>nil, "path"=>"/"}>,
"login"=>"granted", "password"=>"*******"}>
Account Load (0.9ms) SELECT * FROM "accounts" WHERE ("accounts"."login" =
'lslezak') LIMIT 1
Account Exists (0.4ms) SELECT "accounts".id FROM "accounts" WHERE
(LOWER("accounts"."login") = 'lslezak' AND "accounts".id <> 1) LIMIT 1
Login success.
Redirected to http://localhost:3000/
Completed in 512ms (DB: 1) | 302 Found [http://localhost/session]
h = Hash.from_xml(net_error.response.body)["error"]
(rdb:2) net_error
#<ActiveResource::UnauthorizedAccess: Failed with 401 Unauthorized >
(rdb:2) net_error.response.body
"HTTP Basic: Access denied.\n"

Apparently the hash cannot be created from plain error message, an XML string

And "Authenticate Successful for rest-server ID nil" message also seems

I get the overflow error when I press [Back] in the browser and then I press

The overflow error then happens for all pages, I have logout manually via

I'll check the permissions...


Best Regards

Ladislav Slez√°k
Yast Developer
SUSE LINUX, s.r.o. e-mail: lslezak@xxxxxxx
Lihovarsk√° 1060/12 tel: +420 284 028 960
190 00 Prague 9 fax: +420 284 028 951
Czech Republic

I think that this is another problem, that I also hit. Sometimes first
login attemp fail and if I try it after first one it succeed.

Josef Reidinger
YaST team
maintainer of perl-Bootloader, YaST2-Repair, webyast modules language
and time
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx

< Previous Next >