GenAIExamples icon indicating copy to clipboard operation
GenAIExamples copied to clipboard

set_env.sh for ChantQnA on Xeon is missing the REDIS_HOST environment variable

Open mandalrajiv opened this issue 1 year ago • 1 comments

set_env.sh for ChantQnA on Xeon is missing the REDIS_HOST environment variable. because of that when I do docker compose up -d, the retriever-redis-server container is showing errors. I solved the problem by adding export REDIS_HOST=${host_ip}

Please add this in the set_env.sh file. Perhaps the same change in needed in other examples as well. Please check.

Error

File "/home/user/.local/lib/python3.11/site-packages/redis/connection.py", line 280, in connect raise TimeoutError("Timeout connecting to server") redis.exceptions.TimeoutError: Timeout connecting to server

https://github.com/opea-project/GenAIExamples/blob/main/ChatQnA/docker/xeon/set_env.sh

mandalrajiv avatar Aug 14 '24 05:08 mandalrajiv

Can you please look into this issue?

mandalrajiv avatar Aug 14 '24 14:08 mandalrajiv

@mandalrajiv thank you very much for the report and fix. solution is mereged #644

yinghu5 avatar Aug 22 '24 08:08 yinghu5