mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[GH-ISSUE #19734] issue: Firecrawl web loader times out after 3 seconds (ignoring environment variables) #57640
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Sorkai on GitHub (Dec 4, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/19734
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.6.41
Ollama Version (if applicable)
No response
Operating System
Windows 11 Version 25H2 (Build 26200.7309)
Browser (if applicable)
Microsoft Edge 142.0.3595.94
Confirmation
README.md.Expected Behavior
Web Loader (Firecrawl): The firecrawl loader should respect the environment variable timeouts (e.g., RAG_WEB_SEARCH_TIMEOUT) or have a reasonable default > 3 seconds.
Actual Behavior
When using the firecrawl Web Loader Engine, scrape jobs consistently fail with a TimeoutError after exactly 3 seconds. This timeout duration is too short for most real-world web pages. I have attempted to increase the timeout using environment variables (e.g., RAG_WEB_SEARCH_TIMEOUT=60), but the 3-second limit persists, suggesting it might be hardcoded or the configuration is not being applied to the Firecrawl client.
Steps to Reproduce
Logs & Screenshots
1Panel-ollama-webui-9dLT-20251204122843.log
Additional Information
I attempted to set RAG_WEB_SEARCH_TIMEOUT=60 in environment variables, but the loader persisted with a 3-second timeout.
@owui-terminator[bot] commented on GitHub (Dec 4, 2025):
🔍 Similar Issues Found
I found some existing issues that might be related to this one. Please check if any of these are duplicates or contain helpful solutions:
#13169 issue: Unable to get self-hosted Firecrawl Web Loader Engine to work
by MikeNatC • Apr 23, 2025 •
bug#14746 issue: Bypass Web Loader in Web Search not working
by williamgateszhao • Jun 07, 2025 •
bug#19085 issue: Chat UI loads forever instead of showing error
by TamKej • Nov 10, 2025 •
bug#15375 issue: When my Open-WebUI generation exits directly without interruption midway, re-entering the dialog box will result in a loop on the loading screen.
by Frost2002 • Jun 28, 2025 •
bug#16747 issue: API Timeout after 100 seconds with Long-Running Tools (e.g., Web Search)
by ldpg-dev • Aug 20, 2025 •
bugShow 5 more related issues
#11528 issue: "Loading" state persists when using minicpm-v in OpenWebUI
by ckappgit • Mar 11, 2025 •
bug#16900 issue: Long running MCP tool calls result in timeout
by dionny • Aug 25, 2025 •
bug#18973 issue: cannot import name 'Firecrawl' from 'firecrawl'
by gwolf2u • Nov 06, 2025 •
bug#16974 issue: chat loads forever without user feedback on error
by johnnyasantoss • Aug 27, 2025 •
bug#19438 issue: Icon loading regression
by JoelShepard • Nov 24, 2025 •
bug💡 Tips:
This comment was generated automatically by a bot. Please react with a 👍 if this comment was helpful, or a 👎 if it was not.
@borisboc commented on GitHub (Dec 7, 2025):
Hello. Indeed I don't see such timeout variable for FireCrawl. However, there is one for PlayWrigth (see PLAYWRIGHT_TIMEOUT). And in my PR #19804 , there is one timeout for the default safe_web. This will be called SAFE_WEBLOADER_TIMEOUT
@Sorkai commented on GitHub (Dec 8, 2025):
Thank you for your response. I've saw your PR and greatly appreciate your fixes. Looking forward to merging the code and deploying it.
@borisboc commented on GitHub (Dec 8, 2025):
It is now in the dev branch :
b02397e460@Classic298 commented on GitHub (Dec 11, 2025):
@borisboc can this be closed?
@borisboc commented on GitHub (Dec 11, 2025):
Sorry : the merged modifications were made for the
SafeWebBaseLoader(meaningWEB_LOADER_ENGINE.value == "safe_web") but NOT forSafeFireCrawlLoader(meaningWEB_LOADER_ENGINE.value == "firecrawl"). So I guess the issue cannot be closed. An alternative for @Sorkai is to use the"safe_web"rather than the"firecrawl", since safe_web has now a timeout. But, aside from the timeout, the 2 web loader are fairly different and I am not sure @Sorkai is OK to use "safe_web" rather than "firecrawl".@Classic298 commented on GitHub (Dec 14, 2025):
PR welcome
@borisboc commented on GitHub (Dec 15, 2025):
Hello all. This is normally corrected in PR #19964 (commit
5f6baf0a86). Please note @Sorkai that the timeout is in milliseconds, not in seconds. So formerly, in the main code, the timeout was 3*count (count beeing the number of different requests to send, default was 3) defaulting to 9ms. However, for my small tests (searching for the price of NVIDIA DGX Spark) even 1 ms timeout was "working".@silentoplayz commented on GitHub (Jan 18, 2026):
I'm pretty sure this can be closed with
89ad1c68d1.