Jina plugin invoke error #565

Closed
opened 2026-02-16 10:19:45 -05:00 by yindo · 11 comments
Owner

Originally created by @qadeerikram-art on GitHub (Aug 19, 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.7.0

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

I have workflow where i am getting data from knowledgebase when doing chat with chatbot. when i do chat with chatbot sometime it give me this error Jina plugin invoke error.

Image

✔️ Expected Behavior

There should not be any error

Actual Behavior

Getting error I have workflow where i am getting data from knowledgebase when doing chat with chatbot. when i do chat with chatbot sometime it give me this error Jina plugin invoke error.

Image
Originally created by @qadeerikram-art on GitHub (Aug 19, 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.7.0 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce I have workflow where i am getting data from knowledgebase when doing chat with chatbot. when i do chat with chatbot sometime it give me this error Jina plugin invoke error. <img width="1514" height="922" alt="Image" src="https://github.com/user-attachments/assets/c135c1de-fc8c-4267-bb37-ae27f278cb3f" /> ### ✔️ Expected Behavior There should not be any error ### ❌ Actual Behavior Getting error I have workflow where i am getting data from knowledgebase when doing chat with chatbot. when i do chat with chatbot sometime it give me this error Jina plugin invoke error. <img width="1514" height="922" alt="Image" src="https://github.com/user-attachments/assets/4562a71c-3b67-4f1c-a2eb-39968f0f0aba" />
yindo added the bug label 2026-02-16 10:19:45 -05:00
yindo closed this issue 2026-02-16 10:19:45 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Aug 19, 2025):

A "Jina plugin invoke error" with a 403 Forbidden from the Jina API almost always points to an authentication or permission issue with your Jina API key or account configuration. In self-hosted Docker setups, this can also be caused by misconfigured environment variables or plugin settings. Double-check that your Jina API key is valid, has the necessary permissions, and is correctly set in the Dify plugin configuration UI. Make sure any required environment variables (like endpoint URLs) are set in your Docker .env file and that the containers have been restarted after changes. Similar issues in other plugins have been resolved by correcting API keys or environment variables and ensuring the correct protocol (http/https) is used in URLs. If the problem persists, enable debug logging in your Dify and Jina containers to capture more detailed error messages for further diagnosis. More details on error handling and troubleshooting can be found here and here.

To reply, just mention @dosu.


How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other  Chat with Dosu Join Discord Share on X

@dosubot[bot] commented on GitHub (Aug 19, 2025): <!-- Answer --> A "Jina plugin invoke error" with a 403 Forbidden from the Jina API almost always points to an authentication or permission issue with your Jina API key or account configuration. In self-hosted Docker setups, this can also be caused by misconfigured environment variables or plugin settings. Double-check that your Jina API key is valid, has the necessary permissions, and is correctly set in the Dify plugin configuration UI. Make sure any required environment variables (like endpoint URLs) are set in your Docker `.env` file and that the containers have been restarted after changes. Similar issues in other plugins have been resolved by correcting API keys or environment variables and ensuring the correct protocol (http/https) is used in URLs. If the problem persists, enable debug logging in your Dify and Jina containers to capture more detailed error messages for further diagnosis. More details on error handling and troubleshooting can be found [here](https://github.com/langgenius/dify-official-plugins/issues/571) and [here](https://github.com/langgenius/dify-official-plugins/issues/387). <!-- 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/28813244-49de-46e3-8339-7c0397c63b5f?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/28813244-49de-46e3-8339-7c0397c63b5f?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/28813244-49de-46e3-8339-7c0397c63b5f?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/28813244-49de-46e3-8339-7c0397c63b5f?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/28813244-49de-46e3-8339-7c0397c63b5f?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/28813244-49de-46e3-8339-7c0397c63b5f?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/28813244-49de-46e3-8339-7c0397c63b5f?feedback_type=other)</sup>&nbsp;&nbsp;[![Chat with Dosu](https://dosu.dev/dosu-chat-badge.svg)](https://app.dosu.dev/6088a4f4-073a-43f3-b3d4-4f06fb0c05a0/ask?utm_source=github)&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/24155)
Author
Owner

@qadeerikram-art commented on GitHub (Aug 19, 2025):

What kind of jina configurations ? Jina key is valid that's why it's working otherwise it won't let me even do single chat. Earlier i was using 0.15 and now i have upgraded to 1.7.0. After upgrading its giving error and its random error. what i have to check in docker env or in jina configuration ?

@qadeerikram-art commented on GitHub (Aug 19, 2025): What kind of jina configurations ? Jina key is valid that's why it's working otherwise it won't let me even do single chat. Earlier i was using 0.15 and now i have upgraded to 1.7.0. After upgrading its giving error and its random error. what i have to check in docker env or in jina configuration ?
Author
Owner

@dosubot[bot] commented on GitHub (Aug 19, 2025):

After upgrading to Dify 1.7.0, there are a few key things to check for Jina plugin stability:

  1. ENABLE_WEBSITE_JINAREADER: Make sure this environment variable is set to true in your .env and Docker config. It's required for Jina-based knowledge retrieval to work in 1.7.0. If it's missing or false, you can get random plugin errors.
  2. Provider Naming Migration: Dify 1.7.0 changed how Jina providers are referenced. What used to be "jina" is now "jinareader" or "langgenius/jina_tool/jina". If your database still has old provider names, you may see intermittent errors. Running the migration script updates these entries—if you skipped this, some KB nodes may still use the old format and fail randomly.
    See migration logic
  3. Jina API Key Placement: The API key must be set in both the system model provider and the tool's config page. Dify expects the key in config.api_key and uses Bearer authentication.
    See details
  4. SSRF Proxy Configuration: If you use Docker's SSRF proxy, make sure r.jina.ai is allowed in docker/ssrf_proxy/squid.conf.template. If blocked, you can get 403 errors even with a valid key.
    See SSRF proxy config advice
  5. Timeouts and Network: If you see timeouts, increase SSRF_DEFAULT_TIME_OUT and HTTP_REQUEST_MAX_CONNECT_TIMEOUT in your .env (e.g., set to 600).
    See timeout advice

If you still get random 403 errors after checking these, it's likely a migration or config propagation issue. Double-check your provider names in the DB, confirm the environment variable is set everywhere, and ensure the SSRF proxy isn't blocking Jina. Restart your containers after making changes.

To reply, just mention @dosu.


How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other  Chat with Dosu Join Discord Share on X

@dosubot[bot] commented on GitHub (Aug 19, 2025): <!-- Answer --> After upgrading to Dify 1.7.0, there are a few key things to check for Jina plugin stability: 1. **ENABLE_WEBSITE_JINAREADER**: Make sure this environment variable is set to `true` in your `.env` and Docker config. It's required for Jina-based knowledge retrieval to work in 1.7.0. If it's missing or false, you can get random plugin errors. 2. **Provider Naming Migration**: Dify 1.7.0 changed how Jina providers are referenced. What used to be `"jina"` is now `"jinareader"` or `"langgenius/jina_tool/jina"`. If your database still has old provider names, you may see intermittent errors. Running the migration script updates these entries—if you skipped this, some KB nodes may still use the old format and fail randomly. [See migration logic](https://github.com/langgenius/dify/blob/70da81d0e5133bcf9d867385c5927b9f61432619/api/services/plugin/data_migration.py) 3. **Jina API Key Placement**: The API key must be set in both the system model provider and the tool's config page. Dify expects the key in `config.api_key` and uses Bearer authentication. [See details](https://github.com/langgenius/dify/issues/13608) 4. **SSRF Proxy Configuration**: If you use Docker's SSRF proxy, make sure `r.jina.ai` is allowed in `docker/ssrf_proxy/squid.conf.template`. If blocked, you can get 403 errors even with a valid key. [See SSRF proxy config advice](https://github.com/langgenius/dify/issues/12575) 5. **Timeouts and Network**: If you see timeouts, increase `SSRF_DEFAULT_TIME_OUT` and `HTTP_REQUEST_MAX_CONNECT_TIMEOUT` in your `.env` (e.g., set to `600`). [See timeout advice](https://github.com/langgenius/dify/issues/12754) If you still get random 403 errors after checking these, it's likely a migration or config propagation issue. Double-check your provider names in the DB, confirm the environment variable is set everywhere, and ensure the SSRF proxy isn't blocking Jina. Restart your containers after making changes. <!-- 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/99d904ae-22b8-48ff-b822-9b8a410f3dc4?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/99d904ae-22b8-48ff-b822-9b8a410f3dc4?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/99d904ae-22b8-48ff-b822-9b8a410f3dc4?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/99d904ae-22b8-48ff-b822-9b8a410f3dc4?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/99d904ae-22b8-48ff-b822-9b8a410f3dc4?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/99d904ae-22b8-48ff-b822-9b8a410f3dc4?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/99d904ae-22b8-48ff-b822-9b8a410f3dc4?feedback_type=other)</sup>&nbsp;&nbsp;[![Chat with Dosu](https://dosu.dev/dosu-chat-badge.svg)](https://app.dosu.dev/6088a4f4-073a-43f3-b3d4-4f06fb0c05a0/ask?utm_source=github)&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/24155)
Author
Owner

@qadeerikram-art commented on GitHub (Aug 19, 2025):

ENABLE_WEBSITE_JINAREADER is true in env and no other keys are available. how to run migration to change jina to jinareader ? Could it be because of something else ? while running locally i am also getting this error
Run failed: [jina] Error: PluginInvokeError: {"args":{"description":"[models] Error: Client error '403 Forbidden' for url 'https://api.jina.ai/v1/rerank'\nFor more information check: [https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403"},"error_type":"InvokeError","message":"models] Error: Client error '403 Forbidden' for url 'https://api.jina.ai/v1/rerank'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403"}

@qadeerikram-art commented on GitHub (Aug 19, 2025): ENABLE_WEBSITE_JINAREADER is true in env and no other keys are available. how to run migration to change jina to jinareader ? Could it be because of something else ? while running locally i am also getting this error Run failed: [jina] Error: PluginInvokeError: {"args":{"description":"[models] Error: Client error '403 Forbidden' for url '[https://api.jina.ai/v1/rerank'\nFor](https://api.jina.ai/v1/rerank'%5CnFor) more information check: [https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403"},"error_type":"InvokeError","message":"[models](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403%22%7D,%22error_type%22:%22InvokeError%22,%22message%22:%22%5Bmodels)] Error: Client error '403 Forbidden' for url '[https://api.jina.ai/v1/rerank'\nFor](https://api.jina.ai/v1/rerank'%5CnFor) more information check: [https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403"}](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403%22%7D)
Author
Owner

@dosubot[bot] commented on GitHub (Aug 19, 2025):

The "Jina plugin invoke error" with a 403 Forbidden from the Jina AI API in Dify (self-hosted Docker) is most often caused by one of these issues: an invalid or missing Jina API key, SSRF proxy blocking access to Jina endpoints, or network/configuration problems in Docker.

Here's a quick troubleshooting checklist:

  1. Check your Jina API key: Make sure the API key is set correctly in your Dify plugin configuration and has the right permissions. The key is sent as a Bearer token in the Authorization header—if it's missing or invalid, you'll get a 403 error. See how the key is handled in the code.

  2. Review SSRF proxy config: In Docker, all external API calls (including to Jina) go through the SSRF proxy (Squid). If the proxy blocks r.jina.ai or api.jina.ai, you'll get a 403. Update docker/ssrf_proxy/squid.conf.template to allow access to these endpoints. More on this here.

  3. Increase timeouts: The default SSRF proxy timeouts (5 seconds) may be too low. Set SSRF_DEFAULT_TIME_OUT and HTTP_REQUEST_MAX_CONNECT_TIMEOUT to higher values (e.g., 600) in your .env file. Dify does not use .env.example automatically—you must set these manually. Details here.

  4. Network access: Make sure your Docker containers can reach Jina's API endpoints. If your network restricts outbound traffic, plugin calls will fail.

  5. Enable debug logging: Set LOG_LEVEL=DEBUG and optionally LOG_FILE in your .env to get more detailed logs. Check plugin daemon logs for the actual error returned by Jina.

Recent Dify versions improved error messaging for plugin invocation errors, but the root cause (auth/network/config) must be fixed in your environment for the plugin to work see PR #22908.

If you update these configs and still see the error, check the logs for the exact response from Jina—sometimes the error message will tell you if it's a key, permission, or rate limit issue.

To reply, just mention @dosu.


How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other  Join Discord Share on X

@dosubot[bot] commented on GitHub (Aug 19, 2025): <!-- Answer --> The "Jina plugin invoke error" with a 403 Forbidden from the Jina AI API in Dify (self-hosted Docker) is most often caused by one of these issues: an invalid or missing Jina API key, SSRF proxy blocking access to Jina endpoints, or network/configuration problems in Docker. Here's a quick troubleshooting checklist: 1. **Check your Jina API key**: Make sure the API key is set correctly in your Dify plugin configuration and has the right permissions. The key is sent as a Bearer token in the Authorization header—if it's missing or invalid, you'll get a 403 error. See how the key is handled [in the code](https://github.com/langgenius/dify/blob/5f0b52c017076ac2f50b43fff272577cae5c4089/api/services/auth/jina/jina.py). 2. **Review SSRF proxy config**: In Docker, all external API calls (including to Jina) go through the SSRF proxy (Squid). If the proxy blocks `r.jina.ai` or `api.jina.ai`, you'll get a 403. Update `docker/ssrf_proxy/squid.conf.template` to allow access to these endpoints. More on this [here](https://github.com/langgenius/dify/issues/12575). 3. **Increase timeouts**: The default SSRF proxy timeouts (5 seconds) may be too low. Set `SSRF_DEFAULT_TIME_OUT` and `HTTP_REQUEST_MAX_CONNECT_TIMEOUT` to higher values (e.g., 600) in your `.env` file. Dify does not use `.env.example` automatically—you must set these manually. Details [here](https://github.com/langgenius/dify/issues/12754). 4. **Network access**: Make sure your Docker containers can reach Jina's API endpoints. If your network restricts outbound traffic, plugin calls will fail. 5. **Enable debug logging**: Set `LOG_LEVEL=DEBUG` and optionally `LOG_FILE` in your `.env` to get more detailed logs. Check plugin daemon logs for the actual error returned by Jina. Recent Dify versions improved error messaging for plugin invocation errors, but the root cause (auth/network/config) must be fixed in your environment for the plugin to work [see PR #22908](https://github.com/langgenius/dify/pull/22908). If you update these configs and still see the error, check the logs for the exact response from Jina—sometimes the error message will tell you if it's a key, permission, or rate limit issue. <!-- 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/d07e26e6-1a70-4f12-8465-c8cd8b421beb?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/d07e26e6-1a70-4f12-8465-c8cd8b421beb?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/d07e26e6-1a70-4f12-8465-c8cd8b421beb?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/d07e26e6-1a70-4f12-8465-c8cd8b421beb?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/d07e26e6-1a70-4f12-8465-c8cd8b421beb?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/d07e26e6-1a70-4f12-8465-c8cd8b421beb?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/d07e26e6-1a70-4f12-8465-c8cd8b421beb?feedback_type=other)</sup>&nbsp;&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-official-plugins/issues/1528)
Author
Owner

@qadeerikram-art commented on GitHub (Aug 19, 2025):

What's the solution here ?
@dosu

@qadeerikram-art commented on GitHub (Aug 19, 2025): What's the solution here ? @dosu
Author
Owner

@dosubot[bot] commented on GitHub (Aug 19, 2025):

The 403 Forbidden "Jina plugin invoke error" in Dify is almost always caused by one of these: an invalid or missing Jina API key, SSRF proxy (Squid) blocking access to Jina endpoints, network restrictions, or too-short timeouts. Here’s how to solve it:

  1. Double-check your Jina API key in the Dify plugin config. It must be present, valid, and have the right permissions. If the key is missing or wrong, you’ll get a 403 error. The key is sent as a Bearer token in the Authorization header—see how it’s handled in the code here.

  2. Make sure your Docker SSRF proxy (Squid) allows outbound traffic to r.jina.ai and api.jina.ai. If not, you’ll get a 403. Update docker/ssrf_proxy/squid.conf.template to allow these endpoints.

  3. Set SSRF_DEFAULT_TIME_OUT and HTTP_REQUEST_MAX_CONNECT_TIMEOUT to higher values (like 600) in your .env file. Dify doesn’t use .env.example automatically—you must set these manually.

  4. Ensure your Docker containers can reach Jina’s API endpoints. If your network restricts outbound traffic, plugin calls will fail.

  5. Set LOG_LEVEL=DEBUG and (optionally) LOG_FILE in your .env to get detailed logs. Check the plugin daemon logs for the actual error from Jina—sometimes the error message will tell you if it’s a key, permission, or rate limit issue.

  6. After making changes, restart your Docker containers to apply the new settings.

If you still see the error, check the plugin daemon logs for the exact response from Jina. The error details will usually point to the root cause—invalid key, permission denied, or network block. Recent Dify versions improved error messaging for plugin invocation errors, so the logs should be more helpful now see PR #22908.

To reply, just mention @dosu.


How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other  Join Discord Share on X

@dosubot[bot] commented on GitHub (Aug 19, 2025): <!-- Answer --> The 403 Forbidden "Jina plugin invoke error" in Dify is almost always caused by one of these: an invalid or missing Jina API key, SSRF proxy (Squid) blocking access to Jina endpoints, network restrictions, or too-short timeouts. Here’s how to solve it: 1. Double-check your Jina API key in the Dify plugin config. It must be present, valid, and have the right permissions. If the key is missing or wrong, you’ll get a 403 error. The key is sent as a Bearer token in the Authorization header—see how it’s handled in the code [here](https://github.com/langgenius/dify/blob/5f0b52c017076ac2f50b43fff272577cae5c4089/api/services/auth/jina/jina.py). 2. Make sure your Docker SSRF proxy (Squid) allows outbound traffic to `r.jina.ai` and `api.jina.ai`. If not, you’ll get a 403. Update `docker/ssrf_proxy/squid.conf.template` to allow these endpoints. 3. Set `SSRF_DEFAULT_TIME_OUT` and `HTTP_REQUEST_MAX_CONNECT_TIMEOUT` to higher values (like 600) in your `.env` file. Dify doesn’t use `.env.example` automatically—you must set these manually. 4. Ensure your Docker containers can reach Jina’s API endpoints. If your network restricts outbound traffic, plugin calls will fail. 5. Set `LOG_LEVEL=DEBUG` and (optionally) `LOG_FILE` in your `.env` to get detailed logs. Check the plugin daemon logs for the actual error from Jina—sometimes the error message will tell you if it’s a key, permission, or rate limit issue. 6. After making changes, restart your Docker containers to apply the new settings. If you still see the error, check the plugin daemon logs for the exact response from Jina. The error details will usually point to the root cause—invalid key, permission denied, or network block. Recent Dify versions improved error messaging for plugin invocation errors, so the logs should be more helpful now [see PR #22908](https://github.com/langgenius/dify/pull/22908). <!-- 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/208c902b-fdea-49a4-a651-cbbf3006ab0d?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/208c902b-fdea-49a4-a651-cbbf3006ab0d?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/208c902b-fdea-49a4-a651-cbbf3006ab0d?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/208c902b-fdea-49a4-a651-cbbf3006ab0d?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/208c902b-fdea-49a4-a651-cbbf3006ab0d?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/208c902b-fdea-49a4-a651-cbbf3006ab0d?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/208c902b-fdea-49a4-a651-cbbf3006ab0d?feedback_type=other)</sup>&nbsp;&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-official-plugins/issues/1528)
Author
Owner

@qadeerikram-art commented on GitHub (Aug 19, 2025):

ENABLE_WEBSITE_JINAREADER is true. what if i set it to false ? there is no SSRF_DEFAULT_TIME_OUT and HTTP_REQUEST_MAX_CONNECT_TIMEOUT variable in env. how to view log file locally ?
@dosu

@qadeerikram-art commented on GitHub (Aug 19, 2025): ENABLE_WEBSITE_JINAREADER is true. what if i set it to false ? there is no SSRF_DEFAULT_TIME_OUT and HTTP_REQUEST_MAX_CONNECT_TIMEOUT variable in env. how to view log file locally ? @dosu
Author
Owner

@dosubot[bot] commented on GitHub (Aug 19, 2025):

If you set ENABLE_WEBSITE_JINAREADER to false, the Jina Reader option will disappear from the website data source UI and "sync from website" via Jina will be disabled. In Dify 1.7.0, this flag must be true for Jina-based knowledge retrieval to work—if it's false or missing, you'll get random plugin errors, including the 403s you saw. The flag is required for both the UI and backend integration in this version, so keep it true unless you want to fully disable Jina Reader features and accept that related workflows will break or error out details.

For SSRF_DEFAULT_TIME_OUT and HTTP_REQUEST_MAX_CONNECT_TIMEOUT: if they're missing from your .env, just add them manually. Recommended value is 600 (seconds). Dify does not use .env.example automatically, so you must set these yourself reference.

To view logs locally in Docker: logs are stored by default at /app/logs/server.log inside the container. You can use docker-compose logs api or docker logs <CONTAINER_ID> to view them. You can also set LOG_FILE in your .env to customize the log file path, and mount /app/logs as a Docker volume if you want to access logs directly from your host instructions.

To reply, just mention @dosu.


How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other  Join Discord Share on X

@dosubot[bot] commented on GitHub (Aug 19, 2025): <!-- Answer --> If you set ENABLE_WEBSITE_JINAREADER to false, the Jina Reader option will disappear from the website data source UI and "sync from website" via Jina will be disabled. In Dify 1.7.0, this flag must be true for Jina-based knowledge retrieval to work—if it's false or missing, you'll get random plugin errors, including the 403s you saw. The flag is required for both the UI and backend integration in this version, so keep it true unless you want to fully disable Jina Reader features and accept that related workflows will break or error out [details](https://github.com/langgenius/dify/issues/24155#issuecomment-3199354444). For SSRF_DEFAULT_TIME_OUT and HTTP_REQUEST_MAX_CONNECT_TIMEOUT: if they're missing from your .env, just add them manually. Recommended value is 600 (seconds). Dify does not use .env.example automatically, so you must set these yourself [reference](https://github.com/langgenius/dify/issues/12754). To view logs locally in Docker: logs are stored by default at /app/logs/server.log inside the container. You can use docker-compose logs api or docker logs <CONTAINER_ID> to view them. You can also set LOG_FILE in your .env to customize the log file path, and mount /app/logs as a Docker volume if you want to access logs directly from your host [instructions](https://github.com/langgenius/dify/issues/21078). <!-- 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/52aaa12a-0dd5-4eb0-a1ab-44eb4fe1e0ef?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/52aaa12a-0dd5-4eb0-a1ab-44eb4fe1e0ef?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/52aaa12a-0dd5-4eb0-a1ab-44eb4fe1e0ef?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/52aaa12a-0dd5-4eb0-a1ab-44eb4fe1e0ef?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/52aaa12a-0dd5-4eb0-a1ab-44eb4fe1e0ef?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/52aaa12a-0dd5-4eb0-a1ab-44eb4fe1e0ef?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/52aaa12a-0dd5-4eb0-a1ab-44eb4fe1e0ef?feedback_type=other)</sup>&nbsp;&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-official-plugins/issues/1528)
Author
Owner

@qadeerikram-art commented on GitHub (Aug 19, 2025):

Image I have 5 knowedge retrieval and it gave me error on 4th one. How can i fix this and its' random @claude @dosu
@qadeerikram-art commented on GitHub (Aug 19, 2025): <img width="1051" height="802" alt="Image" src="https://github.com/user-attachments/assets/ab557f98-93b8-406e-92ff-5f76a7ddfea0" /> I have 5 knowedge retrieval and it gave me error on 4th one. How can i fix this and its' random @claude @dosu
Author
Owner

@dosubot[bot] commented on GitHub (Sep 4, 2025):

Hi, @qadeerikram-art. I'm Dosu, and I'm helping the dify-official-plugins team manage their backlog and am marking this issue as stale.

Issue Summary:

  • You reported intermittent "Jina plugin invoke error" with 403 Forbidden during knowledgebase retrieval on self-hosted Dify 1.7.0.
  • Common causes discussed include invalid/missing Jina API key, SSRF proxy blocking Jina endpoints, and misconfigured environment variables like ENABLE_WEBSITE_JINAREADER.
  • Recommendations I provided involved verifying API key placement, enabling necessary environment variables, updating SSRF proxy configuration, running migration scripts, and checking detailed Docker logs.
  • I advised you to keep ENABLE_WEBSITE_JINAREADER=true for stable Jina integration.
  • The issue remains unresolved with no recent updates.

Next Steps:

  • Please let me know if this issue is still relevant with the latest version of dify-official-plugins by commenting here to keep the discussion open.
  • Otherwise, this issue will be automatically closed in 5 days.

Thank you for your understanding and contribution!

@dosubot[bot] commented on GitHub (Sep 4, 2025): Hi, @qadeerikram-art. I'm [Dosu](https://dosu.dev), and I'm helping the dify-official-plugins team manage their backlog and am marking this issue as stale. **Issue Summary:** - You reported intermittent "Jina plugin invoke error" with 403 Forbidden during knowledgebase retrieval on self-hosted Dify 1.7.0. - Common causes discussed include invalid/missing Jina API key, SSRF proxy blocking Jina endpoints, and misconfigured environment variables like ENABLE_WEBSITE_JINAREADER. - Recommendations I provided involved verifying API key placement, enabling necessary environment variables, updating SSRF proxy configuration, running migration scripts, and checking detailed Docker logs. - I advised you to keep ENABLE_WEBSITE_JINAREADER=true for stable Jina integration. - The issue remains unresolved with no recent updates. **Next Steps:** - Please let me know if this issue is still relevant with the latest version of dify-official-plugins by commenting here to keep the discussion open. - Otherwise, this issue will be automatically closed in 5 days. Thank you for your understanding and contribution!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-official-plugins#565