When the "docker logs -f ragflow-server" command is run in offline deployment, the request address times out
Is there an existing issue for the same bug?
- [X] I have checked the existing issues.
Branch name
main
Commit ID
081f922
Other environment information
No response
Actual behavior
pull down the image from the Internet, and report this connection to a website timeout when migrating to the Intranet for installation
Expected behavior
I'd like to deploy it on the Intranet
Steps to reproduce
load the related image and copy the source code, the first step: cd ragflow/docker, the second step: chmod +x./entrypoint. docker compose- f docker-compose-CN.yml up -d, Step 4: docker logs -f ragflow-server
Additional information
Traceback (most recent call last):
File "/ragflow/api/ragflow_server.py", line 26, in
Tokenizer model should not be hardcoded in line:
tiktoken.encoding_for_model("gpt-3.5-turbo")
have you solved it? I also encountered this problem
may be you can try to add proxy to the docker yml file. environment:
- TZ=${TIMEZONE}
- HF_ENDPOINT=https://hf-mirror.com/
- HTTP_PROXY=
- HTTPS_PROXY=
- NO_PROXY=
may be you can try to add proxy to the docker yml file. environment:
- TZ=${TIMEZONE}
- HF_ENDPOINT=https://hf-mirror.com/
- HTTP_PROXY=
- HTTPS_PROXY=
- NO_PROXY=
The Internet environment is fine, no network agent can not work.
This happening to me as well, are you able to register your account with this error ? in login screen ? I get 502 gateway error
docker/.env says
# The RAGFlow Docker image to download.
# Defaults to the dev-slim edition, which is the RAGFlow Docker image without embedding models.
RAGFLOW_IMAGE=infiniflow/ragflow:dev-slim
#
# To download the RAGFlow Docker image with embedding models, uncomment the following line instead:
# RAGFLOW_IMAGE=infiniflow/ragflow:dev
#
# The Docker image of the dev edition includes:
# - Built-in embedding models:
# - BAAI/bge-large-zh-v1.5
# - BAAI/bge-reranker-v2-m3
# - maidalun1020/bce-embedding-base_v1
# - maidalun1020/bce-reranker-base_v1
# - Embedding models that will be downloaded once you select them in the RAGFlow UI:
# - BAAI/bge-base-en-v1.5
# - BAAI/bge-large-en-v1.5
# - BAAI/bge-small-en-v1.5
# - BAAI/bge-small-zh-v1.5
# - jinaai/jina-embeddings-v2-base-en
# - jinaai/jina-embeddings-v2-small-en
# - nomic-ai/nomic-embed-text-v1.5
# - sentence-transformers/all-MiniLM-L6-v2