Reputation: 1600
just run into an odd ArgumentError key cannot be blank error for a shiny Rails4 app with session store config to use memcache store
I've created an app to demo
https://github.com/khoan/rails4_dalli_session_store_error_app
ideas on how to fix?
Thanks in advance.
Upvotes: 1
Views: 1094
Reputation: 6551
I had this issue as well. Dalli 2.7.2 fixes the issue(dalli@52f2208), so I recommend upgrading.
Upvotes: 3
Reputation: 61
We got this error too. Memcached is not down. It happen sometimes on production server and I managed to reproduce it on a pristine rails4 application using dalli_store or mem_cache_store as session_store. Sending a request with a forged blank session_id cookie will raise ArgumentError (key cannot be blank)
Upvotes: 6
Reputation: 21
i got this error, too. problem is memcached is down.(check application log)
check your memcached daemon!
Upvotes: 2