Rails4 Dalli ArgumentError键不能为空

Kho*_*yen 1 memcached session-store dalli ruby-on-rails-4

只是遇到一个奇怪的ArgumentError键不能是空白错误的闪亮Rails4应用程序与会话存储配置使用memcache存储

我已经创建了一个应用程序来演示

https://github.com/khoan/rails4_dalli_session_store_error_app

关于如何解决的想法?

提前致谢.

小智 6

我们也得到了这个错误.Memcached没有失败.它有时发生在生产服务器上,我设法使用dalli_store或mem_cache_store作为session_store在pristine rails4应用程序上重现它.使用伪造的空白session_id cookie发送请求将引发ArgumentError(键不能为空)