Unable to connect LlamaCloud as External Knowledge API in Dify #845

Closed
opened 2026-02-16 10:20:41 -05:00 by yindo · 12 comments
Owner

Originally created by @luisfynn on GitHub (Dec 2, 2025).

Originally assigned to: @hjlarry on GitHub.

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.10.1

Cloud or Self Hosted

Cloud

Steps to reproduce

Steps to reproduce the behavior:

  1. Go to Knowledge → External Knowledge API
  2. Install LlamaCloud plugin from marketplace
  3. Configure endpoint with LlamaCloud API key
  4. Attempt to connect
  5. Connection fails with error

✔️ Expected Behavior

LlamaCloud should connect successfully as an external knowledge source and be available for use in the knowledge base.

Actual Behavior

Connection fails with error message: failed to connect to the endpoint

Originally created by @luisfynn on GitHub (Dec 2, 2025). Originally assigned to: @hjlarry on GitHub. ### 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.10.1 ### Cloud or Self Hosted Cloud ### Steps to reproduce Steps to reproduce the behavior: 1. Go to Knowledge → External Knowledge API 2. Install LlamaCloud plugin from marketplace 3. Configure endpoint with LlamaCloud API key 4. Attempt to connect 5. Connection fails with error ### ✔️ Expected Behavior LlamaCloud should connect successfully as an external knowledge source and be available for use in the knowledge base. ### ❌ Actual Behavior Connection fails with error message: `failed to connect to the endpoint`
yindo added the bug label 2026-02-16 10:20:41 -05:00
yindo closed this issue 2026-02-16 10:20:41 -05:00
Author
Owner

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

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

The most common cause of the "failed to connect to the endpoint" error when integrating LlamaCloud as an External Knowledge API in Dify is an incorrectly formatted endpoint URL. When configuring the endpoint in Dify, you must paste the Endpoint URL from LlamaCloud but remove the /retrieval suffix—Dify automatically appends /retrieval when making requests. For the API Key, since LlamaCloud does not enforce authorization, you can enter any value, but you must keep the endpoint URL secret. After connecting, enter your Pipeline ID in the "Knowledge ID" field to complete the setup and enable retrieval testing. See the official plugin instructions for details and screenshots: LlamaCloud plugin README.

If you still see the error after correcting the endpoint, double-check for typos, ensure the endpoint starts with http:// or https://, and verify there are no network/firewall issues blocking the connection. The Dify backend will raise this error for any network or configuration problem, including invalid URLs or missing required fields in the setup. Recent updates have added robust validation and error handling for these cases, so following the exact setup steps should resolve the issue.

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 2, 2025): <!-- Greeting --> Hi @luisfynn! I'm [Dosu](https://go.dosu.dev/dosubot) and I’m helping the dify team. <!-- Answer --> The most common cause of the "failed to connect to the endpoint" error when integrating LlamaCloud as an External Knowledge API in Dify is an incorrectly formatted endpoint URL. When configuring the endpoint in Dify, you must paste the Endpoint URL from LlamaCloud but **remove the `/retrieval` suffix**—Dify automatically appends `/retrieval` when making requests. For the API Key, since LlamaCloud does not enforce authorization, you can enter any value, but you must keep the endpoint URL secret. After connecting, enter your Pipeline ID in the "Knowledge ID" field to complete the setup and enable retrieval testing. See the official plugin instructions for details and screenshots: [LlamaCloud plugin README](https://github.com/langgenius/dify-official-plugins/blob/ce98548234e058990cb0e630b2204e8e243f49bf/extensions/llamacloud/README.md#L13-L42). If you still see the error after correcting the endpoint, double-check for typos, ensure the endpoint starts with `http://` or `https://`, and verify there are no network/firewall issues blocking the connection. The Dify backend will raise this error for any network or configuration problem, including invalid URLs or missing required fields in the setup. Recent updates have added robust validation and error handling for these cases, so following the exact setup steps should resolve the 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/9d161fd1-31b8-4aa5-b033-1365e0f27e83?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/9d161fd1-31b8-4aa5-b033-1365e0f27e83?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/9d161fd1-31b8-4aa5-b033-1365e0f27e83?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/9d161fd1-31b8-4aa5-b033-1365e0f27e83?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/9d161fd1-31b8-4aa5-b033-1365e0f27e83?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/9d161fd1-31b8-4aa5-b033-1365e0f27e83?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/9d161fd1-31b8-4aa5-b033-1365e0f27e83?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=The%20most%20common%20cause%20of%20the%20%22failed%20to%20connect%20to%20the%20endpoint%22%20error%20when%20integrating%20LlamaCloud%20as%20an%20External%20Knowledge%20API%20in%20Dify%20is%20an%20incorrectly%20formatted%20endpoint%20URL.%20When%20configuring%20the%20endpoint%20in%20Dify%2C%20you%20must%20paste%20the%20Endpoint%20URL%20from%20LlamaCloud%20but%20%2A%2Aremove%20the%20%60/retrieval%60%20suffix%2A%2A%E2%80%94Dify%20automatically%20appends%20%60/retrieval%60%20when%20making%20requests.%20For%20the%20API%20Key%2C%20since%20LlamaCloud%20does%20not%20enforce%20authorization%2C%20you%20can%20enter%20any%20value%2C%20but%20you%20must%20keep%20the%20endpoint%20URL%20secret.%20After%20connecting%2C%20enter%20your%20Pipeline%20ID%20in%20the%20%22Knowledge%20ID%22%20field%20to%20complete%20the%20setup%20and%20enable%20retrieval%20testing.%20See%20the%20official%20plugin%20instructions%20for%20details%20and%20screenshots%3A%20%5BLlamaCloud%20plugin%20README%5D%28https%3A//github.com/langgenius/dify-official-plugins/blob/ce98548234e058990cb0e630b2204e8e243f49bf/extensions/llamacloud/README.md%23L13-L42%29.%0A%0AIf%20you%20still%20see%20the%20error%20after%20correcting%20the%20endpoint%2C%20double-check%20for%20typos%2C%20ensure%20the%20endpoint%20starts%20with%20%60http%3A//%60%20or%20%60https%3A//%60%2C%20and%20verify%20there%20are%20no%20network/firewall%20issues%20blocking%20the%20connection.%20The%20Dify%20backend%20will%20raise%20this%20error%20for%20any%20network%20or%20configuration%20problem%2C%20including%20invalid%20URLs%20or%20missing%20required%20fields%20in%20the%20setup.%20Recent%20updates%20have%20added%20robust%20validation%20and%20error%20handling%20for%20these%20cases%2C%20so%20following%20the%20exact%20setup%20steps%20should%20resolve%20the%20issue.)&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/29014)
Author
Owner

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

The "failed to connect to the endpoint" error when adding LlamaCloud as an External Knowledge API in Dify can be caused by several factors:

  • The endpoint URL must be valid and start with http:// or https://. Dify appends /retrieval to the endpoint and sends a POST request with your API key in the Authorization header. If the endpoint is unreachable, misconfigured, or the API key is invalid, you'll see this error. See implementation details
  • The LlamaCloud plugin only requires the API key for authentication. If the key is missing, expired, or lacks permissions, the connection will fail. Plugin config reference
  • There is no advanced error reporting in the plugin, so any network or authentication issue will result in a generic failure. Plugin endpoint code
  • Dify uses retry and backoff logic for external API calls, but persistent failures (like unreachable endpoints or proxy misconfiguration) will still result in this error. HTTP client logic

Troubleshooting checklist:

  1. Double-check the endpoint URL and ensure it is publicly accessible and correctly formatted.
  2. Verify your LlamaCloud API key is valid, active, and has the necessary permissions.
  3. Make sure there are no network restrictions (firewalls, proxies) blocking Dify Cloud from reaching the LlamaCloud endpoint.
  4. If possible, test the endpoint and API key outside Dify (e.g., with curl or Postman) to confirm connectivity.
  5. If you have access to logs, check for more detailed error messages.

Recent updates have improved error handling and validation for external knowledge APIs, but the plugin itself does not provide granular error feedback. If the above steps don't resolve the issue, gathering endpoint and API key details, along with any error logs, will help further diagnose the problem.

To reply, just mention @dosu.


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

Open in Cursor Join Discord Share on X

@dosubot[bot] commented on GitHub (Dec 2, 2025): <!-- Answer --> The "failed to connect to the endpoint" error when adding LlamaCloud as an External Knowledge API in Dify can be caused by several factors: - The endpoint URL must be valid and start with http:// or https://. Dify appends `/retrieval` to the endpoint and sends a POST request with your API key in the Authorization header. If the endpoint is unreachable, misconfigured, or the API key is invalid, you'll see this error. [See implementation details](https://github.com/langgenius/dify/blob/8e5cb86409eb966ef4cfbd0800b2b0fb6e8fcab0/api/services/external_knowledge_service.py#L47-L99) - The LlamaCloud plugin only requires the API key for authentication. If the key is missing, expired, or lacks permissions, the connection will fail. [Plugin config reference](https://github.com/langgenius/dify-official-plugins/blob/ce98548234e058990cb0e630b2204e8e243f49bf/extensions/llamacloud/group/llamacloud.yaml#L2-L14) - There is no advanced error reporting in the plugin, so any network or authentication issue will result in a generic failure. [Plugin endpoint code](https://github.com/langgenius/dify-official-plugins/blob/ce98548234e058990cb0e630b2204e8e243f49bf/extensions/llamacloud/endpoints/llamacloud.py#L8-L56) - Dify uses retry and backoff logic for external API calls, but persistent failures (like unreachable endpoints or proxy misconfiguration) will still result in this error. [HTTP client logic](https://github.com/langgenius/dify/blob/8e5cb86409eb966ef4cfbd0800b2b0fb6e8fcab0/api/core/helper/ssrf_proxy.py#L35-L114) **Troubleshooting checklist:** 1. Double-check the endpoint URL and ensure it is publicly accessible and correctly formatted. 2. Verify your LlamaCloud API key is valid, active, and has the necessary permissions. 3. Make sure there are no network restrictions (firewalls, proxies) blocking Dify Cloud from reaching the LlamaCloud endpoint. 4. If possible, test the endpoint and API key outside Dify (e.g., with curl or Postman) to confirm connectivity. 5. If you have access to logs, check for more detailed error messages. Recent updates have improved error handling and validation for external knowledge APIs, but the plugin itself does not provide granular error feedback. If the above steps don't resolve the issue, gathering endpoint and API key details, along with any error logs, will help further diagnose the problem. <!-- 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/dca7f5d8-346a-4069-aabc-e86b2b14a752?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/dca7f5d8-346a-4069-aabc-e86b2b14a752?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/dca7f5d8-346a-4069-aabc-e86b2b14a752?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/dca7f5d8-346a-4069-aabc-e86b2b14a752?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/dca7f5d8-346a-4069-aabc-e86b2b14a752?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/dca7f5d8-346a-4069-aabc-e86b2b14a752?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/dca7f5d8-346a-4069-aabc-e86b2b14a752?feedback_type=other)</sup> [![Open in Cursor](https://dosu.dev/dosu-in-cursor.svg)](https://cursor.com/link/prompt?text=The%20%22failed%20to%20connect%20to%20the%20endpoint%22%20error%20when%20adding%20LlamaCloud%20as%20an%20External%20Knowledge%20API%20in%20Dify%20can%20be%20caused%20by%20several%20factors%3A%0A%0A-%20The%20endpoint%20URL%20must%20be%20valid%20and%20start%20with%20http%3A//%20or%20https%3A//.%20Dify%20appends%20%60/retrieval%60%20to%20the%20endpoint%20and%20sends%20a%20POST%20request%20with%20your%20API%20key%20in%20the%20Authorization%20header.%20If%20the%20endpoint%20is%20unreachable%2C%20misconfigured%2C%20or%20the%20API%20key%20is%20invalid%2C%20you%27ll%20see%20this%20error.%20%5BSee%20implementation%20details%5D%28https%3A//github.com/langgenius/dify/blob/8e5cb86409eb966ef4cfbd0800b2b0fb6e8fcab0/api/services/external_knowledge_service.py%23L47-L99%29%0A-%20The%20LlamaCloud%20plugin%20only%20requires%20the%20API%20key%20for%20authentication.%20If%20the%20key%20is%20missing%2C%20expired%2C%20or%20lacks%20permissions%2C%20the%20connection%20will%20fail.%20%5BPlugin%20config%20reference%5D%28https%3A//github.com/langgenius/dify-official-plugins/blob/ce98548234e058990cb0e630b2204e8e243f49bf/extensions/llamacloud/group/llamacloud.yaml%23L2-L14%29%0A-%20There%20is%20no%20advanced%20error%20reporting%20in%20the%20plugin%2C%20so%20any%20network%20or%20authentication%20issue%20will%20result%20in%20a%20generic%20failure.%20%5BPlugin%20endpoint%20code%5D%28https%3A//github.com/langgenius/dify-official-plugins/blob/ce98548234e058990cb0e630b2204e8e243f49bf/extensions/llamacloud/endpoints/llamacloud.py%23L8-L56%29%0A-%20Dify%20uses%20retry%20and%20backoff%20logic%20for%20external%20API%20calls%2C%20but%20persistent%20failures%20%28like%20unreachable%20endpoints%20or%20proxy%20misconfiguration%29%20will%20still%20result%20in%20this%20error.%20%5BHTTP%20client%20logic%5D%28https%3A//github.com/langgenius/dify/blob/8e5cb86409eb966ef4cfbd0800b2b0fb6e8fcab0/api/core/helper/ssrf_proxy.py%23L35-L114%29%0A%0A%2A%2ATroubleshooting%20checklist%3A%2A%2A%0A1.%20Double-check%20the%20endpoint%20URL%20and%20ensure%20it%20is%20publicly%20accessible%20and%20correctly%20formatted.%0A2.%20Verify%20your%20LlamaCloud%20API%20key%20is%20valid%2C%20active%2C%20and%20has%20the%20necessary%20permissions.%0A3.%20Make%20sure%20there%20are%20no%20network%20restrictions%20%28firewalls%2C%20proxies%29%20blocking%20Dify%20Cloud%20from%20reaching%20the%20LlamaCloud%20endpoint.%0A4.%20If%20possible%2C%20test%20the%20endpoint%20and%20API%20key%20outside%20Dify%20%28e.g.%2C%20with%20curl%20or%20Postman%29%20to%20confirm%20connectivity.%0A5.%20If%20you%20have%20access%20to%20logs%2C%20check%20for%20more%20detailed%20error%20messages.%0A%0ARecent%20updates%20have%20improved%20error%20handling%20and%20validation%20for%20external%20knowledge%20APIs%2C%20but%20the%20plugin%20itself%20does%20not%20provide%20granular%20error%20feedback.%20If%20the%20above%20steps%20don%27t%20resolve%20the%20issue%2C%20gathering%20endpoint%20and%20API%20key%20details%2C%20along%20with%20any%20error%20logs%2C%20will%20help%20further%20diagnose%20the%20problem.)&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/2163)
Author
Owner

@luisfynn commented on GitHub (Dec 2, 2025):

@dosu

I tried to upload an image but it's not working. I've attached a screenshot/image for reference - please let me know if you can see it.

Image Image Image
@luisfynn commented on GitHub (Dec 2, 2025): @dosu I tried to upload an image but it's not working. I've attached a screenshot/image for reference - please let me know if you can see it. <img width="2540" height="273" alt="Image" src="https://github.com/user-attachments/assets/9a5e604e-e165-4a19-91fd-cb75ba43369e" /> <img width="545" height="511" alt="Image" src="https://github.com/user-attachments/assets/0a0082ad-9912-45a8-bd96-856d3d5a8bea" /> <img width="1699" height="1123" alt="Image" src="https://github.com/user-attachments/assets/f1a551ff-0dfc-4799-8df9-eeb33d9820e3" />
Author
Owner

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

I can't view the actual screenshots you uploaded, but I do receive the image descriptions you provided. Based on those, I can confirm that I see details about your API key setup, the endpoint configuration modal, and the error message when trying to connect LlamaCloud as an external knowledge API. If there are any specific technical details or error messages visible in the screenshots that aren't included in the descriptions, please share them in text form so I can help troubleshoot further. Let me know if you want to clarify anything from the image descriptions or need more help!

To reply, just mention @dosu.


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

Open in Cursor Join Discord Share on X

@dosubot[bot] commented on GitHub (Dec 2, 2025): <!-- Answer --> I can't view the actual screenshots you uploaded, but I do receive the image descriptions you provided. Based on those, I can confirm that I see details about your API key setup, the endpoint configuration modal, and the error message when trying to connect LlamaCloud as an external knowledge API. If there are any specific technical details or error messages visible in the screenshots that aren't included in the descriptions, please share them in text form so I can help troubleshoot further. Let me know if you want to clarify anything from the image descriptions or need more help! <!-- 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/55b1e3c8-8a02-4752-bd88-2ef1592a7dba?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/55b1e3c8-8a02-4752-bd88-2ef1592a7dba?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/55b1e3c8-8a02-4752-bd88-2ef1592a7dba?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/55b1e3c8-8a02-4752-bd88-2ef1592a7dba?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/55b1e3c8-8a02-4752-bd88-2ef1592a7dba?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/55b1e3c8-8a02-4752-bd88-2ef1592a7dba?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/55b1e3c8-8a02-4752-bd88-2ef1592a7dba?feedback_type=other)</sup> [![Open in Cursor](https://dosu.dev/dosu-in-cursor.svg)](https://cursor.com/link/prompt?text=I%20can%27t%20view%20the%20actual%20screenshots%20you%20uploaded%2C%20but%20I%20do%20receive%20the%20image%20descriptions%20you%20provided.%20Based%20on%20those%2C%20I%20can%20confirm%20that%20I%20see%20details%20about%20your%20API%20key%20setup%2C%20the%20endpoint%20configuration%20modal%2C%20and%20the%20error%20message%20when%20trying%20to%20connect%20LlamaCloud%20as%20an%20external%20knowledge%20API.%20If%20there%20are%20any%20specific%20technical%20details%20or%20error%20messages%20visible%20in%20the%20screenshots%20that%20aren%27t%20included%20in%20the%20descriptions%2C%20please%20share%20them%20in%20text%20form%20so%20I%20can%20help%20troubleshoot%20further.%20Let%20me%20know%20if%20you%20want%20to%20clarify%20anything%20from%20the%20image%20descriptions%20or%20need%20more%20help%21)&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/2163)
Author
Owner

@luisfynn commented on GitHub (Dec 2, 2025):

@dosu

I generated an API key in LlamaCloud, then installed the LlamaCloud plugin in Dify (Plugins → Extensions → LlamaCloud). In the endpoint settings, I entered "llamacloud" for the endpoint name and pasted the API key generated from LlamaCloud. When I clicked save, it showed "Service is normal" at the bottom.

After that, I went to Knowledge → External Knowledge → Add External Knowledge API. I entered "llama_cloud" for the name, and for the API endpoint, I copied the POST address that appeared after configuring the endpoint in Dify, then removed the "/retrieval" part. For the API key field, I tried both the actual LlamaCloud API key and random strings (10+ characters), but none of them work - the connection always fails.

Steps I followed:

  1. Created API key in LlamaCloud
  2. Installed LlamaCloud plugin in Dify (Plugins → Extensions → LlamaCloud)
  3. Endpoint settings:
    • Endpoint name: llamacloud
    • API Key: [LlamaCloud API key]
    • Status: "Service is normal" ✓
  4. Added External Knowledge API:
    • Name: llama_cloud
    • API Endpoint: [POST URL from Dify endpoint settings with "/retrieval" removed]
    • API Key: Tried both actual LlamaCloud API key and random strings
    • Result: Connection failed

What could be causing this connection issue?

@luisfynn commented on GitHub (Dec 2, 2025): @dosu I generated an API key in LlamaCloud, then installed the LlamaCloud plugin in Dify (Plugins → Extensions → LlamaCloud). In the endpoint settings, I entered "llamacloud" for the endpoint name and pasted the API key generated from LlamaCloud. When I clicked save, it showed "Service is normal" at the bottom. After that, I went to Knowledge → External Knowledge → Add External Knowledge API. I entered "llama_cloud" for the name, and for the API endpoint, I copied the POST address that appeared after configuring the endpoint in Dify, then removed the "/retrieval" part. For the API key field, I tried both the actual LlamaCloud API key and random strings (10+ characters), but none of them work - the connection always fails. Steps I followed: 1. Created API key in LlamaCloud 2. Installed LlamaCloud plugin in Dify (Plugins → Extensions → LlamaCloud) 3. Endpoint settings: - Endpoint name: llamacloud - API Key: [LlamaCloud API key] - Status: "Service is normal" ✓ 4. Added External Knowledge API: - Name: llama_cloud - API Endpoint: [POST URL from Dify endpoint settings with "/retrieval" removed] - API Key: Tried both actual LlamaCloud API key and random strings - Result: Connection failed ❌ What could be causing this connection issue?
Author
Owner

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

The connection issue is likely caused by how Dify expects the endpoint URL for external knowledge APIs. When you add the LlamaCloud endpoint in Dify's External Knowledge API settings, you should copy the endpoint URL from the plugin settings and remove the /retrieval part—this is correct, as Dify will automatically append /retrieval when making requests. For the API key, you can enter any string; the plugin does not validate this field, but the endpoint URL must remain secret to prevent unauthorized access.

If you are still seeing "failed to connect to the endpoint," double-check that the endpoint URL you enter starts with http:// or https:// and is accessible from Dify Cloud. Also, make sure there are no network restrictions or typos in the URL. If the issue persists, there may be a network or deployment issue preventing Dify from reaching the plugin endpoint.

Reference: LlamaCloud plugin README, Dify endpoint validation logic.

To reply, just mention @dosu.


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

Open in Cursor Join Discord Share on X

@dosubot[bot] commented on GitHub (Dec 2, 2025): <!-- Answer --> The connection issue is likely caused by how Dify expects the endpoint URL for external knowledge APIs. When you add the LlamaCloud endpoint in Dify's External Knowledge API settings, you should copy the endpoint URL from the plugin settings and remove the `/retrieval` part—this is correct, as Dify will automatically append `/retrieval` when making requests. For the API key, you can enter any string; the plugin does not validate this field, but the endpoint URL must remain secret to prevent unauthorized access. If you are still seeing "failed to connect to the endpoint," double-check that the endpoint URL you enter starts with `http://` or `https://` and is accessible from Dify Cloud. Also, make sure there are no network restrictions or typos in the URL. If the issue persists, there may be a network or deployment issue preventing Dify from reaching the plugin endpoint. Reference: [LlamaCloud plugin README](https://github.com/langgenius/dify-official-plugins/blob/ce98548234e058990cb0e630b2204e8e243f49bf/extensions/llamacloud/README.md#L13-L42), [Dify endpoint validation logic](https://github.com/langgenius/dify/blob/369892634d308f510c9b7293f07321aaf0230eca/api/services/external_knowledge_service.py#L75-L99). <!-- 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/e7edd7d1-3208-4814-9a7c-552b81c9cdcb?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/e7edd7d1-3208-4814-9a7c-552b81c9cdcb?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/e7edd7d1-3208-4814-9a7c-552b81c9cdcb?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/e7edd7d1-3208-4814-9a7c-552b81c9cdcb?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/e7edd7d1-3208-4814-9a7c-552b81c9cdcb?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/e7edd7d1-3208-4814-9a7c-552b81c9cdcb?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/e7edd7d1-3208-4814-9a7c-552b81c9cdcb?feedback_type=other)</sup> [![Open in Cursor](https://dosu.dev/dosu-in-cursor.svg)](https://cursor.com/link/prompt?text=The%20connection%20issue%20is%20likely%20caused%20by%20how%20Dify%20expects%20the%20endpoint%20URL%20for%20external%20knowledge%20APIs.%20When%20you%20add%20the%20LlamaCloud%20endpoint%20in%20Dify%27s%20External%20Knowledge%20API%20settings%2C%20you%20should%20copy%20the%20endpoint%20URL%20from%20the%20plugin%20settings%20and%20remove%20the%20%60/retrieval%60%20part%E2%80%94this%20is%20correct%2C%20as%20Dify%20will%20automatically%20append%20%60/retrieval%60%20when%20making%20requests.%20For%20the%20API%20key%2C%20you%20can%20enter%20any%20string%3B%20the%20plugin%20does%20not%20validate%20this%20field%2C%20but%20the%20endpoint%20URL%20must%20remain%20secret%20to%20prevent%20unauthorized%20access.%20%0A%0AIf%20you%20are%20still%20seeing%20%22failed%20to%20connect%20to%20the%20endpoint%2C%22%20double-check%20that%20the%20endpoint%20URL%20you%20enter%20starts%20with%20%60http%3A//%60%20or%20%60https%3A//%60%20and%20is%20accessible%20from%20Dify%20Cloud.%20Also%2C%20make%20sure%20there%20are%20no%20network%20restrictions%20or%20typos%20in%20the%20URL.%20If%20the%20issue%20persists%2C%20there%20may%20be%20a%20network%20or%20deployment%20issue%20preventing%20Dify%20from%20reaching%20the%20plugin%20endpoint.%20%0A%0AReference%3A%20%5BLlamaCloud%20plugin%20README%5D%28https%3A//github.com/langgenius/dify-official-plugins/blob/ce98548234e058990cb0e630b2204e8e243f49bf/extensions/llamacloud/README.md%23L13-L42%29%2C%20%5BDify%20endpoint%20validation%20logic%5D%28https%3A//github.com/langgenius/dify/blob/369892634d308f510c9b7293f07321aaf0230eca/api/services/external_knowledge_service.py%23L75-L99%29.)&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/2163)
Author
Owner

@luisfynn commented on GitHub (Dec 2, 2025):

@dosu This is really frustrating. I've tried everything but it still doesn't work.

I'm confused about what exactly should be entered in the "API Endpoint" field when adding an External Knowledge API in Dify.

Could you clarify:

  1. Should I use the endpoint URL from Dify's plugin configuration, or
  2. Should I use the actual LlamaCloud pipeline API URL from the LlamaCloud dashboard?

I've been testing both ways and neither works. This is really frustrating and the error messages aren't helpful at all.

Can you provide a concrete example of what a correct API Endpoint URL should look like?

Could you please escalate this to the engineering team or ask a developer who actually worked on this feature? I need proper guidance from someone who knows the implementation details.

@luisfynn commented on GitHub (Dec 2, 2025): @dosu This is really frustrating. I've tried everything but it still doesn't work. I'm confused about what exactly should be entered in the "API Endpoint" field when adding an External Knowledge API in Dify. Could you clarify: 1. Should I use the endpoint URL from Dify's plugin configuration, or 2. Should I use the actual LlamaCloud pipeline API URL from the LlamaCloud dashboard? I've been testing both ways and neither works. This is really frustrating and the error messages aren't helpful at all. Can you provide a concrete example of what a correct API Endpoint URL should look like? Could you please escalate this to the engineering team or ask a developer who actually worked on this feature? I need proper guidance from someone who knows the implementation details.
Author
Owner

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

I know this is frustrating, but here’s the concrete answer based on the implementation and official plugin docs:

You should use the endpoint URL from Dify’s plugin configuration (the one you see after creating the endpoint in the LlamaCloud plugin settings), but you must remove the /retrieval part before pasting it into the “API Endpoint” field. Do not use the LlamaCloud dashboard’s pipeline API URL—Dify expects to talk to the plugin endpoint, not directly to LlamaCloud’s API.

For example, if Dify’s plugin gives you:

https://your-dify-instance/api/v1/plugins/endpoints/llamacloud/abc123/retrieval

You should enter this in the “API Endpoint” field:

https://your-dify-instance/api/v1/plugins/endpoints/llamacloud/abc123

Dify will automatically append /retrieval when making requests. For the API Key, you can enter any string (the plugin doesn’t validate it, but keep the endpoint URL secret) — see the plugin README and backend logic.

If you still get “failed to connect to the endpoint,” double-check for typos, make sure the URL starts with http:// or https://, and confirm the endpoint is accessible from Dify Cloud (not localhost or a private address). If you’re self-hosting, test with curl or Postman to ensure the endpoint responds at /retrieval.

If you’ve followed these steps and it still fails, there may be a network or deployment issue. At that point, collecting logs and endpoint details will help the engineering team dig deeper.

To reply, just mention @dosu.


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

Open in Cursor Join Discord Share on X

@dosubot[bot] commented on GitHub (Dec 2, 2025): <!-- Answer --> I know this is frustrating, but here’s the concrete answer based on the implementation and official plugin docs: You should use the endpoint URL from Dify’s plugin configuration (the one you see after creating the endpoint in the LlamaCloud plugin settings), but you must remove the /retrieval part before pasting it into the “API Endpoint” field. Do not use the LlamaCloud dashboard’s pipeline API URL—Dify expects to talk to the plugin endpoint, not directly to LlamaCloud’s API. For example, if Dify’s plugin gives you: ``` https://your-dify-instance/api/v1/plugins/endpoints/llamacloud/abc123/retrieval ``` You should enter this in the “API Endpoint” field: ``` https://your-dify-instance/api/v1/plugins/endpoints/llamacloud/abc123 ``` Dify will automatically append /retrieval when making requests. For the API Key, you can enter any string (the plugin doesn’t validate it, but keep the endpoint URL secret) — see the [plugin README](https://github.com/langgenius/dify-official-plugins/blob/ce98548234e058990cb0e630b2204e8e243f49bf/extensions/llamacloud/README.md#L13-L38) and [backend logic](https://github.com/langgenius/dify/blob/369892634d308f510c9b7293f07321aaf0230eca/api/services/external_knowledge_service.py#L75-L99). If you still get “failed to connect to the endpoint,” double-check for typos, make sure the URL starts with http:// or https://, and confirm the endpoint is accessible from Dify Cloud (not localhost or a private address). If you’re self-hosting, test with curl or Postman to ensure the endpoint responds at /retrieval. If you’ve followed these steps and it still fails, there may be a network or deployment issue. At that point, collecting logs and endpoint details will help the engineering team dig deeper. <!-- 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/c9d314ba-06a5-473d-a52d-339e8135d978?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/c9d314ba-06a5-473d-a52d-339e8135d978?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/c9d314ba-06a5-473d-a52d-339e8135d978?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/c9d314ba-06a5-473d-a52d-339e8135d978?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/c9d314ba-06a5-473d-a52d-339e8135d978?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/c9d314ba-06a5-473d-a52d-339e8135d978?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/c9d314ba-06a5-473d-a52d-339e8135d978?feedback_type=other)</sup> [![Open in Cursor](https://dosu.dev/dosu-in-cursor.svg)](https://cursor.com/link/prompt?text=I%20know%20this%20is%20frustrating%2C%20but%20here%E2%80%99s%20the%20concrete%20answer%20based%20on%20the%20implementation%20and%20official%20plugin%20docs%3A%0A%0AYou%20should%20use%20the%20endpoint%20URL%20from%20Dify%E2%80%99s%20plugin%20configuration%20%28the%20one%20you%20see%20after%20creating%20the%20endpoint%20in%20the%20LlamaCloud%20plugin%20settings%29%2C%20but%20you%20must%20remove%20the%20/retrieval%20part%20before%20pasting%20it%20into%20the%20%E2%80%9CAPI%20Endpoint%E2%80%9D%20field.%20Do%20not%20use%20the%20LlamaCloud%20dashboard%E2%80%99s%20pipeline%20API%20URL%E2%80%94Dify%20expects%20to%20talk%20to%20the%20plugin%20endpoint%2C%20not%20directly%20to%20LlamaCloud%E2%80%99s%20API.%0A%0AFor%20example%2C%20if%20Dify%E2%80%99s%20plugin%20gives%20you%3A%0A%60%60%60%0Ahttps%3A//your-dify-instance/api/v1/plugins/endpoints/llamacloud/abc123/retrieval%0A%60%60%60%0AYou%20should%20enter%20this%20in%20the%20%E2%80%9CAPI%20Endpoint%E2%80%9D%20field%3A%0A%60%60%60%0Ahttps%3A//your-dify-instance/api/v1/plugins/endpoints/llamacloud/abc123%0A%60%60%60%0ADify%20will%20automatically%20append%20/retrieval%20when%20making%20requests.%20For%20the%20API%20Key%2C%20you%20can%20enter%20any%20string%20%28the%20plugin%20doesn%E2%80%99t%20validate%20it%2C%20but%20keep%20the%20endpoint%20URL%20secret%29%C2%A0%E2%80%94%C2%A0see%20the%20%5Bplugin%20README%5D%28https%3A//github.com/langgenius/dify-official-plugins/blob/ce98548234e058990cb0e630b2204e8e243f49bf/extensions/llamacloud/README.md%23L13-L38%29%20and%20%5Bbackend%20logic%5D%28https%3A//github.com/langgenius/dify/blob/369892634d308f510c9b7293f07321aaf0230eca/api/services/external_knowledge_service.py%23L75-L99%29.%0A%0AIf%20you%20still%20get%20%E2%80%9Cfailed%20to%20connect%20to%20the%20endpoint%2C%E2%80%9D%20double-check%20for%20typos%2C%20make%20sure%20the%20URL%20starts%20with%20http%3A//%20or%20https%3A//%2C%20and%20confirm%20the%20endpoint%20is%20accessible%20from%20Dify%20Cloud%20%28not%20localhost%20or%20a%20private%20address%29.%20If%20you%E2%80%99re%20self-hosting%2C%20test%20with%20curl%20or%20Postman%20to%20ensure%20the%20endpoint%20responds%20at%20/retrieval.%0A%0AIf%20you%E2%80%99ve%20followed%20these%20steps%20and%20it%20still%20fails%2C%20there%20may%20be%20a%20network%20or%20deployment%20issue.%20At%20that%20point%2C%20collecting%20logs%20and%20endpoint%20details%20will%20help%20the%20engineering%20team%20dig%20deeper.)&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/2163)
Author
Owner

@luisfynn commented on GitHub (Dec 2, 2025):

@dosu Update: LlamaCloud doesn't have permission settings for API keys - they automatically have full access when created.

So the issue is NOT about API key permissions. There must be something else wrong with the integration.

Can the engineering team look into this? This seems like a bug or compatibility issue between Dify and LlamaCloud.

@luisfynn commented on GitHub (Dec 2, 2025): @dosu Update: LlamaCloud doesn't have permission settings for API keys - they automatically have full access when created. So the issue is NOT about API key permissions. There must be something else wrong with the integration. Can the engineering team look into this? This seems like a bug or compatibility issue between Dify and LlamaCloud.
Author
Owner

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

You're right—API key permissions are not the cause here. Based on the code and recent reports, this looks like a compatibility issue between Dify and the LlamaCloud plugin. The main problem is that Dify's endpoint validation sends a POST to your plugin endpoint with only an Authorization header and no JSON payload, but the LlamaCloud plugin expects a full JSON body. This mismatch causes the plugin to error out internally, which Dify then reports as "failed to connect to the endpoint" (plugin code, Dify validation logic).

There’s also a bug in the plugin’s retrieval settings handling that could cause runtime errors, making things worse.

For engineering to investigate, it would help to have:

  • The exact endpoint URL you’re using (with sensitive info redacted)
  • Any logs or error messages from the plugin or Dify backend
  • A sample of the request/response if you can capture it (e.g., with curl or Postman)

If you’re able to self-host or modify the plugin, a quick workaround is to update the plugin’s /retrieval endpoint to handle empty or malformed POSTs gracefully (returning a 400 with a clear message instead of a 500). This would let Dify’s health check succeed and make debugging easier.

Let me know if you want help formatting this info for the engineering team or if you need guidance on capturing logs or testing the endpoint.

To reply, just mention @dosu.


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

Open in Cursor Join Discord Share on X

@dosubot[bot] commented on GitHub (Dec 2, 2025): <!-- Answer --> You're right—API key permissions are not the cause here. Based on the code and recent reports, this looks like a compatibility issue between Dify and the LlamaCloud plugin. The main problem is that Dify's endpoint validation sends a POST to your plugin endpoint with only an Authorization header and no JSON payload, but the LlamaCloud plugin expects a full JSON body. This mismatch causes the plugin to error out internally, which Dify then reports as "failed to connect to the endpoint" ([plugin code](https://github.com/langgenius/dify-official-plugins/blob/ce98548234e058990cb0e630b2204e8e243f49bf/extensions/llamacloud/endpoints/llamacloud.py#L14-L55), [Dify validation logic](https://github.com/langgenius/dify/blob/f8b10c227213958135f35e910945500d16c339aa/api/services/external_knowledge_service.py#L75-L99)). There’s also a bug in the plugin’s retrieval settings handling that could cause runtime errors, making things worse. For engineering to investigate, it would help to have: - The exact endpoint URL you’re using (with sensitive info redacted) - Any logs or error messages from the plugin or Dify backend - A sample of the request/response if you can capture it (e.g., with curl or Postman) If you’re able to self-host or modify the plugin, a quick workaround is to update the plugin’s `/retrieval` endpoint to handle empty or malformed POSTs gracefully (returning a 400 with a clear message instead of a 500). This would let Dify’s health check succeed and make debugging easier. Let me know if you want help formatting this info for the engineering team or if you need guidance on capturing logs or testing the endpoint. <!-- 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/f0f2a6a9-dc3e-4661-8869-d0238d9b4a55?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/f0f2a6a9-dc3e-4661-8869-d0238d9b4a55?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/f0f2a6a9-dc3e-4661-8869-d0238d9b4a55?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/f0f2a6a9-dc3e-4661-8869-d0238d9b4a55?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/f0f2a6a9-dc3e-4661-8869-d0238d9b4a55?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/f0f2a6a9-dc3e-4661-8869-d0238d9b4a55?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/f0f2a6a9-dc3e-4661-8869-d0238d9b4a55?feedback_type=other)</sup> [![Open in Cursor](https://dosu.dev/dosu-in-cursor.svg)](https://cursor.com/link/prompt?text=You%27re%20right%E2%80%94API%20key%20permissions%20are%20not%20the%20cause%20here.%20Based%20on%20the%20code%20and%20recent%20reports%2C%20this%20looks%20like%20a%20compatibility%20issue%20between%20Dify%20and%20the%20LlamaCloud%20plugin.%20The%20main%20problem%20is%20that%20Dify%27s%20endpoint%20validation%20sends%20a%20POST%20to%20your%20plugin%20endpoint%20with%20only%20an%20Authorization%20header%20and%20no%20JSON%20payload%2C%20but%20the%20LlamaCloud%20plugin%20expects%20a%20full%20JSON%20body.%20This%20mismatch%20causes%20the%20plugin%20to%20error%20out%20internally%2C%20which%20Dify%20then%20reports%20as%20%22failed%20to%20connect%20to%20the%20endpoint%22%20%28%5Bplugin%20code%5D%28https%3A//github.com/langgenius/dify-official-plugins/blob/ce98548234e058990cb0e630b2204e8e243f49bf/extensions/llamacloud/endpoints/llamacloud.py%23L14-L55%29%2C%20%5BDify%20validation%20logic%5D%28https%3A//github.com/langgenius/dify/blob/f8b10c227213958135f35e910945500d16c339aa/api/services/external_knowledge_service.py%23L75-L99%29%29.%0A%0AThere%E2%80%99s%20also%20a%20bug%20in%20the%20plugin%E2%80%99s%20retrieval%20settings%20handling%20that%20could%20cause%20runtime%20errors%2C%20making%20things%20worse.%0A%0AFor%20engineering%20to%20investigate%2C%20it%20would%20help%20to%20have%3A%0A-%20The%20exact%20endpoint%20URL%20you%E2%80%99re%20using%20%28with%20sensitive%20info%20redacted%29%0A-%20Any%20logs%20or%20error%20messages%20from%20the%20plugin%20or%20Dify%20backend%0A-%20A%20sample%20of%20the%20request/response%20if%20you%20can%20capture%20it%20%28e.g.%2C%20with%20curl%20or%20Postman%29%0A%0AIf%20you%E2%80%99re%20able%20to%20self-host%20or%20modify%20the%20plugin%2C%20a%20quick%20workaround%20is%20to%20update%20the%20plugin%E2%80%99s%20%60/retrieval%60%20endpoint%20to%20handle%20empty%20or%20malformed%20POSTs%20gracefully%20%28returning%20a%20400%20with%20a%20clear%20message%20instead%20of%20a%20500%29.%20This%20would%20let%20Dify%E2%80%99s%20health%20check%20succeed%20and%20make%20debugging%20easier.%0A%0ALet%20me%20know%20if%20you%20want%20help%20formatting%20this%20info%20for%20the%20engineering%20team%20or%20if%20you%20need%20guidance%20on%20capturing%20logs%20or%20testing%20the%20endpoint.)&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/2163)
Author
Owner

@luisfynn commented on GitHub (Dec 2, 2025):

@dosu
So basically, both internal knowledge (due to the chunking/overlap bug) and external knowledge (due to the LlamaCloud plugin compatibility issue) are broken right now?

When do you think these issues will be fixed? Any estimated timeline?

This is really frustrating because I can't use any knowledge base features at all.

@luisfynn commented on GitHub (Dec 2, 2025): @dosu So basically, both internal knowledge (due to the chunking/overlap bug) and external knowledge (due to the LlamaCloud plugin compatibility issue) are broken right now? When do you think these issues will be fixed? Any estimated timeline? This is really frustrating because I can't use any knowledge base features at all.
Author
Owner

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

Right now, both internal knowledge (due to the chunking/overlap bug) and external knowledge (due to the LlamaCloud plugin compatibility issue) are not working reliably in Dify Cloud. The chunking bug—where documents get stuck in the "Queuing" state or chunk settings fail—has been fixed in newer code, but the fix hasn't been deployed to the cloud yet, and there’s no official ETA for when it will be live. There are no documented workarounds for cloud users except waiting for a platform update; reverting to older versions only helps for self-hosted setups [source].

For the LlamaCloud plugin, the main issue is a mismatch between how Dify validates endpoints and how the plugin expects requests. This causes persistent connection failures, especially in cloud deployments, and there’s no timeline or recent code changes addressing this compatibility problem [source]. The only actionable steps are to double-check endpoint formatting, ensure public accessibility, and re-add the API if the endpoint changes, but these don’t resolve the underlying bug.

I know this is frustrating—there’s no official ETA for fixes on either front. The best way to track progress is to monitor GitHub issues and release notes for updates. If you want to dig deeper or share logs, I can help format info for engineering or guide you through troubleshooting steps.

To reply, just mention @dosu.


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

Open in Cursor Join Discord Share on X

@dosubot[bot] commented on GitHub (Dec 2, 2025): <!-- Answer --> Right now, both internal knowledge (due to the chunking/overlap bug) and external knowledge (due to the LlamaCloud plugin compatibility issue) are not working reliably in Dify Cloud. The chunking bug—where documents get stuck in the "Queuing" state or chunk settings fail—has been fixed in newer code, but the fix hasn't been deployed to the cloud yet, and there’s no official ETA for when it will be live. There are no documented workarounds for cloud users except waiting for a platform update; reverting to older versions only helps for self-hosted setups [[source](https://github.com/langgenius/dify/issues/28404)]. For the LlamaCloud plugin, the main issue is a mismatch between how Dify validates endpoints and how the plugin expects requests. This causes persistent connection failures, especially in cloud deployments, and there’s no timeline or recent code changes addressing this compatibility problem [[source](https://github.com/langgenius/dify-official-plugins/issues/2136)]. The only actionable steps are to double-check endpoint formatting, ensure public accessibility, and re-add the API if the endpoint changes, but these don’t resolve the underlying bug. I know this is frustrating—there’s no official ETA for fixes on either front. The best way to track progress is to monitor GitHub issues and release notes for updates. If you want to dig deeper or share logs, I can help format info for engineering or guide you through troubleshooting steps. <!-- 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/9e073d3c-0e20-45b1-aafe-e8b31ec59254?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/9e073d3c-0e20-45b1-aafe-e8b31ec59254?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/9e073d3c-0e20-45b1-aafe-e8b31ec59254?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/9e073d3c-0e20-45b1-aafe-e8b31ec59254?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/9e073d3c-0e20-45b1-aafe-e8b31ec59254?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/9e073d3c-0e20-45b1-aafe-e8b31ec59254?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/9e073d3c-0e20-45b1-aafe-e8b31ec59254?feedback_type=other)</sup> [![Open in Cursor](https://dosu.dev/dosu-in-cursor.svg)](https://cursor.com/link/prompt?text=Right%20now%2C%20both%20internal%20knowledge%20%28due%20to%20the%20chunking/overlap%20bug%29%20and%20external%20knowledge%20%28due%20to%20the%20LlamaCloud%20plugin%20compatibility%20issue%29%20are%20not%20working%20reliably%20in%20Dify%20Cloud.%20The%20chunking%20bug%E2%80%94where%20documents%20get%20stuck%20in%20the%20%22Queuing%22%20state%20or%20chunk%20settings%20fail%E2%80%94has%20been%20fixed%20in%20newer%20code%2C%20but%20the%20fix%20hasn%27t%20been%20deployed%20to%20the%20cloud%20yet%2C%20and%20there%E2%80%99s%20no%20official%20ETA%20for%20when%20it%20will%20be%20live.%20There%20are%20no%20documented%20workarounds%20for%20cloud%20users%20except%20waiting%20for%20a%20platform%20update%3B%20reverting%20to%20older%20versions%20only%20helps%20for%20self-hosted%20setups%20%5B%5Bsource%5D%28https%3A//github.com/langgenius/dify/issues/28404%29%5D.%0A%0AFor%20the%20LlamaCloud%20plugin%2C%20the%20main%20issue%20is%20a%20mismatch%20between%20how%20Dify%20validates%20endpoints%20and%20how%20the%20plugin%20expects%20requests.%20This%20causes%20persistent%20connection%20failures%2C%20especially%20in%20cloud%20deployments%2C%20and%20there%E2%80%99s%20no%20timeline%20or%20recent%20code%20changes%20addressing%20this%20compatibility%20problem%20%5B%5Bsource%5D%28https%3A//github.com/langgenius/dify-official-plugins/issues/2136%29%5D.%20The%20only%20actionable%20steps%20are%20to%20double-check%20endpoint%20formatting%2C%20ensure%20public%20accessibility%2C%20and%20re-add%20the%20API%20if%20the%20endpoint%20changes%2C%20but%20these%20don%E2%80%99t%20resolve%20the%20underlying%20bug.%0A%0AI%20know%20this%20is%20frustrating%E2%80%94there%E2%80%99s%20no%20official%20ETA%20for%20fixes%20on%20either%20front.%20The%20best%20way%20to%20track%20progress%20is%20to%20monitor%20GitHub%20issues%20and%20release%20notes%20for%20updates.%20If%20you%20want%20to%20dig%20deeper%20or%20share%20logs%2C%20I%20can%20help%20format%20info%20for%20engineering%20or%20guide%20you%20through%20troubleshooting%20steps.)&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/2163)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-official-plugins#845