The speed is too slow testing knowledge retrieval[RAG] #20945

Closed
opened 2026-02-21 20:09:54 -05:00 by yindo · 10 comments
Owner

Originally created by @BrianXu001 on GitHub (Dec 10, 2025).

Self Checks

  • I have read the Contributing Guide and Language Policy.
  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report, otherwise it will be closed.
  • 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.9.2

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

Image

✔️ Expected Behavior

generally, it may cost with several seconds.

Actual Behavior

It cost more than 10 seconds to invoke a knowledge recall. I found out a big cost when i invoke knowledge recall(like picture). It seems like a http timeout, but i can't ban the http request,i tried a few envs, but it doesn't work
WEAVIATE_CLIENT_DISABLE_VERSION_CHECK: 1
DISABLE_EXTERNAL_VERSION_CHECKS: true
WEAVIATE_SKIP_INIT_CHECKS: true
WEAVIATE_DISABLE_READY_CHECK: true
DISABLE_HTTP_CLIENT: true
SKIP_PYPI_CHECK: true
NO_EXTERNAL_CONNECTIONS: true
DISABLE_WEAVIATE_INIT_CHECKS: true
WEAVIATE_SKIP_STARTUP_CHECKS: true
DISABLE_EXTERNAL_CALLS: true
NO_NETWORK_CHECKS: true
OFFLINE_MODE: true
SKIP_DEPENDENCY_CHECKS: true

Originally created by @BrianXu001 on GitHub (Dec 10, 2025). ### Self Checks - [x] I have read the [Contributing Guide](https://github.com/langgenius/dify/blob/main/CONTRIBUTING.md) and [Language Policy](https://github.com/langgenius/dify/issues/1542). - [x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [x] I confirm that I am using English to submit this report, otherwise it will be closed. - [x] 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version 1.9.2 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce <img width="1904" height="68" alt="Image" src="https://github.com/user-attachments/assets/791d5a7d-8319-48b5-828a-65de54b87b2a" /> ### ✔️ Expected Behavior generally, it may cost with several seconds. ### ❌ Actual Behavior It cost more than 10 seconds to invoke a knowledge recall. I found out a big cost when i invoke knowledge recall(like picture). It seems like a http timeout, but i can't ban the http request,i tried a few envs, but it doesn't work WEAVIATE_CLIENT_DISABLE_VERSION_CHECK: 1 DISABLE_EXTERNAL_VERSION_CHECKS: true WEAVIATE_SKIP_INIT_CHECKS: true WEAVIATE_DISABLE_READY_CHECK: true DISABLE_HTTP_CLIENT: true SKIP_PYPI_CHECK: true NO_EXTERNAL_CONNECTIONS: true DISABLE_WEAVIATE_INIT_CHECKS: true WEAVIATE_SKIP_STARTUP_CHECKS: true DISABLE_EXTERNAL_CALLS: true NO_NETWORK_CHECKS: true OFFLINE_MODE: true SKIP_DEPENDENCY_CHECKS: true
yindo added the 🤔 cant-reproduce👻 feat:rag labels 2026-02-21 20:09:54 -05:00
yindo closed this issue 2026-02-21 20:09:54 -05:00
Author
Owner

@BrianXu001 commented on GitHub (Dec 10, 2025):

My scene is internel network, can't connect to internet

@BrianXu001 commented on GitHub (Dec 10, 2025): My scene is internel network, can't connect to internet
Author
Owner

@dosubot[bot] commented on GitHub (Dec 10, 2025):

Hi @BrianXu001! I'm Dosu and I’m helping the dify team.

In an internal network with no internet access, Dify's knowledge recall can be slow because the Weaviate client always performs a readiness check (an HTTP request to /v1/.well-known/ready on your Weaviate service) during initialization. This check cannot be disabled or tuned via environment variables in the current Dify version, even if you set all the DISABLE_* and OFFLINE_* flags you mentioned. The only external HTTP request that is skipped is the PyPI version check, but the readiness probe remains mandatory and its timeout is not configurable from Dify itself (source).

To minimize delays, make sure all endpoints (Weaviate, API, etc.) use LAN IPs, Docker network hostnames, or host.docker.internal—not localhost—especially in Docker setups. Always verify connectivity from inside the container using curl to ensure there are no hidden network issues (source).

There is currently no documented way to bypass or tune the readiness check for offline/internal deployments. If this is a blocker, you may want to request a feature for configurable readiness checks or timeouts in future releases.

To reply, just mention @dosu.


How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other

Chat with Dosu Open in Cursor Join Discord Share on X

@dosubot[bot] commented on GitHub (Dec 10, 2025): <!-- Greeting --> Hi @BrianXu001! I'm [Dosu](https://go.dosu.dev/dosubot) and I’m helping the dify team. <!-- Answer --> In an internal network with no internet access, Dify's knowledge recall can be slow because the Weaviate client always performs a readiness check (an HTTP request to /v1/.well-known/ready on your Weaviate service) during initialization. This check cannot be disabled or tuned via environment variables in the current Dify version, even if you set all the DISABLE_* and OFFLINE_* flags you mentioned. The only external HTTP request that is skipped is the PyPI version check, but the readiness probe remains mandatory and its timeout is not configurable from Dify itself [(source)](https://github.com/langgenius/dify/blob/693877e5e48dcc0f3a707d56838c4d84b2a0628b/api/core/rag/datasource/vdb/weaviate/weaviate_vector.py#L82-L204). To minimize delays, make sure all endpoints (Weaviate, API, etc.) use LAN IPs, Docker network hostnames, or host.docker.internal—not localhost—especially in Docker setups. Always verify connectivity from inside the container using curl to ensure there are no hidden network issues [(source)](https://github.com/langgenius/dify-docs/issues/535). There is currently no documented way to bypass or tune the readiness check for offline/internal deployments. If this is a blocker, you may want to request a feature for configurable readiness checks or timeouts in future releases. <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/0a517381-43e7-4c53-96f7-b567f258151e?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/0a517381-43e7-4c53-96f7-b567f258151e?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/0a517381-43e7-4c53-96f7-b567f258151e?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/0a517381-43e7-4c53-96f7-b567f258151e?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/0a517381-43e7-4c53-96f7-b567f258151e?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/0a517381-43e7-4c53-96f7-b567f258151e?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/0a517381-43e7-4c53-96f7-b567f258151e?feedback_type=other)</sup> [![Chat with Dosu](https://dosu.dev/dosu-chat-badge.svg)](https://app.dosu.dev/6088a4f4-073a-43f3-b3d4-4f06fb0c05a0/ask?utm_source=github)&nbsp;[![Open in Cursor](https://dosu.dev/dosu-in-cursor.svg)](https://cursor.com/link/prompt?text=In%20an%20internal%20network%20with%20no%20internet%20access%2C%20Dify%27s%20knowledge%20recall%20can%20be%20slow%20because%20the%20Weaviate%20client%20always%20performs%20a%20readiness%20check%20%28an%20HTTP%20request%20to%20/v1/.well-known/ready%20on%20your%20Weaviate%20service%29%20during%20initialization.%20This%20check%20cannot%20be%20disabled%20or%20tuned%20via%20environment%20variables%20in%20the%20current%20Dify%20version%2C%20even%20if%20you%20set%20all%20the%20DISABLE_%2A%20and%20OFFLINE_%2A%20flags%20you%20mentioned.%20The%20only%20external%20HTTP%20request%20that%20is%20skipped%20is%20the%20PyPI%20version%20check%2C%20but%20the%20readiness%20probe%20remains%20mandatory%20and%20its%20timeout%20is%20not%20configurable%20from%20Dify%20itself%20%5B%28source%29%5D%28https%3A//github.com/langgenius/dify/blob/693877e5e48dcc0f3a707d56838c4d84b2a0628b/api/core/rag/datasource/vdb/weaviate/weaviate_vector.py%23L82-L204%29.%0A%0ATo%20minimize%20delays%2C%20make%20sure%20all%20endpoints%20%28Weaviate%2C%20API%2C%20etc.%29%20use%20LAN%20IPs%2C%20Docker%20network%20hostnames%2C%20or%20host.docker.internal%E2%80%94not%20localhost%E2%80%94especially%20in%20Docker%20setups.%20Always%20verify%20connectivity%20from%20inside%20the%20container%20using%20curl%20to%20ensure%20there%20are%20no%20hidden%20network%20issues%20%5B%28source%29%5D%28https%3A//github.com/langgenius/dify-docs/issues/535%29.%0A%0AThere%20is%20currently%20no%20documented%20way%20to%20bypass%20or%20tune%20the%20readiness%20check%20for%20offline/internal%20deployments.%20If%20this%20is%20a%20blocker%2C%20you%20may%20want%20to%20request%20a%20feature%20for%20configurable%20readiness%20checks%20or%20timeouts%20in%20future%20releases.)&nbsp;[![Join Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share on X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/langgenius/dify/issues/29444)
Author
Owner

@CHub-zn commented on GitHub (Dec 10, 2025):

Since updating to version 1.9.2, knowledge base retrieval has become much slower compared to previous versions.

@CHub-zn commented on GitHub (Dec 10, 2025): Since updating to version 1.9.2, knowledge base retrieval has become much slower compared to previous versions.
Author
Owner

@vinland100 commented on GitHub (Dec 11, 2025):

I agree, after a certain update, it became much slower than before.

But I just tested it again, and the current 1.10.1-fix1 version has restored the previous fast speed.

@vinland100 commented on GitHub (Dec 11, 2025): I agree, after a certain update, it became much slower than before. But I just tested it again, and the current 1.10.1-fix1 version has restored the previous fast speed.
Author
Owner

@BrianXu001 commented on GitHub (Dec 11, 2025):

I figure it out!

Normal situation:
Image

When can not connect to the internet:
Image

After modified, it recovers normal:
Image

Below is the change:
Image

extra_hosts:
- "pypi.org:0.0.0.0"
- "pypi.org:::0"
- "pypi.python.org:0.0.0.0"
- "files.pythonhosted.org:0.0.0.0"

@BrianXu001 commented on GitHub (Dec 11, 2025): I figure it out! Normal situation: <img width="947" height="39" alt="Image" src="https://github.com/user-attachments/assets/bc7d291c-89ee-4bf2-b709-be103fe2c3dc" /> When can not connect to the internet: <img width="945" height="27" alt="Image" src="https://github.com/user-attachments/assets/cc74aa7c-88ba-41c2-bb97-030854b76c45" /> After modified, it recovers normal: <img width="947" height="23" alt="Image" src="https://github.com/user-attachments/assets/0f985bb4-cc71-49ac-ae79-997bf9ca757b" /> Below is the change: <img width="228" height="171" alt="Image" src="https://github.com/user-attachments/assets/d7208be0-3a42-421f-b784-beaf0d1635b2" /> extra_hosts: - "pypi.org:0.0.0.0" - "pypi.org:::0" - "pypi.python.org:0.0.0.0" - "files.pythonhosted.org:0.0.0.0"
Author
Owner

@BrianXu001 commented on GitHub (Dec 11, 2025):

@crazywoola

@BrianXu001 commented on GitHub (Dec 11, 2025): @crazywoola
Author
Owner

@CHub-zn commented on GitHub (Dec 11, 2025):

I figure it out!

Normal situation: Image

When can not connect to the internet: Image

After modified, it recovers normal: Image

Below is the change: Image

extra_hosts: - "pypi.org:0.0.0.0" - "pypi.org:::0" - "pypi.python.org:0.0.0.0" - "files.pythonhosted.org:0.0.0.0"

If your slow retrieval is caused by the PyPI version check, you can upgrade to a newer version—this issue has been officially fixed by disabling the automatic version check.

@CHub-zn commented on GitHub (Dec 11, 2025): > I figure it out! > > Normal situation: <img alt="Image" width="947" height="39" src="https://private-user-images.githubusercontent.com/16949176/525251788-bc7d291c-89ee-4bf2-b709-be103fe2c3dc.PNG?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NjU0NDEwMTMsIm5iZiI6MTc2NTQ0MDcxMywicGF0aCI6Ii8xNjk0OTE3Ni81MjUyNTE3ODgtYmM3ZDI5MWMtODllZS00YmYyLWI3MDktYmUxMDNmZTJjM2RjLlBORz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTEyMTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUxMjExVDA4MTE1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTY4ODU4ZDYyMDM3N2VhYzEyZWI4OGRlOTU3NzRhYzFkY2FjNzJiZDIzNzA2NWRmYjJjMDJmYzNlMjk3Y2ViMDYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.G4rmaXSmVLoAsSjnWzIs4sbGvts8sDuSJh_SB0CxLP8"> > > When can not connect to the internet: <img alt="Image" width="945" height="27" src="https://private-user-images.githubusercontent.com/16949176/525252151-cc74aa7c-88ba-41c2-bb97-030854b76c45.PNG?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NjU0NDEwMTMsIm5iZiI6MTc2NTQ0MDcxMywicGF0aCI6Ii8xNjk0OTE3Ni81MjUyNTIxNTEtY2M3NGFhN2MtODhiYS00MWMyLWJiOTctMDMwODU0Yjc2YzQ1LlBORz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTEyMTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUxMjExVDA4MTE1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTIwMDg0NDI0YjEzM2QwNGM1MTAzN2M3OGNiMjgyZWQ3N2Q5OTQ2ZjI2MTk3OTEyZmRmMjcyNjIyOTVjYTljMDUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.Y5nKTFkeD7mIN1zvIGLU_yDl_rhpAOBYRUY2EaQ4d_U"> > > After modified, it recovers normal: <img alt="Image" width="947" height="23" src="https://private-user-images.githubusercontent.com/16949176/525252613-0f985bb4-cc71-49ac-ae79-997bf9ca757b.PNG?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NjU0NDEwMTMsIm5iZiI6MTc2NTQ0MDcxMywicGF0aCI6Ii8xNjk0OTE3Ni81MjUyNTI2MTMtMGY5ODViYjQtY2M3MS00OWFjLWFlNzktOTk3YmY5Y2E3NTdiLlBORz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTEyMTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUxMjExVDA4MTE1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTI5OWJiN2NmYmU2MjQxYzAxMzFjOTk4YzUyZjBlOTU0ODM2ZGVlNTlkNDUzNzU5NDQwMzBmYmEyMzY2Y2M4YTkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.6ZRS6FXOCqewIXgEhtL20W4SmZL_dKcxBrrHLErSM2s"> > > Below is the change: <img alt="Image" width="228" height="171" src="https://private-user-images.githubusercontent.com/16949176/525253952-d7208be0-3a42-421f-b784-beaf0d1635b2.PNG?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NjU0NDEwMTMsIm5iZiI6MTc2NTQ0MDcxMywicGF0aCI6Ii8xNjk0OTE3Ni81MjUyNTM5NTItZDcyMDhiZTAtM2E0Mi00MjFmLWI3ODQtYmVhZjBkMTYzNWIyLlBORz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTEyMTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUxMjExVDA4MTE1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTk3NGQzYTlmNjY0ZTljNjgwZWY2ZTY4NjIxODE5NjAyZTVmNGNlNGFkN2RlMzc1YjRjOTllNmQ1Yzk4MWE4OWImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.DARlMEMZ7JDXpZjii43o_l5qh3gHiWO05NoUDLpLZFk"> > > extra_hosts: - "pypi.org:0.0.0.0" - "pypi.org:::0" - "pypi.python.org:0.0.0.0" - "files.pythonhosted.org:0.0.0.0" If your slow retrieval is caused by the PyPI version check, you can upgrade to a newer version—this issue has been officially fixed by disabling the automatic version check.
Author
Owner

@BrianXu001 commented on GitHub (Dec 11, 2025):

I figure it out!
Normal situation: Image
When can not connect to the internet: Image
After modified, it recovers normal: Image
Below is the change: Image
extra_hosts: - "pypi.org:0.0.0.0" - "pypi.org:::0" - "pypi.python.org:0.0.0.0" - "files.pythonhosted.org:0.0.0.0"

If your slow retrieval is caused by the PyPI version check, you can upgrade to a newer version—this issue has been officially fixed by disabling the automatic version check.

In fact, Our production version is older. Upgrade is not the best option to us.

@BrianXu001 commented on GitHub (Dec 11, 2025): > > I figure it out! > > Normal situation: <img alt="Image" width="947" height="39" src="https://private-user-images.githubusercontent.com/16949176/525251788-bc7d291c-89ee-4bf2-b709-be103fe2c3dc.PNG?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NjU0NDEwMTMsIm5iZiI6MTc2NTQ0MDcxMywicGF0aCI6Ii8xNjk0OTE3Ni81MjUyNTE3ODgtYmM3ZDI5MWMtODllZS00YmYyLWI3MDktYmUxMDNmZTJjM2RjLlBORz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTEyMTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUxMjExVDA4MTE1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTY4ODU4ZDYyMDM3N2VhYzEyZWI4OGRlOTU3NzRhYzFkY2FjNzJiZDIzNzA2NWRmYjJjMDJmYzNlMjk3Y2ViMDYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.G4rmaXSmVLoAsSjnWzIs4sbGvts8sDuSJh_SB0CxLP8"> > > When can not connect to the internet: <img alt="Image" width="945" height="27" src="https://private-user-images.githubusercontent.com/16949176/525252151-cc74aa7c-88ba-41c2-bb97-030854b76c45.PNG?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NjU0NDEwMTMsIm5iZiI6MTc2NTQ0MDcxMywicGF0aCI6Ii8xNjk0OTE3Ni81MjUyNTIxNTEtY2M3NGFhN2MtODhiYS00MWMyLWJiOTctMDMwODU0Yjc2YzQ1LlBORz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTEyMTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUxMjExVDA4MTE1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTIwMDg0NDI0YjEzM2QwNGM1MTAzN2M3OGNiMjgyZWQ3N2Q5OTQ2ZjI2MTk3OTEyZmRmMjcyNjIyOTVjYTljMDUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.Y5nKTFkeD7mIN1zvIGLU_yDl_rhpAOBYRUY2EaQ4d_U"> > > After modified, it recovers normal: <img alt="Image" width="947" height="23" src="https://private-user-images.githubusercontent.com/16949176/525252613-0f985bb4-cc71-49ac-ae79-997bf9ca757b.PNG?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NjU0NDEwMTMsIm5iZiI6MTc2NTQ0MDcxMywicGF0aCI6Ii8xNjk0OTE3Ni81MjUyNTI2MTMtMGY5ODViYjQtY2M3MS00OWFjLWFlNzktOTk3YmY5Y2E3NTdiLlBORz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTEyMTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUxMjExVDA4MTE1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTI5OWJiN2NmYmU2MjQxYzAxMzFjOTk4YzUyZjBlOTU0ODM2ZGVlNTlkNDUzNzU5NDQwMzBmYmEyMzY2Y2M4YTkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.6ZRS6FXOCqewIXgEhtL20W4SmZL_dKcxBrrHLErSM2s"> > > Below is the change: <img alt="Image" width="228" height="171" src="https://private-user-images.githubusercontent.com/16949176/525253952-d7208be0-3a42-421f-b784-beaf0d1635b2.PNG?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NjU0NDEwMTMsIm5iZiI6MTc2NTQ0MDcxMywicGF0aCI6Ii8xNjk0OTE3Ni81MjUyNTM5NTItZDcyMDhiZTAtM2E0Mi00MjFmLWI3ODQtYmVhZjBkMTYzNWIyLlBORz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTEyMTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUxMjExVDA4MTE1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTk3NGQzYTlmNjY0ZTljNjgwZWY2ZTY4NjIxODE5NjAyZTVmNGNlNGFkN2RlMzc1YjRjOTllNmQ1Yzk4MWE4OWImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.DARlMEMZ7JDXpZjii43o_l5qh3gHiWO05NoUDLpLZFk"> > > extra_hosts: - "pypi.org:0.0.0.0" - "pypi.org:::0" - "pypi.python.org:0.0.0.0" - "files.pythonhosted.org:0.0.0.0" > > If your slow retrieval is caused by the PyPI version check, you can upgrade to a newer version—this issue has been officially fixed by disabling the automatic version check. In fact, Our production version is older. Upgrade is not the best option to us.
Author
Owner

@blackcatcjy commented on GitHub (Dec 25, 2025):

I figure it out!

Normal situation: Image

When can not connect to the internet: Image

After modified, it recovers normal: Image

Below is the change: Image

extra_hosts: - "pypi.org:0.0.0.0" - "pypi.org:::0" - "pypi.python.org:0.0.0.0" - "files.pythonhosted.org:0.0.0.0"

it doesn't work in my enviroment。

dify version is 1.7.1 , and it doesn't ouput the same detial messages like you post in my enviroment.

@blackcatcjy commented on GitHub (Dec 25, 2025): > I figure it out! > > Normal situation: <img alt="Image" width="947" height="39" src="https://private-user-images.githubusercontent.com/16949176/525251788-bc7d291c-89ee-4bf2-b709-be103fe2c3dc.PNG?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NjY3MTY1MjMsIm5iZiI6MTc2NjcxNjIyMywicGF0aCI6Ii8xNjk0OTE3Ni81MjUyNTE3ODgtYmM3ZDI5MWMtODllZS00YmYyLWI3MDktYmUxMDNmZTJjM2RjLlBORz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTEyMjYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUxMjI2VDAyMzAyM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTExNWQwMGYzOWI5YzlhZDQ5ZjcwZTM3ODRhYjM0MmU3MTgyZDQyZTZlN2QyMWNiYWM5NGZkZjVkZDU2Y2Q2YjMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.DRJMg44_KuJdP3v6_WZ4UkdDfvBlMyFw6EWOpoNeAzQ"> > > When can not connect to the internet: <img alt="Image" width="945" height="27" src="https://private-user-images.githubusercontent.com/16949176/525252151-cc74aa7c-88ba-41c2-bb97-030854b76c45.PNG?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NjY3MTY1MjMsIm5iZiI6MTc2NjcxNjIyMywicGF0aCI6Ii8xNjk0OTE3Ni81MjUyNTIxNTEtY2M3NGFhN2MtODhiYS00MWMyLWJiOTctMDMwODU0Yjc2YzQ1LlBORz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTEyMjYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUxMjI2VDAyMzAyM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTNhNTM3Mzc2NjEyYTNkNzJlYTQ4N2NiZGNkMTNiZWMxNThmMDFmMjg5NjYwZWY2M2QxNjdlNjdjMzQ3ZDMwYzcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.OgwYe37B8zqyDtcAnIFRtkahUqDEkp7WQz65jHSv1Ac"> > > After modified, it recovers normal: <img alt="Image" width="947" height="23" src="https://private-user-images.githubusercontent.com/16949176/525252613-0f985bb4-cc71-49ac-ae79-997bf9ca757b.PNG?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NjY3MTY1MjMsIm5iZiI6MTc2NjcxNjIyMywicGF0aCI6Ii8xNjk0OTE3Ni81MjUyNTI2MTMtMGY5ODViYjQtY2M3MS00OWFjLWFlNzktOTk3YmY5Y2E3NTdiLlBORz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTEyMjYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUxMjI2VDAyMzAyM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTliYjE2MjY2M2E3NTFkNTk2NWNiNTY1ZjZmNzY0YzdjYWJiODI1OGY0ODQ1MTYzN2Q4ZDgyNDlkN2Y1YjRjNzMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.tGeR-vOxgaZqkaYzF0bHKa-ZdWOiEwx4NwE_EMElHqE"> > > Below is the change: <img alt="Image" width="228" height="171" src="https://private-user-images.githubusercontent.com/16949176/525253952-d7208be0-3a42-421f-b784-beaf0d1635b2.PNG?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NjY3MTY1MjMsIm5iZiI6MTc2NjcxNjIyMywicGF0aCI6Ii8xNjk0OTE3Ni81MjUyNTM5NTItZDcyMDhiZTAtM2E0Mi00MjFmLWI3ODQtYmVhZjBkMTYzNWIyLlBORz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTEyMjYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUxMjI2VDAyMzAyM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWMzMmY4YWI1MTRhMTJlNzY0MmE4OWY5MjI0NTlmMWM3Y2Q3YmJkODhjNTMxZDI3MzIyNDUzMGI4MmUxYzJjNWImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.szIJIRhPQ1WuiExWtY1JEAiJ7EM4AlwkX1oKre3OTTE"> > > extra_hosts: - "pypi.org:0.0.0.0" - "pypi.org:::0" - "pypi.python.org:0.0.0.0" - "files.pythonhosted.org:0.0.0.0" it doesn't work in my enviroment。 dify version is 1.7.1 , and it doesn't ouput the same detial messages like you post in my enviroment.
Author
Owner

@blackcatcjy commented on GitHub (Dec 25, 2025):

I figure it out!
Normal situation: Image
When can not connect to the internet: Image
After modified, it recovers normal: Image
Below is the change: Image
extra_hosts: - "pypi.org:0.0.0.0" - "pypi.org:::0" - "pypi.python.org:0.0.0.0" - "files.pythonhosted.org:0.0.0.0"

it doesn't work in my enviroment。

dify version is 1.7.1 , and it doesn't ouput the same detial messages like you post in my enviroment.

oh, it works, I lost 's' in extra_hosts。 hahhaha

@blackcatcjy commented on GitHub (Dec 25, 2025): > > I figure it out! > > Normal situation: <img alt="Image" width="947" height="39" src="https://private-user-images.githubusercontent.com/16949176/525251788-bc7d291c-89ee-4bf2-b709-be103fe2c3dc.PNG?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NjY3MTY1MjMsIm5iZiI6MTc2NjcxNjIyMywicGF0aCI6Ii8xNjk0OTE3Ni81MjUyNTE3ODgtYmM3ZDI5MWMtODllZS00YmYyLWI3MDktYmUxMDNmZTJjM2RjLlBORz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTEyMjYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUxMjI2VDAyMzAyM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTExNWQwMGYzOWI5YzlhZDQ5ZjcwZTM3ODRhYjM0MmU3MTgyZDQyZTZlN2QyMWNiYWM5NGZkZjVkZDU2Y2Q2YjMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.DRJMg44_KuJdP3v6_WZ4UkdDfvBlMyFw6EWOpoNeAzQ"> > > When can not connect to the internet: <img alt="Image" width="945" height="27" src="https://private-user-images.githubusercontent.com/16949176/525252151-cc74aa7c-88ba-41c2-bb97-030854b76c45.PNG?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NjY3MTY1MjMsIm5iZiI6MTc2NjcxNjIyMywicGF0aCI6Ii8xNjk0OTE3Ni81MjUyNTIxNTEtY2M3NGFhN2MtODhiYS00MWMyLWJiOTctMDMwODU0Yjc2YzQ1LlBORz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTEyMjYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUxMjI2VDAyMzAyM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTNhNTM3Mzc2NjEyYTNkNzJlYTQ4N2NiZGNkMTNiZWMxNThmMDFmMjg5NjYwZWY2M2QxNjdlNjdjMzQ3ZDMwYzcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.OgwYe37B8zqyDtcAnIFRtkahUqDEkp7WQz65jHSv1Ac"> > > After modified, it recovers normal: <img alt="Image" width="947" height="23" src="https://private-user-images.githubusercontent.com/16949176/525252613-0f985bb4-cc71-49ac-ae79-997bf9ca757b.PNG?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NjY3MTY1MjMsIm5iZiI6MTc2NjcxNjIyMywicGF0aCI6Ii8xNjk0OTE3Ni81MjUyNTI2MTMtMGY5ODViYjQtY2M3MS00OWFjLWFlNzktOTk3YmY5Y2E3NTdiLlBORz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTEyMjYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUxMjI2VDAyMzAyM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTliYjE2MjY2M2E3NTFkNTk2NWNiNTY1ZjZmNzY0YzdjYWJiODI1OGY0ODQ1MTYzN2Q4ZDgyNDlkN2Y1YjRjNzMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.tGeR-vOxgaZqkaYzF0bHKa-ZdWOiEwx4NwE_EMElHqE"> > > Below is the change: <img alt="Image" width="228" height="171" src="https://private-user-images.githubusercontent.com/16949176/525253952-d7208be0-3a42-421f-b784-beaf0d1635b2.PNG?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NjY3MTY1MjMsIm5iZiI6MTc2NjcxNjIyMywicGF0aCI6Ii8xNjk0OTE3Ni81MjUyNTM5NTItZDcyMDhiZTAtM2E0Mi00MjFmLWI3ODQtYmVhZjBkMTYzNWIyLlBORz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTEyMjYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUxMjI2VDAyMzAyM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWMzMmY4YWI1MTRhMTJlNzY0MmE4OWY5MjI0NTlmMWM3Y2Q3YmJkODhjNTMxZDI3MzIyNDUzMGI4MmUxYzJjNWImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.szIJIRhPQ1WuiExWtY1JEAiJ7EM4AlwkX1oKre3OTTE"> > > extra_hosts: - "pypi.org:0.0.0.0" - "pypi.org:::0" - "pypi.python.org:0.0.0.0" - "files.pythonhosted.org:0.0.0.0" > > it doesn't work in my enviroment。 > > dify version is 1.7.1 , and it doesn't ouput the same detial messages like you post in my enviroment. oh, it works, I lost 's' in extra_hosts。 hahhaha
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#20945