Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
mandalrajiv opened this issue Aug 14, 2024 · 2 comments
Assignees
Labels

Comments

@mandalrajiv
Copy link
Contributor

mandalrajiv commented Aug 14, 2024

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
Copy link
Contributor Author

Can you please look into this issue?

yinghu5 added a commit that referenced this issue Aug 22, 2024
fix issue #591 
set_env.sh for ChantQnA on Xeon is missing the REDIS_HOST environment variable. because of that when do docker compose up -d, the retriever-redis-server container is showing errors. I solved the problem by adding export REDIS_HOST=${host_ip}
Perhaps the same change in needed in other examples as well.
@yinghu5
Copy link
Collaborator

yinghu5 commented Aug 22, 2024

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

@yinghu5 yinghu5 closed this as completed Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants