#6762·searxng

duckduckgo_web hardcodes timeout and ignores global settings

Author: quackerdCreated Sep 20, 2026Updated Sep 22, 2026
Labelsgood first issuebug

Description

The duckduckgo_web engine passes timeout=2 explicitly to searx.network.get, which overrides the thread timeout set from outgoing.request_timeout. There is no way to tune it via settings. With added latency such as a challenge solver via MITM proxy, this regularly fails and suspends the engine (ban_time_on_fail).

This setting should follow the global timeout or at least be extended to a bare minimum of 5-10 seconds.

How to reproduce

Use duckduckgo_web engine and proxy it via a solver such as Trawl. Issue a search request and inspect searxng log:

WARNING:searx.engines.duckduckgo web: ErrorContext('searx/engines/duckduckgo_web.py', 72, 'resp = get(', 'curl_cffi.requests.exceptions.Timeout', None, (None, None, 'duckduckgo.com')) False

Screenshots & Logs

No response

Version of SearXNG

2026.9.19-e831fc2a1

How did you install SearXNG?

Docker Compose

Code of Conduct

  • I read the AI Policy and hereby confirm that this issue conforms with the policy.