mperham/memcache-client

MemCacheStore session store - Rails 3 TypeError can't clone Fixnum

ShepFc3 opened this issue · 2 comments

I'm having an issue I believe is related to the memcache-client or maybe more specifically to the mem_cache_store in Rails 3. The error is TypeError: can't clone Fixnum. Here is my environment:

Ruby: 1.9.2-p0
Rails: 3.0.1 and 3.0.3
MemCacheClient: 1.8.5

My Environment:
3 servers
CACHE = MemCache.new(memcache_config["server_port"], :namespace => "searchclu")
MyApp::Application.config.session_store :mem_cache_store,
:key => '_searchclu_session',
:domain => SESSION_DOMAIN,
:cache => CACHE,
:expires => 14400

Here is the backtrace:

rack (1.2.1) lib/rack/utils.rb:184:in clone' rack (1.2.1) lib/rack/utils.rb:184:inset_cookie_header!'
actionpack (3.0.1) lib/action_dispatch/middleware/cookies.rb:196:in block in write' actionpack (3.0.1) lib/action_dispatch/middleware/cookies.rb:196:ineach'
actionpack (3.0.1) lib/action_dispatch/middleware/cookies.rb:196:in write' actionpack (3.0.1) lib/action_dispatch/middleware/cookies.rb:290:incall'
activerecord (3.0.1) lib/active_record/query_cache.rb:32:in block in call' activerecord (3.0.1) lib/active_record/connection_adapters/abstract/query_cache.rb:28:incache'
activerecord (3.0.1) lib/active_record/query_cache.rb:12:in cache' activerecord (3.0.1) lib/active_record/query_cache.rb:31:incall'
activerecord (3.0.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:355:in call' actionpack (3.0.1) lib/action_dispatch/middleware/callbacks.rb:46:inblock in call'
activesupport (3.0.1) lib/active_support/callbacks.rb:415:in _run_call_callbacks' actionpack (3.0.1) lib/action_dispatch/middleware/callbacks.rb:44:incall'
rack (1.2.1) lib/rack/sendfile.rb:107:in call' actionpack (3.0.1) lib/action_dispatch/middleware/remote_ip.rb:48:incall'
actionpack (3.0.1) lib/action_dispatch/middleware/show_exceptions.rb:46:in call' railties (3.0.1) lib/rails/rack/logger.rb:13:incall'
rack (1.2.1) lib/rack/runtime.rb:17:in call' activesupport (3.0.1) lib/active_support/cache/strategy/local_cache.rb:72:incall'
rack (1.2.1) lib/rack/lock.rb:11:in block in call' <internal:prelude>:10:insynchronize'
rack (1.2.1) lib/rack/lock.rb:11:in call' railties (3.0.1) lib/rails/application.rb:168:incall'
railties (3.0.1) lib/rails/application.rb:77:in method_missing' passenger (3.0.0) lib/phusion_passenger/rack/request_handler.rb:96:inprocess_request'
passenger (3.0.0) lib/phusion_passenger/abstract_request_handler.rb:513:in accept_and_process_next_request' passenger (3.0.0) lib/phusion_passenger/abstract_request_handler.rb:274:inmain_loop'
passenger (3.0.0) lib/phusion_passenger/rack/application_spawner.rb:205:in start_request_handler' passenger (3.0.0) lib/phusion_passenger/rack/application_spawner.rb:78:inblock in spawn_application'
passenger (3.0.0) lib/phusion_passenger/utils.rb:479:in safe_fork' passenger (3.0.0) lib/phusion_passenger/rack/application_spawner.rb:63:inspawn_application'
passenger (3.0.0) lib/phusion_passenger/spawn_manager.rb:264:in spawn_rack_application' passenger (3.0.0) lib/phusion_passenger/spawn_manager.rb:137:inspawn_application'
passenger (3.0.0) lib/phusion_passenger/spawn_manager.rb:275:in handle_spawn_application' passenger (3.0.0) lib/phusion_passenger/abstract_server.rb:357:inserver_main_loop'
passenger (3.0.0) lib/phusion_passenger/abstract_server.rb:206:in start_synchronously' passenger (3.0.0) helper-scripts/passenger-spawn-server:99:in

'

Here's the env dump:

DOCUMENT_ROOT: "/home/cshepherd/Development/searchclu_admin_upgrade/public"
HTTP_ACCEPT: "text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8"
HTTP_ACCEPT_CHARSET: "ISO-8859-1,utf-8;q=0.7,_;q=0.7"
HTTP_ACCEPT_ENCODING: "gzip,deflate"
HTTP_ACCEPT_LANGUAGE: "chrome://global/locale/intl.properties"
HTTP_CACHE_CONTROL: "max-age=0"
HTTP_CONNECTION: "keep-alive"
HTTP_COOKIE: "session_id=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlOTRhNzhiYzBjMmQxNmFhYTg1Nzc3MDZhZWQxYjhiNTNJIhBfY3NyZl90b2tlbgY7AEZJIjFadHNrRXVZeXRDM1ZCbmtxZVhwUzN6Q3p3cDl6Mk1PRDBoZkpxNGt4Z21BPQY7AEY%3D--b59db4d8d8dfc4b6df748ec61684c4283832a544"
HTTP_HOST: "searchclu.local"
HTTP_KEEP_ALIVE: "115"
HTTP_USER_AGENT: "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101027 Ubuntu/10.10 (maverick) Firefox/3.6.12"
PASSENGER_CONNECT_PASSWORD: "p6ECrn2gHeEtOZPZTglWWtZ95IKDOMRZkSPb4vVloOT"
PATH_INFO: "/"
QUERY_STRING: ""
REMOTE_ADDR: "127.0.0.1"
REMOTE_PORT: "60860"
REQUEST_METHOD: "GET"
REQUEST_URI: "/"
SCRIPT_NAME: ""
SERVER_ADDR: "127.0.0.1"
SERVER_ADMIN: "[no address given]"
SERVER_NAME: "searchclu.local"
SERVER_PORT: "80"
SERVER_PROTOCOL: "HTTP/1.1"
SERVER_SOFTWARE: "Apache/2.2.16 (Ubuntu)"
: ""
action_controller.instance: #<UsersController:0x0000000371b288 @action_has_layout=true, @view_context_class=nil, @headers={"Content-Type"=>"text/html"}, @status=200, @response=#<ActionDispatch::Response:0x0000000371a950 @writer=#<Proc:0x0000000371a478@/home/cshepherd/.rvm/gems/ruby-1.9.2-p0@searchclu2.3/gems/actionpack-3.0.1/lib/action_dispatch/http/response.rb:44 (lambda)>, @block=nil, @Length=0, @Header={"Location"=>"http://searchclu.local/login", "Content-Type"=>"text/html; charset=utf-8", "Cache-Control"=>"no-cache", "X-UA-Compatible"=>"IE=Edge,chrome=1"}, @status=302, @Body=["You are being <a href="http://searchclu.local/login">redirected."], @cookie=[], @sending_file=false, @blank=false, @cache_control={}, @etag=nil, @request=#<ActionDispatch::Request:0x0000000371ab30 @env={"SERVER_SOFTWARE"=>"Apache/2.2.16 (Ubuntu)", "SERVER_PROTOCOL"=>"HTTP/1.1", "SERVER_NAME"=>"searchclu.local", "SERVER_ADMIN"=>"[no address given]", "SERVER_ADDR"=>"127.0.0.1", "SERVER_PORT"=>"80", "REMOTE_ADDR"=>"127.0.0.1", "REMOTE_PORT"=>"60860", "REQUEST_METHOD"=>"GET", "QUERY_STRING"=>"", "DOCUMENT_ROOT"=>"/home/cshepherd/Development/searchclu_admin_upgrade/public", "REQUEST_URI"=>"/", "SCRIPT_NAME"=>"", "PATH_INFO"=>"/", "HTTP_HOST"=>"searchclu.local", "HTTP_USER_AGENT"=>"Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101027 Ubuntu/10.10 (maverick) Firefox/3.6.12", "HTTP_ACCEPT"=>"text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8", "HTTP_ACCEPT_LANGUAGE"=>"chrome://global/locale/intl.properties", "HTTP_ACCEPT_ENCODING"=>"gzip,deflate", "HTTP_ACCEPT_CHARSET"=>"ISO-8859-1,utf-8;q=0.7,;q=0.7", "HTTP_KEEP_ALIVE"=>"115", "HTTP_CONNECTION"=>"keep-alive", "HTTP_COOKIE"=>"session_id=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlOTRhNzhiYzBjMmQxNmFhYTg1Nzc3MDZhZWQxYjhiNTNJIhBfY3NyZl90b2tlbgY7AEZJIjFadHNrRXVZeXRDM1ZCbmtxZVhwUzN6Q3p3cDl6Mk1PRDBoZkpxNGt4Z21BPQY7AEY%3D--b59db4d8d8dfc4b6df748ec61684c4283832a544", "HTTP_CACHE_CONTROL"=>"max-age=0", "PASSENGER_CONNECT_PASSWORD"=>"p6ECrn2gHeEtOZPZTglWWtZ95IKDOMRZkSPb4vVloOT", ""=>"
", "rack.version"=>[1, 0], "rack.input"=>#<PhusionPassenger::Utils::RewindableInput:0x00000003752508 @io=#<PhusionPassenger::Utils::UnseekableSocket:0x000000037581d8 @socket=#<UNIXSocket:fd 11>>, @rewindable_io=nil, @unlinked=false>, "rack.errors"=>#IO:, "rack.multithread"=>false, "rack.multiprocess"=>true, "rack.run_once"=>false, "rack.url_scheme"=>"http", "action_dispatch.parameter_filter"=>[:password, :password, :authorization_token], "action_dispatch.secret_token"=>"c189c7b9c08ec88fa1820f72afe1f0a11a0ace9e832e0334fea34b395ec31e69c1e7849ce37eb74ad7092d319798e5f608aaf4503b47b885b21c5007cb9c7798", "action_dispatch.remote_ip"=>127.0.0.1, "rack.session"=>{"flash"=>{:notice=>"Your SearchCLU session has expired. Please log back in to view your profile."}}, "rack.session.options"=>{:path=>"/", :domain=>".searchclu.local", :secure=>false, :httponly=>true, :cache=><MemCache: 3 servers, ns: "searchclu", ro: false>, :expires=>14400, :id=>"a3501588cdfe02871554ed5682034333"}, "rack.request.cookie_string"=>"_session_id=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlOTRhNzhiYzBjMmQxNmFhYTg1Nzc3MDZhZWQxYjhiNTNJIhBfY3NyZl90b2tlbgY7AEZJIjFadHNrRXVZeXRDM1ZCbmtxZVhwUzN6Q3p3cDl6Mk1PRDBoZkpxNGt4Z21BPQY7AEY%3D--b59db4d8d8dfc4b6df748ec61684c4283832a544", "rack.request.cookie_hash"=>{"_session_id"=>"BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlOTRhNzhiYzBjMmQxNmFhYTg1Nzc3MDZhZWQxYjhiNTNJIhBfY3NyZl90b2tlbgY7AEZJIjFadHNrRXVZeXRDM1ZCbmtxZVhwUzN6Q3p3cDl6Mk1PRDBoZkpxNGt4Z21BPQY7AEY=--b59db4d8d8dfc4b6df748ec61684c4283832a544"}, "action_dispatch.request.path_parameters"=>{:controller=>"users", :action=>"welcome"}, "action_controller.instance"=>#<UsersController:0x0000000371b288 ...>, "action_dispatch.request.content_type"=>nil, "action_dispatch.request.request_parameters"=>{}, "rack.request.query_string"=>"", "rack.request.query_hash"=>{}, "action_dispatch.request.query_parameters"=>{}, "action_dispatch.request.parameters"=>{"controller"=>"users", "action"=>"welcome"}, "action_dispatch.request.formats"=>[text/html], "action_dispatch.request.flash_hash"=>{:notice=>"Your SearchCLU session has expired. Please log back in to view your profile."}, "action_dispatch.cookies"=>{"session_id"=>"BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlOTRhNzhiYzBjMmQxNmFhYTg1Nzc3MDZhZWQxYjhiNTNJIhBfY3NyZl90b2tlbgY7AEZJIjFadHNrRXVZeXRDM1ZCbmtxZVhwUzN6Q3p3cDl6Mk1PRDBoZkpxNGt4Z21BPQY7AEY=--b59db4d8d8dfc4b6df748ec61684c4283832a544", "searchclu_session"=>"a3501588cdfe02871554ed5682034333"}}, @fullPath="/", @filtered_parameters={"controller"=>"users", "action"=>"welcome"}, @method="GET", @symbolized_path_params={:controller=>"users", :action=>"welcome"}>, @content_type="text/html", @charset="utf-8">, @request=#<ActionDispatch::Request:0x0000000371ab30 @env={"SERVER_SOFTWARE"=>"Apache/2.2.16 (Ubuntu)", "SERVER_PROTOCOL"=>"HTTP/1.1", "SERVER_NAME"=>"searchclu.local", "SERVER_ADMIN"=>"[no address given]", "SERVER_ADDR"=>"127.0.0.1", "SERVER_PORT"=>"80", "REMOTE_ADDR"=>"127.0.0.1", "REMOTE_PORT"=>"60860", "REQUEST_METHOD"=>"GET", "QUERY_STRING"=>"", "DOCUMENT_ROOT"=>"/home/cshepherd/Development/searchclu_admin_upgrade/public", "REQUEST_URI"=>"/", "SCRIPT_NAME"=>"", "PATH_INFO"=>"/", "HTTP_HOST"=>"searchclu.local", "HTTP_USER_AGENT"=>"Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101027 Ubuntu/10.10 (maverick) Firefox/3.6.12", "HTTP_ACCEPT"=>"text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8", "HTTP_ACCEPT_LANGUAGE"=>"chrome://global/locale/intl.properties", "HTTP_ACCEPT_ENCODING"=>"gzip,deflate", "HTTP_ACCEPT_CHARSET"=>"ISO-8859-1,utf-8;q=0.7,*;q=0.7", "HTTP_KEEP_ALIVE"=>"115", "HTTP_CONNECTION"=>"keep-alive", "HTTP_COOKIE"=>"session_id=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlOTRhNzhiYzBjMmQxNmFhYTg1Nzc3MDZhZWQxYjhiNTNJIhBfY3NyZl90b2tlbgY7AEZJIjFadHNrRXVZeXRDM1ZCbmtxZVhwUzN6Q3p3cDl6Mk1PRDBoZkpxNGt4Z21BPQY7AEY%3D--b59db4d8d8dfc4b6df748ec61684c4283832a544", "HTTP_CACHE_CONTROL"=>"max-age=0", "PASSENGER_CONNECT_PASSWORD"=>"p6ECrn2gHeEtOZPZTglWWtZ95IKDOMRZkSPb4vVloOT", ""=>"", "rack.version"=>[1, 0], "rack.input"=>#<PhusionPassenger::Utils::RewindableInput:0x00000003752508 @io=#<PhusionPassenger::Utils::UnseekableSocket:0x000000037581d8 @socket=#<UNIXSocket:fd 11>>, @rewindable_io=nil, @unlinked=false>, "rack.errors"=>#IO:, "rack.multithread"=>false, "rack.multiprocess"=>true, "rack.run_once"=>false, "rack.url_scheme"=>"http", "action_dispatch.parameter_filter"=>[:password, :password, :authorization_token], "action_dispatch.secret_token"=>"c189c7b9c08ec88fa1820f72afe1f0a11a0ace9e832e0334fea34b395ec31e69c1e7849ce37eb74ad7092d319798e5f608aaf4503b47b885b21c5007cb9c7798", "action_dispatch.remote_ip"=>127.0.0.1, "rack.session"=>{"flash"=>{:notice=>"Your SearchCLU session has expired. Please log back in to view your profile."}}, "rack.session.options"=>{:path=>"/", :domain=>".searchclu.local", :secure=>false, :httponly=>true, :cache=><MemCache: 3 servers, ns: "searchclu", ro: false>, :expires=>14400, :id=>"a3501588cdfe02871554ed5682034333"}, "rack.request.cookie_string"=>"_session_id=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlOTRhNzhiYzBjMmQxNmFhYTg1Nzc3MDZhZWQxYjhiNTNJIhBfY3NyZl90b2tlbgY7AEZJIjFadHNrRXVZeXRDM1ZCbmtxZVhwUzN6Q3p3cDl6Mk1PRDBoZkpxNGt4Z21BPQY7AEY%3D--b59db4d8d8dfc4b6df748ec61684c4283832a544", "rack.request.cookie_hash"=>{"_session_id"=>"BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlOTRhNzhiYzBjMmQxNmFhYTg1Nzc3MDZhZWQxYjhiNTNJIhBfY3NyZl90b2tlbgY7AEZJIjFadHNrRXVZeXRDM1ZCbmtxZVhwUzN6Q3p3cDl6Mk1PRDBoZkpxNGt4Z21BPQY7AEY=--b59db4d8d8dfc4b6df748ec61684c4283832a544"}, "action_dispatch.request.path_parameters"=>{:controller=>"users", :action=>"welcome"}, "action_controller.instance"=>#<UsersController:0x0000000371b288 ...>, "action_dispatch.request.content_type"=>nil, "action_dispatch.request.request_parameters"=>{}, "rack.request.query_string"=>"", "rack.request.query_hash"=>{}, "action_dispatch.request.query_parameters"=>{}, "action_dispatch.request.parameters"=>{"controller"=>"users", "action"=>"welcome"}, "action_dispatch.request.formats"=>[text/html], "action_dispatch.request.flash_hash"=>{:notice=>"Your SearchCLU session has expired. Please log back in to view your profile."}, "action_dispatch.cookies"=>{"session_id"=>"BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlOTRhNzhiYzBjMmQxNmFhYTg1Nzc3MDZhZWQxYjhiNTNJIhBfY3NyZl90b2tlbgY7AEZJIjFadHNrRXVZeXRDM1ZCbmtxZVhwUzN6Q3p3cDl6Mk1PRDBoZkpxNGt4Z21BPQY7AEY=--b59db4d8d8dfc4b6df748ec61684c4283832a544", "searchclu_session"=>"a3501588cdfe02871554ed5682034333"}}, @fullPath="/", @filtered_parameters={"controller"=>"users", "action"=>"welcome"}, @method="GET", @symbolized_path_params={:controller=>"users", :action=>"welcome"}>, @env={"SERVER_SOFTWARE"=>"Apache/2.2.16 (Ubuntu)", "SERVER_PROTOCOL"=>"HTTP/1.1", "SERVER_NAME"=>"searchclu.local", "SERVER_ADMIN"=>"[no address given]", "SERVER_ADDR"=>"127.0.0.1", "SERVER_PORT"=>"80", "REMOTE_ADDR"=>"127.0.0.1", "REMOTE_PORT"=>"60860", "REQUEST_METHOD"=>"GET", "QUERY_STRING"=>"", "DOCUMENT_ROOT"=>"/home/cshepherd/Development/searchclu_admin_upgrade/public", "REQUEST_URI"=>"/", "SCRIPT_NAME"=>"", "PATH_INFO"=>"/", "HTTP_HOST"=>"searchclu.local", "HTTP_USER_AGENT"=>"Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101027 Ubuntu/10.10 (maverick) Firefox/3.6.12", "HTTP_ACCEPT"=>"text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8", "HTTP_ACCEPT_LANGUAGE"=>"chrome://global/locale/intl.properties", "HTTP_ACCEPT_ENCODING"=>"gzip,deflate", "HTTP_ACCEPT_CHARSET"=>"ISO-8859-1,utf-8;q=0.7,*;q=0.7", "HTTP_KEEP_ALIVE"=>"115", "HTTP_CONNECTION"=>"keep-alive", "HTTP_COOKIE"=>"session_id=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlOTRhNzhiYzBjMmQxNmFhYTg1Nzc3MDZhZWQxYjhiNTNJIhBfY3NyZl90b2tlbgY7AEZJIjFadHNrRXVZeXRDM1ZCbmtxZVhwUzN6Q3p3cDl6Mk1PRDBoZkpxNGt4Z21BPQY7AEY%3D--b59db4d8d8dfc4b6df748ec61684c4283832a544", "HTTP_CACHE_CONTROL"=>"max-age=0", "PASSENGER_CONNECT_PASSWORD"=>"p6ECrn2gHeEtOZPZTglWWtZ95IKDOMRZkSPb4vVloOT", ""=>"", "rack.version"=>[1, 0], "rack.input"=>#<PhusionPassenger::Utils::RewindableInput:0x00000003752508 @io=#<PhusionPassenger::Utils::UnseekableSocket:0x000000037581d8 @socket=#<UNIXSocket:fd 11>>, @rewindable_io=nil, @unlinked=false>, "rack.errors"=>#IO:, "rack.multithread"=>false, "rack.multiprocess"=>true, "rack.run_once"=>false, "rack.url_scheme"=>"http", "action_dispatch.parameter_filter"=>[:password, :password, :authorization_token], "action_dispatch.secret_token"=>"c189c7b9c08ec88fa1820f72afe1f0a11a0ace9e832e0334fea34b395ec31e69c1e7849ce37eb74ad7092d319798e5f608aaf4503b47b885b21c5007cb9c7798", "action_dispatch.remote_ip"=>127.0.0.1, "rack.session"=>{"flash"=>{:notice=>"Your SearchCLU session has expired. Please log back in to view your profile."}}, "rack.session.options"=>{:path=>"/", :domain=>".searchclu.local", :secure=>false, :httponly=>true, :cache=><MemCache: 3 servers, ns: "searchclu", ro: false>, :expires=>14400, :id=>"a3501588cdfe02871554ed5682034333"}, "rack.request.cookie_string"=>"_session_id=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlOTRhNzhiYzBjMmQxNmFhYTg1Nzc3MDZhZWQxYjhiNTNJIhBfY3NyZl90b2tlbgY7AEZJIjFadHNrRXVZeXRDM1ZCbmtxZVhwUzN6Q3p3cDl6Mk1PRDBoZkpxNGt4Z21BPQY7AEY%3D--b59db4d8d8dfc4b6df748ec61684c4283832a544", "rack.request.cookie_hash"=>{"_session_id"=>"BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlOTRhNzhiYzBjMmQxNmFhYTg1Nzc3MDZhZWQxYjhiNTNJIhBfY3NyZl90b2tlbgY7AEZJIjFadHNrRXVZeXRDM1ZCbmtxZVhwUzN6Q3p3cDl6Mk1PRDBoZkpxNGt4Z21BPQY7AEY=--b59db4d8d8dfc4b6df748ec61684c4283832a544"}, "action_dispatch.request.path_parameters"=>{:controller=>"users", :action=>"welcome"}, "action_controller.instance"=>#<UsersController:0x0000000371b288 ...>, "action_dispatch.request.content_type"=>nil, "action_dispatch.request.request_parameters"=>{}, "rack.request.query_string"=>"", "rack.request.query_hash"=>{}, "action_dispatch.request.query_parameters"=>{}, "action_dispatch.request.parameters"=>{"controller"=>"users", "action"=>"welcome"}, "action_dispatch.request.formats"=>[text/html], "action_dispatch.request.flash_hash"=>{:notice=>"Your SearchCLU session has expired. Please log back in to view your profile."}, "action_dispatch.cookies"=>{"_session_id"=>"BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlOTRhNzhiYzBjMmQxNmFhYTg1Nzc3MDZhZWQxYjhiNTNJIhBfY3NyZl90b2tlbgY7AEZJIjFadHNrRXVZeXRDM1ZCbmtxZVhwUzN6Q3p3cDl6Mk1PRDBoZkpxNGt4Z21BPQY7AEY=--b59db4d8d8dfc4b6df748ec61684c4283832a544", "_searchclu_session"=>"a3501588cdfe02871554ed5682034333"}}, @lookup_context=#<ActionView::LookupContext:0x0000000364c280 @details_key=nil, @details={:handlers=>[:erb, :rjs, :builder, :rhtml, :rxml], :formats=>[:html], :locale=>[:en, :en]}, @skip_default_locale=false, @frozen_formats=true, @view_paths=[/home/cshepherd/Development/searchclu_admin_upgrade/app/views, /home/cshepherd/Development/searchclu_admin_upgrade/vendor/plugins/restful_authentication/app/views, /home/cshepherd/Development/searchclu_admin_upgrade/vendor/plugins/rails_upgrade/app/views, /home/cshepherd/Development/searchclu_admin_upgrade/vendor/plugins/in_place_editing/app/views, /home/cshepherd/Development/searchclu_admin_upgrade/vendor/plugins/exception_notification/app/views, /home/cshepherd/Development/searchclu_admin_upgrade/vendor/plugins/auto_complete/app/views, /home/cshepherd/Development/searchclu_admin_upgrade/vendor/plugins/account_location/app/views]>, @_action_name="welcome", @_response_body=["You are being <a href="http://searchclu.local/login">redirected."], @_config={}, @_params={"controller"=>"users", "action"=>"welcome"}, @current_user=nil>
action_dispatch.cookies: {"_session_id"=>"BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlOTRhNzhiYzBjMmQxNmFhYTg1Nzc3MDZhZWQxYjhiNTNJIhBfY3NyZl90b2tlbgY7AEZJIjFadHNrRXVZeXRDM1ZCbmtxZVhwUzN6Q3p3cDl6Mk1PRDBoZkpxNGt4Z21BPQY7AEY=--b59db4d8d8dfc4b6df748ec61684c4283832a544", "_searchclu_session"=>"a3501588cdfe02871554ed5682034333"}
action_dispatch.parameter_filter: [:password, :password, :authorization_token]
action_dispatch.remote_ip: 127.0.0.1
action_dispatch.request.content_type: nil
action_dispatch.request.flash_hash: {:notice=>"Your SearchCLU session has expired. Please log back in to view your profile."}
action_dispatch.request.formats: [text/html]
action_dispatch.request.parameters: {"controller"=>"users", "action"=>"welcome"}
action_dispatch.request.path_parameters: {:controller=>"users", :action=>"welcome"}
action_dispatch.request.query_parameters: {}
action_dispatch.request.request_parameters: {}
action_dispatch.secret_token: "c189c7b9c08ec88fa1820f72afe1f0a11a0ace9e832e0334fea34b395ec31e69c1e7849ce37eb74ad7092d319798e5f608aaf4503b47b885b21c5007cb9c7798"
rack.errors: #IO:
rack.input: #<PhusionPassenger::Utils::RewindableInput:0x00000003752508 @io=#<PhusionPassenger::Utils::UnseekableSocket:0x000000037581d8 @socket=#<UNIXSocket:fd 11>>, @rewindable_io=nil, @unlinked=false>
rack.multiprocess: true
rack.multithread: false
rack.request.cookie_hash: {"_session_id"=>"BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlOTRhNzhiYzBjMmQxNmFhYTg1Nzc3MDZhZWQxYjhiNTNJIhBfY3NyZl90b2tlbgY7AEZJIjFadHNrRXVZeXRDM1ZCbmtxZVhwUzN6Q3p3cDl6Mk1PRDBoZkpxNGt4Z21BPQY7AEY=--b59db4d8d8dfc4b6df748ec61684c4283832a544"}
rack.request.cookie_string: "_session_id=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlOTRhNzhiYzBjMmQxNmFhYTg1Nzc3MDZhZWQxYjhiNTNJIhBfY3NyZl90b2tlbgY7AEZJIjFadHNrRXVZeXRDM1ZCbmtxZVhwUzN6Q3p3cDl6Mk1PRDBoZkpxNGt4Z21BPQY7AEY%3D--b59db4d8d8dfc4b6df748ec61684c4283832a544"
rack.request.query_hash: {}
rack.request.query_string: ""
rack.run_once: false
rack.session: {"flash"=>{:notice=>"Your SearchCLU session has expired. Please log back in to view your profile."}}
rack.session.options: {:path=>"/", :domain=>".searchclu.local", :secure=>false, :httponly=>true, :cache=><MemCache: 3 servers, ns: "searchclu", ro: false>, :expires=>14400, :id=>"a3501588cdfe02871554ed5682034333"}
rack.url_scheme: "http"
rack.version: [1, 0]

I don't believe this has anything to do with memcache-client. It looks like you are passing a number of seconds as the :expires option to create a cookie, when the documentation states you should use a Time instance instead. Please see Rack 1.2.1's utils.rb line 184 and ActionPack 3.0.1's cookies.rb line 67.

OK, sorry about that. It was supported in 2.3.10, and I tried various settings, but didn't make it a time instance. Thanks for your help.