Skip to content

[Bug]: OpenClaw 2026.3.7 Windows Setup Failure: Complete Debug Log #39758

@LI1966

Description

@LI1966

Bug type

Regression (worked before, now fails)

Summary

Issue Summary

OpenClaw 2026.3.7 on Windows 11 fails to authenticate with DeepSeek API, consistently returning 401 Missing Authentication header, despite the API key being valid (verified via curl).

Environment

Item | Details -- | -- OS | Windows 11 Pro 23H2 OpenClaw Version | 2026.3.7 Node.js | v24.13.1 Target Model | DeepSeek Chat (via OpenRouter) API Key | sk-606ceb0b4ad24a829b5629f219f3bda0 (confirmed working)

🦞 OpenClaw 2026.pdf

Steps to reproduce

排查过程 | Debug Timeline
阶段一:基础安装和启动 | Phase 1: Basic Installation ✅
powershell
npm install -g openclaw@latest
openclaw onboard
openclaw gateway --port 18789
结果 Result:

text
[gateway] listening on ws://127.0.0.1:18789 (PID 24368)
[gateway] agent model: openrouter/deepseek/deepseek-chat
✅ 服务启动成功 | Service started successfully

阶段二:配置 DeepSeek API | Phase 2: API Configuration ❌
尝试的配置方式 | Attempted methods:

向导配置 | Onboarding wizard

powershell
openclaw onboard
选择 OpenRouter,输入 API Key

手动修改配置文件 | Manual config edit

json
{
"auth": {
"profiles": {
"openrouter:default": {
"provider": "openrouter",

Expected behavior

,fix it for us.

Actual behavior

gateway models

OpenClaw version

2026.3.7

Operating system

win11

Install method

npm

Logs, screenshots, and evidence

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