Code Monkey home page Code Monkey logo

Comments (6)

knightliao avatar knightliao commented on August 28, 2024

所以才要用 redis来做 统一会话 啊。估计你没配好 redis

from disconf.

MaGonglei avatar MaGonglei commented on August 28, 2024

貌似是因为我们的redis并没有设置密码

redis.group1.client1.name=BeidouRedis1
redis.group1.client1.host=127.0.0.1
redis.group1.client1.port=6379
redis.group1.client1.timeout=5000
redis.group1.client1.password=

这个是直接不设置还是?

from disconf.

knightliao avatar knightliao commented on August 28, 2024
   if (StringUtils.isEmpty(redisAuthKey)) {
        logger.info("use no auth mode for " + redisServerHost);
        jedisPool = new JedisPool(getPoolConfig(), redisServerHost, redisServerPort, timeout);
    } else {
        jedisPool = new JedisPool(getPoolConfig(), redisServerHost, redisServerPort, timeout, redisAuthKey);
    }

目前应该是直接无密码连接的,奇怪

from disconf.

knightliao avatar knightliao commented on August 28, 2024

对了,你们是什么公司在用呢?

from disconf.

MaGonglei avatar MaGonglei commented on August 28, 2024

九鼎控股下面(九鼎投资是目前国内第一PE 新三板市值最大公司)的人人行科技有限公司 第一个产品:借贷宝 http://www.jiedaibao.com/pcIndex.html

上面的那个代码我昨天追了下,是走到不用密码的分支里面的。对spring不太熟悉,后面我再详细追一下,目前用单个实例也够用。

from disconf.

seven7ma avatar seven7ma commented on August 28, 2024

请问您问题怎么解决的,我遇到了一样的问题

from disconf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.