Skip to content

[Bug]: web_fetch always fails (fetch failed) even for https://example.com, while curl works #32947

@kompunetsa

Description

@kompunetsa

Bug type

Regression (worked before, now fails)

Summary

web_fetch always fails (fetch failed) even for https://example.com, while curl works

Steps to reproduce

Repro steps

Configure web section (openclaw configure --section web) and enable web_fetch.
Image
Restart gateway.
Call web_fetch:
web_fetch("https://example.com")
Observe error: fetch failed.
Control test
Network connectivity is fine:
curl -L --max-time 20 https://example.com | head -c 200
This returns normal HTML content.

Curl ok
Image

web_fetch fail
Image

Expected behavior

web_fetch should return extracted text/markdown content.

Actual behavior

web_fetch consistently returns fetch failed (and sometimes 521 on specific sites), including on https://example.com.
No page content is returned, even though direct network test via curl works on the same machine.

OpenClaw version

2026.3.2

Operating system

Ubuntu 24.04

Install method

PNPM

Logs, screenshots, and evidence

Curl ok
Image

web_fetch fail
Image

Impact and severity

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingregressionBehavior that previously worked and now fails

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions