Issue: Telegram media uploads fail in OpenClaw (Windows)
What I’m trying to do:
Send images/files via Telegram to my OpenClaw agent.
What happens instead:
Text messages work, but any file upload fails with:
⚠️ Failed to download media. Please try again.
Relevant logs:
telegram-auto-reply: Error: EPERM: operation not permitted, fsync
media fetch failed
fetch timeout → https://api.telegram.org/getMe
DNS-resolved IP unreachable
Environment:
Windows 11
Node v24.14.0
OpenClaw 2026.5.3
Running as Windows service via NSSM (also tested manually with openclaw gateway run)
Telegram bot connected and responding to text
What I’ve already tried:
Verified permissions (icacls) → full access OK
Manual Node fsync test → works
Moved media folder + tested different temp paths
Added Defender exclusions
Installed sharp and verified it works
Tested with and without NSSM (same issue)
Tried forcing IPv4 (--dns-result-order=ipv4first)
Confirmed small files (56kb) still fail
No duplicate gateway processes
Attempted downgrade (didn’t complete yet due to file lock)
Notes:
Issue persists regardless of service/manual run
Text works reliably, only media fails
Looks like Telegram fetch + file write step failing inside OpenClaw