openclaw - 💡(How to fix) Fix [Bug]: [Bug]: Requests abort after ~1 minute with Request timed out before a response was generated despite agents.defaults.timeoutSeconds set to 18 minutes [2 comments, 3 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#59604Fetched 2026-04-08 02:42:41
View on GitHub
Comments
2
Participants
3
Timeline
12
Reactions
1
Author
Timeline (top)
subscribed ×5commented ×2cross-referenced ×2labeled ×2

OpenClaw aborts requests after about 1 minute with Request timed out before a response was generated even though agents.defaults.timeoutSeconds is set to 18 minutes.

<img width="1050" height="537" alt="Image" src="https://github.com/user-attachments/assets/963947c8-09cf-4902-88f4-76ea46eb40e4" />

Error Message

agents.defaults.timeoutSeconds is set to 1080 seconds. Observed backend error at the same time is Ollama HTTP 499.

Root Cause

Observed regression in 2026.2.17. User reports downgrade is not possible. Practical result: software is not usable for longer-running tasks because requests are aborted far before the configured timeout.

Code Example

Request timed out before a response was generated. Please try again, or increase agents.defaults.timeoutSeconds in your config.
RAW_BUFFERClick to expand / collapse

Bug type

v2026.4.1 Behavior bug (incorrect output/state without crash) serious bug renders software unusable

Beta release blocker

No

Summary

OpenClaw aborts requests after about 1 minute with Request timed out before a response was generated even though agents.defaults.timeoutSeconds is set to 18 minutes.

<img width="1050" height="537" alt="Image" src="https://github.com/user-attachments/assets/963947c8-09cf-4902-88f4-76ea46eb40e4" />

Steps to reproduce

Set agents.defaults.timeoutSeconds to 1080 in the OpenClaw config. Start OpenClaw with Ollama as the model backend. Send a request that runs longer than about 1 minute. Observe that OpenClaw aborts the request with Request timed out before a response was generated. Please try again, or increase agents.defaults.timeoutSeconds in your config. Observe Ollama reporting HTTP 499 at about the same time.

Expected behavior

A request should remain open up to the configured agents.defaults.timeoutSeconds value of 1080 seconds unless another documented timeout overrides it.

<img width="1339" height="400" alt="Image" src="https://github.com/user-attachments/assets/df0c0290-dee3-4fdd-b4ef-5ad360480d04" />

Actual behavior

OpenClaw closes the request after about 1 minute and shows Request timed out before a response was generated. Please try again, or increase agents.defaults.timeoutSeconds in your config. The configured timeout is already 18 minutes. Ollama logs show HTTP 499 at about the same time.

<img width="956" height="221" alt="Image" src="https://github.com/user-attachments/assets/24f9adda-4243-410e-8ba0-8da3af5ea03a" />

OpenClaw version

v2026.4.1

Operating system

win11

Install method

npm

Model

ollama/qwen3.5:27b

Provider / routing chain

openclaw -> ollama

Additional provider/model setup details

agents.defaults.timeoutSeconds is set to 1080 seconds. Observed backend error at the same time is Ollama HTTP 499.

Logs, screenshots, and evidence

Request timed out before a response was generated. Please try again, or increase agents.defaults.timeoutSeconds in your config.

Impact and severity

agents.defaults.timeoutSeconds = 1080

Additional information

Observed regression in 2026.2.17. User reports downgrade is not possible. Practical result: software is not usable for longer-running tasks because requests are aborted far before the configured timeout.

Wenn du willst, formuliere ich dir daraus noch eine härtere GitHub-Version auf Englisch.

extent analysis

TL;DR

The issue can be mitigated by investigating and adjusting the timeout settings in the OpenClaw configuration and the Ollama model backend to ensure consistency and to identify any overriding timeouts.

Guidance

  • Review the OpenClaw configuration to ensure that agents.defaults.timeoutSeconds is correctly set to 1080 seconds and that there are no other timeout settings that could be overriding this value.
  • Investigate the Ollama model backend to understand why it is reporting an HTTP 499 error at the same time OpenClaw aborts the request, as this may indicate a timeout or other issue on the backend.
  • Verify that the version of Ollama being used (ollama/qwen3.5:27b) does not have a known issue with timeouts or compatibility with OpenClaw version v2026.4.1.
  • Consider testing with a different model backend to isolate if the issue is specific to the Ollama backend or a more general issue with OpenClaw.

Example

No specific code example can be provided without more details on the configuration files or codebase, but ensuring the timeout settings are correctly applied in the OpenClaw configuration file (e.g., config.json or similar) is crucial.

Notes

The issue seems to be related to a mismatch or override of the timeout settings between OpenClaw and the Ollama backend. The fact that downgrading is not possible and the software is unusable for longer tasks highlights the need for a prompt resolution.

Recommendation

Apply workaround: Adjust the timeout settings in both OpenClaw and the Ollama model backend to ensure they are consistent and not being overridden, and monitor the behavior to see if the issue persists. This approach is recommended because it directly addresses the potential root cause of the problem without requiring a version upgrade, which may not be feasible given the constraints mentioned.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

A request should remain open up to the configured agents.defaults.timeoutSeconds value of 1080 seconds unless another documented timeout overrides it.

<img width="1339" height="400" alt="Image" src="https://github.com/user-attachments/assets/df0c0290-dee3-4fdd-b4ef-5ad360480d04" />

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING