Mailinglist Archive: yast-devel (152 mails)

< Previous Next >
Re: [yast-devel] ActionController::Session::CookieStore::CookieOverflow
  • From: Jiri Srain <jsrain@xxxxxxx>
  • Date: Mon, 13 Jul 2009 14:28:07 +0200
  • Message-id: <200907131428.08554.jsrain@xxxxxxx>
Dne pondělí 13 Červenec 2009 13:40:38 Klaus Kaempf napsal(a):
* Jiri Srain <jsrain@xxxxxxx> [Jul 13. 2009 12:19]:
Dne pondělí 13 Červenec 2009 12:15:34 Klaus Kaempf napsal(a):
* Jiri Srain <jsrain@xxxxxxx> [Jul 13. 2009 12:03]:
Hi!

Trying to run the web-client from git, in some cases even at the very
first page, I get:

Status: 500 Internal Server Error
ActionController::Session::CookieStore::CookieOverflow

This looks like the cookie value is too large.

in the output, followed by the call trace.

What causes it? How do I work it around or (even better) fix it?

Where does it crash exactly ?

Just enter localhost:3000 to the browser (Firefox).

Ladislav just told me that it happened to him as well after last git
pull.

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 :-(

I hoped that I was not the first one who saw this issue :-/

Sorry, I should have kept the cookies :-(

The error occurred when I tried to display the control panel (the browser
already had the cookie, therefore pointing browser to localhost:3000 was all I
did to get the error.

The full output of the webservice process was following:

Processing ControlpanelController#index (for 127.0.0.1 at 2009-07-13 12:38:22)
[GET]
Parameters: {"action"=>"index", "controller"=>"controlpanel"}

Account Load (0.4ms) SELECT * FROM "accounts" WHERE ("accounts"."id" =
1402298590) LIMIT 1
looking into /usr/lib64/ruby/gems/1.8/gems/gettext_activerecord-2.0.0

looking into /usr/lib64/ruby/gems/1.8/gems/gettext_rails-2.0.0

looking into /local/git/web-client/webclient/vendor/plugins/jrails

looking into /local/git/web-client/webclient/vendor/plugins/lang_helper

looking into /local/git/web-client/webclient/../plugins/language

Shortcuts at /local/git/web-client/webclient/../plugins/language

looking into /usr/lib64/ruby/gems/1.8/gems/locale_rails-2.0.0

looking into /local/git/web-client/webclient/../plugins/network

Shortcuts at /local/git/web-client/webclient/../plugins/network

looking into /local/git/web-client/webclient/../plugins/patch_updates

Shortcuts at /local/git/web-client/webclient/../plugins/patch_updates

looking into /local/git/web-client/webclient/../plugins/permissions

Shortcuts at /local/git/web-client/webclient/../plugins/permissions

looking into /local/git/web-client/webclient/../plugins/samba_server

Shortcuts at /local/git/web-client/webclient/../plugins/samba_server

looking into /local/git/web-client/webclient/../plugins/securities

Shortcuts at /local/git/web-client/webclient/../plugins/securities

looking into /local/git/web-client/webclient/../plugins/services

Shortcuts at /local/git/web-client/webclient/../plugins/services

looking into /local/git/web-client/webclient/../plugins/status

Shortcuts at /local/git/web-client/webclient/../plugins/status

looking into /local/git/web-client/webclient/../plugins/systemtime

Shortcuts at /local/git/web-client/webclient/../plugins/systemtime

looking into /local/git/web-client/webclient/../plugins/users

Shortcuts at /local/git/web-client/webclient/../plugins/users
{"systemtime:main"=>{"groups"=>["Other"], "title"=>"Configure Time",
"url"=>"/systemtime", "resources"=>["systemtime"], "tags"=>["time", "clock",
"timezone", "ntp"], "icon"=>"/icons/yast-ntp-client.png", "description"=>"Set
the clock"}, "securities:main"=>{"groups"=>["Security"],
"title"=>"Firewall/Ssh", "url"=>"/security", "tags"=>["security", "access"],
"icon"=>"/icons/yast-security.png", "description"=>"Setting firewall/ssh"},
"patch_updates:main"=>{"groups"=>["Security", "Software"], "title"=>"Updates",
"url"=>"/patch_updates", "tags"=>["security", "software", "updates",
"patches"], "icon"=>"/icons/yast-online_update.png", "description"=>"See and
install updates"}, "status:main"=>{"groups"=>["Access"], "title"=>"Status",
"url"=>"/status", "resources"=>["status"], "tags"=>["access"],
"icon"=>"/images/monitoring.png", "description"=>"Show system status"},
"services:main"=>{"groups"=>["Services"], "title"=>"System Services",
"url"=>"/services", "tags"=>["init", "script", "service"],
"icon"=>"/icons/yast-online_update.png", "description"=>"Manage the LSB init
scripts"}, "users:main"=>{"groups"=>["Security"], "title"=>"Configure users",
"url"=>"/users", "tags"=>["users", "account", "security", "access"],
"icon"=>"/icons/yast-users.png", "description"=>"Manage user accounts"},
"permissions:main"=>{"groups"=>["Security"], "title"=>"User Permissions",
"url"=>"/permissions", "resources"=>["permissions"], "tags"=>["users",
"account", "security", "access"], "icon"=>"/icons/yast-security.png",
"description"=>"Set user permissions"},
"network:main"=>{"groups"=>["Network"], "title"=>"Configure network",
"url"=>"/network", "tags"=>["users", "account", "security", "access"],
"icon"=>"/icons/yast-network.png", "description"=>"Manage network devices"},
"language:main"=>{"groups"=>["Other"], "title"=>"Language",
"url"=>"/language", "resources"=>["language"], "tags"=>["language"],
"icon"=>"/icons/yast-language.png", "description"=>"Set language"},
"samba_server:main"=>{"groups"=>["Services", "Network"], "title"=>"Samba
Shares", "url"=>"/samba_server", "tags"=>["samba", "network", "share"],
"icon"=>"/icons/yast-online_update.png", "description"=>"Manage the exported
directories via Samba service"}}
Rendering template within layouts/main


Rendering controlpanel/index


{"groups"=>["Other"], "title"=>"Configure Time", "url"=>"/systemtime",
"resources"=>["systemtime"], "tags"=>["time", "clock", "timezone", "ntp"],
"icon"=>"/icons/yast-ntp-client.png", "description"=>"Set the clock"}


{"groups"=>["Security"], "title"=>"Firewall/Ssh", "url"=>"/security",
"tags"=>["security", "access"], "icon"=>"/icons/yast-security.png",
"description"=>"Setting firewall/ssh"}


{"groups"=>["Security", "Software"], "title"=>"Updates",
"url"=>"/patch_updates", "tags"=>["security", "software", "updates",
"patches"], "icon"=>"/icons/yast-online_update.png", "description"=>"See and
install updates"}

{"groups"=>["Access"], "title"=>"Status", "url"=>"/status",
"resources"=>["status"], "tags"=>["access"], "icon"=>"/images/monitoring.png",
"description"=>"Show system status"}


{"groups"=>["Services"], "title"=>"System Services", "url"=>"/services",
"tags"=>["init", "script", "service"], "icon"=>"/icons/yast-
online_update.png", "description"=>"Manage the LSB init scripts"}


{"groups"=>["Security"], "title"=>"Configure users", "url"=>"/users",
"tags"=>["users", "account", "security", "access"], "icon"=>"/icons/yast-
users.png", "description"=>"Manage user accounts"}


{"groups"=>["Security"], "title"=>"User Permissions", "url"=>"/permissions",
"resources"=>["permissions"], "tags"=>["users", "account", "security",
"access"], "icon"=>"/icons/yast-security.png", "description"=>"Set user
permissions"}

{"groups"=>["Network"], "title"=>"Configure network", "url"=>"/network",
"tags"=>["users", "account", "security", "access"], "icon"=>"/icons/yast-
network.png", "description"=>"Manage network devices"}


{"groups"=>["Other"], "title"=>"Language", "url"=>"/language",
"resources"=>["language"], "tags"=>["language"], "icon"=>"/icons/yast-
language.png", "description"=>"Set language"}


{"groups"=>["Services", "Network"], "title"=>"Samba Shares",
"url"=>"/samba_server", "tags"=>["samba", "network", "share"],
"icon"=>"/icons/yast-online_update.png", "description"=>"Manage the exported
directories via Samba service"}

Completed in 46ms (View: 26, DB: 0) | 200 OK [http://localhost/controlpanel]


/!\ FAILSAFE /!\ Mon Jul 13 12:38:22 +0200 2009


Status: 500 Internal Server Error


ActionController::Session::CookieStore::CookieOverflow

/usr/lib64/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/session/cookie_store.rb:102:in

`call'

/usr/lib64/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/reloader.rb:9:in

`call'


/usr/lib64/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/failsafe.rb:11:in

`call'


/usr/lib64/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/vendor/rack-1.0/rack/lock.rb:11:in

`call'

/usr/lib64/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/vendor/rack-1.0/rack/lock.rb:11:in

`synchronize'

/usr/lib64/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/vendor/rack-1.0/rack/lock.rb:11:in

`call'

/usr/lib64/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/dispatcher.rb:106:in

`call'
/usr/lib64/ruby/gems/1.8/gems/rails-2.3.2/lib/rails/rack/static.rb:31:in
`call'


/usr/lib64/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/vendor/rack-1.0/rack/urlmap.rb:46:in

`call'

/usr/lib64/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/vendor/rack-1.0/rack/urlmap.rb:40:in

`each'

/usr/lib64/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/vendor/rack-1.0/rack/urlmap.rb:40:in

`call'

/usr/lib64/ruby/gems/1.8/gems/rails-2.3.2/lib/rails/rack/log_tailer.rb:17:in
`call'


/usr/lib64/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/vendor/rack-1.0/rack/content_length.rb:13:in

`call'

/usr/lib64/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/vendor/rack-1.0/rack/chunked.rb:15:in

`call'

/usr/lib64/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/vendor/rack-1.0/rack/handler/mongrel.rb:61:in

`process'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in
`process_client'

/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each'


/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in
`process_client'

/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run'


/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in
`initialize'

/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new'


/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run'


/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in
`initialize'

/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new'


/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run'



/usr/lib64/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/vendor/rack-1.0/rack/handler/mongrel.rb:34:in

`run'
/usr/lib64/ruby/gems/1.8/gems/rails-2.3.2/lib/commands/server.rb:111


/usr/lib64/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'

/usr/lib64/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:31:in `require'


script/server:3



Is there any other info I can provide now, or when I posisbly reproduce this
problem (except the stored cookies)?

Jiri

--
Regards,

Jiri Srain
YaST Team Leader
---------------------------------------------------------------------
SUSE LINUX, s.r.o. e-mail: jsrain@xxxxxxx
Lihovarska 1060/12 tel: +420 284 028 959
190 00 Praha 9 fax: +420 284 028 951
Czech Republic http://www.suse.cz
--
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups