skip to Main Content

Caused by io.lettuce.core.rediscommandexecutionexception: moved 15596 XX.X.XXX.XX:6379 Java Spring boot

We have a spring-boot application which is deployed to lambda in AWS. Code public AbstractRedisClient getClient(String host, String port) { LOG.info("redis-uri" + "redis://"+host+":"+port); return RedisClient.create("redis://"+host+":"+port); } /** * Returns the Redis connection using the Lettuce-Redis-Client * * @return RedisClient */…

VIEW QUESTION

Docker postgres java.io.EOFException: null when trying to connect

I have my Dockerfile and docker-compose.yml configured to start my two services - this is my postgres db and Spring Boot app. Dockerfile: FROM openjdk:8-jdk-alpine ENV JAVA_HOME /usr/lib/jvm/java-8-openjdk-amd64/ RUN export JAVA_HOME COPY ./init.dump /docker-entrypoint-initdb.d/ RUN chmod 0755 /docker-entrypoint-initdb.d/init.dump COPY target/endlessblow-server-1.0-SNAPSHOT.jar…

VIEW QUESTION
Back To Top
Search