DuckDuckGo AI Chat plugin returns ERR_BN_LIMIT error #649

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

Originally created by @lnkiai on GitHub (Sep 15, 2025).

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues Dify issues & Dify Official Plugins, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.8.1

Plugin version

0.0.5

Cloud or Self Hosted

Cloud

Steps to reproduce

  1. Install and configure the DuckDuckGo plugin in Dify
  2. Create a chatflow that uses the DuckDuckGo AI Chat node
  3. Attempt to send a query through the DuckDuckGo AI Chat plugin
  4. The plugin fails and returns an ERR_BN_LIMIT error
  5. This appears to be related to rate limiting or bandwidth restrictions from DuckDuckGo's service

✔️ Error log

ERR_BN_LIMIT: DuckDuckGo AI Chat service has returned a bandwidth or rate limit error. This error occurs when the plugin attempts to query the DuckDuckGo AI Chat API but receives a limitation response from their service.
Originally created by @lnkiai on GitHub (Sep 15, 2025). ### Self Checks - [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 [Dify issues](https://github.com/langgenius/dify/issues) & [Dify Official Plugins](https://github.com/langgenius/dify-official-plugins/issues), including closed ones. - [x] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version 1.8.1 ### Plugin version 0.0.5 ### Cloud or Self Hosted Cloud ### Steps to reproduce 1. Install and configure the DuckDuckGo plugin in Dify 2. Create a chatflow that uses the DuckDuckGo AI Chat node 3. Attempt to send a query through the DuckDuckGo AI Chat plugin 4. The plugin fails and returns an ERR_BN_LIMIT error 5. This appears to be related to rate limiting or bandwidth restrictions from DuckDuckGo's service ### ✔️ Error log ``` ERR_BN_LIMIT: DuckDuckGo AI Chat service has returned a bandwidth or rate limit error. This error occurs when the plugin attempts to query the DuckDuckGo AI Chat API but receives a limitation response from their service.
yindo added the bug label 2026-02-16 10:20:04 -05:00
yindo closed this issue 2026-02-16 10:20:04 -05:00
Author
Owner

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

Hi @lnkiai! I'm Dosu and I’m helping the dify-official-plugins team.

The ERR_BN_LIMIT error is a rate limit or bandwidth restriction returned directly from DuckDuckGo's service when using the DuckDuckGo AI Chat plugin. The plugin itself does not handle or mitigate this error—it simply passes along what it receives from the DuckDuckGo API via the duckduckgo-search library. This issue can occur regardless of whether you're using Dify Cloud or self-hosted deployments, and is not caused by your Dify configuration or environment.

A known workaround is to ensure you are using duckduckgo-search version 7.2.1, which has helped mitigate rate limit errors for some users. If you have access to your environment, you can try updating the package and restarting the relevant service. Otherwise, you may need to wait for the rate limit to reset, reduce the frequency of your requests, or consider using the plugin's proxy_server option to route requests through a different server if appropriate. More details and steps are available in this issue and this related thread.

There is currently no retry or advanced error handling logic in the plugin, so persistent rate limiting must be managed by adjusting usage or waiting for the external service to lift the restriction.

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 (Sep 15, 2025): <!-- Greeting --> Hi @lnkiai! I'm [Dosu](https://go.dosu.dev/dosubot) and I’m helping the dify-official-plugins team. <!-- Answer --> The ERR_BN_LIMIT error is a rate limit or bandwidth restriction returned directly from DuckDuckGo's service when using the DuckDuckGo AI Chat plugin. The plugin itself does not handle or mitigate this error—it simply passes along what it receives from the DuckDuckGo API via the duckduckgo-search library. This issue can occur regardless of whether you're using Dify Cloud or self-hosted deployments, and is not caused by your Dify configuration or environment. A known workaround is to ensure you are using duckduckgo-search version 7.2.1, which has helped mitigate rate limit errors for some users. If you have access to your environment, you can try updating the package and restarting the relevant service. Otherwise, you may need to wait for the rate limit to reset, reduce the frequency of your requests, or consider using the plugin's proxy_server option to route requests through a different server if appropriate. More details and steps are available in [this issue](https://github.com/langgenius/dify/issues/12307) and [this related thread](https://github.com/langgenius/dify-official-plugins/issues/1354). There is currently no retry or advanced error handling logic in the plugin, so persistent rate limiting must be managed by adjusting usage or waiting for the external service to lift the restriction. <!-- 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/557cd259-2cc1-42cb-a974-d10be5283066?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/557cd259-2cc1-42cb-a974-d10be5283066?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/557cd259-2cc1-42cb-a974-d10be5283066?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/557cd259-2cc1-42cb-a974-d10be5283066?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/557cd259-2cc1-42cb-a974-d10be5283066?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/557cd259-2cc1-42cb-a974-d10be5283066?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/557cd259-2cc1-42cb-a974-d10be5283066?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/1715)
Author
Owner

@crazywoola commented on GitHub (Sep 17, 2025):

This message is clear enough.

ERR_BN_LIMIT: DuckDuckGo AI Chat service has returned a bandwidth or rate limit error. This error occurs when the plugin attempts to query the DuckDuckGo AI Chat API but receives a limitation response from their service.

@crazywoola commented on GitHub (Sep 17, 2025): This message is clear enough. ERR_BN_LIMIT: DuckDuckGo AI Chat service has returned a bandwidth or rate limit error. This error occurs when the plugin attempts to query the DuckDuckGo AI Chat API but receives a limitation response from their service.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-official-plugins#649