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)
Rails4 Dalli ArgumentError key cannot be blank
-
03-06-2022 - |
Question
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.
No correct solution
OTHER TIPS
I had this issue as well. Dalli 2.7.2 fixes the issue(dalli@52f2208), so I recommend upgrading.
i got this error, too. problem is memcached is down.(check application log)
check your memcached daemon!
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow