I am trying to set up a proxy for my locally run Ragflow by adding these 2 lines in docker-compose.yml under services:ragflow:environment:
- http_proxy=http://host.docker.internal:8080- https_proxy=http://host.docker.internal:8080
however, after running docker compose up -d, it seems like Ragflow is trying to re-download the embedding model and gave this error in the chat:
ERROR: (MaxRetryError("HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /api/models/BAAI/bge-large-zh-v1.5/revision/main (Caused by ProxyError('Unable to connect to proxy', OSError('Tunnel connection failed: 502 Bad Gateway')))"), '(Request ID: 69d0b531-5024-4774-af63-84e360c4dcf7)')
May I check if it's necessary to re-download the embedding models every time when changes are made to docker-compose.yml? Thanks.
Describe your problem
I am trying to set up a proxy for my locally run Ragflow by adding these 2 lines in docker-compose.yml under services:ragflow:environment:
- http_proxy=http://host.docker.internal:8080
- https_proxy=http://host.docker.internal:8080
however, after runningdocker compose up -d
, it seems like Ragflow is trying to re-download the embedding model and gave this error in the chat:ERROR: (MaxRetryError("HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /api/models/BAAI/bge-large-zh-v1.5/revision/main (Caused by ProxyError('Unable to connect to proxy', OSError('Tunnel connection failed: 502 Bad Gateway')))"), '(Request ID: 69d0b531-5024-4774-af63-84e360c4dcf7)')
May I check if it's necessary to re-download the embedding models every time when changes are made to docker-compose.yml? Thanks.