日期:2014-05-17  浏览次数:20464 次

错误:Client sent AUTH, but no password is set, sPort: 0, LastCommand: AUTH 123456
private RedisResponseException CreateResponseError(string error)
 {
 HadExceptions = true;
 var throwEx = new RedisResponseException(
 string.Format("{0}, sPort: {1}, LastCommand: {2}",
 error, clientPort, lastCommand));
 log.Error(throwEx.Message);
 throw throwEx;
 }


这是我在项目中用到的代码,但是报Client sent AUTH, but no password is set, sPort: 0, LastCommand: AUTH 123456这个错误,求解释 
------解决方案--------------------
客户端使用了http验证,但是没有提交密码。验证失败。按理说这个不是什么问题,这是客户端的问题。
------解决方案--------------------
报错信息不是说了很清楚了吗,你的验证auth后面的有问题,全局搜索下123456下看看