Skip to content

[Bug]: 只要设置一些需要重新启动网关的选项,软件重新启动网关就会失败, 我不确定这个是否和我设置了clash verge代理服务器有关。。。。反正只要设置一些选项,重新启动网关就是 error 失败 #682

@designhack

Description

@designhack

Summary

设置参数后保存后,网关就不能启动了。。。。 重启openclaw也不行,就over了。 。 。
我设置了,模型,Agents, vpn代理服务器, 然后软件自动重启网关失败, 重启clawx,网关还是失败。。。

Steps to Reproduce

只要设置一些需要重新启动网关的选项,软件重新启动网关就会失败, 我不确定这个是否和我设置了clash verge代理服务器有关。。。。反正只要设置一些选项,重新启动网关就是 error 失败

Expected Behavior

只要设置一些需要重新启动网关的选项,软件重新启动网关就会失败, 我不确定这个是否和我设置了clash verge代理服务器有关。。。。反正只要设置一些选项,重新启动网关就是 error 失败

Actual Behavior

只要设置一些需要重新启动网关的选项,软件重新启动网关就会失败, 我不确定这个是否和我设置了clash verge代理服务器有关。。。。反正只要设置一些选项,重新启动网关就是 error 失败

Environment

os: windows11
vpn: clash verge

Logs or Screenshots

[2026-03-27T02:48:58.975Z] [WARN ] [Gateway stderr] 2026-03-27T10:48:58.974+08:00 [model-pricing] pricing bootstrap failed: TimeoutError: The operation was aborted due to timeout
[2026-03-27T02:48:59.005Z] [WARN ] Gateway WebSocket closed (code=1000, reason=unknown, handshake=pending)
[2026-03-27T02:59:49.904Z] [INFO ] [gateway-refresh] mode=restart requested pidBefore=41508
[2026-03-27T02:59:49.904Z] [INFO ] Gateway stop requested
[2026-03-27T02:59:49.904Z] [INFO ] Sending kill to Gateway process (pid=41508)
[2026-03-27T02:59:50.808Z] [INFO ] Gateway process exited (code=1, expected=yes)
[2026-03-27T02:59:50.809Z] [INFO ] Gateway start requested (port=18789)
[2026-03-27T02:59:50.996Z] [INFO ] Synced Telegram proxy to OpenClaw config (http://127.0.0.1:7897)
[2026-03-27T02:59:51.033Z] [INFO ] Starting Gateway process (mode=packaged, port=18789, entry="E:\ClawX\resources\openclaw\openclaw.mjs", args="gateway --port 18789 --token [redacted] --allow-unconfigured", cwd="E:\ClawX\resources\openclaw", bundledBin=yes, providerKeys=0, channels=enabled(telegram), proxy=http=http://127.0.0.1:7897, https=http://127.0.0.1:7897, all=http://127.0.0.1:7897)
[2026-03-27T02:59:51.270Z] [INFO ] Gateway process started (pid=41272)
[2026-03-27T02:59:56.888Z] [WARN ] [Gateway stderr] 2026-03-27T10:59:56.887+08:00 [plugins] plugins.allow is empty; discovered non-bundled plugins may auto-load: dingtalk (C:\Users\Administrator\.openclaw\extensions\dingtalk\index.ts), openclaw-lark (C:\Users\Administrator\.openclaw\extensions\feishu-openclaw-plugin\index.js), openclaw-weixin (C:\Users\Administrator\.openclaw\extensions\openclaw-weixin\index.ts), openclaw-qqbot (C:\Users\Administrator\.openclaw\extensions\qqbot\dist\index.js), wecom (C:\Users\Administrator\.openclaw\extensions\wecom\dist\index.esm.js). Set plugins.allow to explicit trusted ids.
[2026-03-27T03:00:06.618Z] [ERROR] Gateway connect handshake timed out
[2026-03-27T03:00:06.619Z] [WARN ] Transient start error: Error: Connect handshake timeout. Retrying... (1/3)
[2026-03-27T03:00:07.741Z] [INFO ] Found orphaned process listening on port 18789 (PIDs: 41272), attempting to kill...
[2026-03-27T03:00:08.647Z] [WARN ] Gateway WebSocket closed (code=1006, reason=unknown, handshake=pending)
[2026-03-27T03:00:08.649Z] [WARN ] Gateway process exited (code=1, expected=no)
[2026-03-27T03:00:10.441Z] [INFO ] Synced Telegram proxy to OpenClaw config (http://127.0.0.1:7897)
[2026-03-27T03:00:10.478Z] [INFO ] Starting Gateway process (mode=packaged, port=18789, entry="E:\ClawX\resources\openclaw\openclaw.mjs", args="gateway --port 18789 --token [redacted] --allow-unconfigured", cwd="E:\ClawX\resources\openclaw", bundledBin=yes, providerKeys=0, channels=enabled(telegram), proxy=http=http://127.0.0.1:7897, https=http://127.0.0.1:7897, all=http://127.0.0.1:7897)
[2026-03-27T03:00:10.716Z] [INFO ] Gateway process started (pid=39984)
[2026-03-27T03:00:16.375Z] [WARN ] [Gateway stderr] 2026-03-27T11:00:16.374+08:00 [plugins] plugins.allow is empty; discovered non-bundled plugins may auto-load: dingtalk (C:\Users\Administrator\.openclaw\extensions\dingtalk\index.ts), openclaw-lark (C:\Users\Administrator\.openclaw\extensions\feishu-openclaw-plugin\index.js), openclaw-weixin (C:\Users\Administrator\.openclaw\extensions\openclaw-weixin\index.ts), openclaw-qqbot (C:\Users\Administrator\.openclaw\extensions\qqbot\dist\index.js), wecom (C:\Users\Administrator\.openclaw\extensions\wecom\dist\index.esm.js). Set plugins.allow to explicit trusted ids.
[2026-03-27T03:00:26.125Z] [ERROR] Gateway connect handshake timed out
[2026-03-27T03:00:26.125Z] [WARN ] Transient start error: Error: Connect handshake timeout. Retrying... (2/3)
[2026-03-27T03:00:27.245Z] [INFO ] Found orphaned process listening on port 18789 (PIDs: 39984), attempting to kill...
[2026-03-27T03:00:28.137Z] [WARN ] Gateway WebSocket closed (code=1006, reason=unknown, handshake=pending)
[2026-03-27T03:00:28.138Z] [WARN ] Gateway process exited (code=1, expected=no)
[2026-03-27T03:00:29.935Z] [INFO ] Synced Telegram proxy to OpenClaw config (http://127.0.0.1:7897)
[2026-03-27T03:00:29.968Z] [INFO ] Starting Gateway process (mode=packaged, port=18789, entry="E:\ClawX\resources\openclaw\openclaw.mjs", args="gateway --port 18789 --token [redacted] --allow-unconfigured", cwd="E:\ClawX\resources\openclaw", bundledBin=yes, providerKeys=0, channels=enabled(telegram), proxy=http=http://127.0.0.1:7897, https=http://127.0.0.1:7897, all=http://127.0.0.1:7897)
[2026-03-27T03:00:30.197Z] [INFO ] Gateway process started (pid=41164)
[2026-03-27T03:00:35.844Z] [WARN ] [Gateway stderr] 2026-03-27T11:00:35.843+08:00 [plugins] plugins.allow is empty; discovered non-bundled plugins may auto-load: dingtalk (C:\Users\Administrator\.openclaw\extensions\dingtalk\index.ts), openclaw-lark (C:\Users\Administrator\.openclaw\extensions\feishu-openclaw-plugin\index.js), openclaw-weixin (C:\Users\Administrator\.openclaw\extensions\openclaw-weixin\index.ts), openclaw-qqbot (C:\Users\Administrator\.openclaw\extensions\qqbot\dist\index.js), wecom (C:\Users\Administrator\.openclaw\extensions\wecom\dist\index.esm.js). Set plugins.allow to explicit trusted ids.
[2026-03-27T03:00:45.575Z] [ERROR] Gateway connect handshake timed out
[2026-03-27T03:00:45.575Z] [ERROR] Gateway start failed (port=18789, reconnectAttempts=0, spawn=mode=packaged, entry="E:\ClawX\resources\openclaw\openclaw.mjs", args="gateway --port 18789 --token [redacted] --allow-unconfigured", cwd="E:\ClawX\resources\openclaw") Connect handshake timeout
Error: Connect handshake timeout
    at Timeout.<anonymous> (E:\ClawX\resources\app.asar\dist-electron\main\index.js:15:13498)
    at listOnTimeout (node:internal/timers:605:17)
    at process.processTimers (node:internal/timers:541:7)
[2026-03-27T03:00:50.187Z] [WARN ] [Gateway stderr] 2026-03-27T11:00:50.186+08:00 [plugins] dingtalk: loaded without install/load-path provenance; treat as untracked local code and pin trust via plugins.allow or install records (C:\Users\Administrator\.openclaw\extensions\dingtalk\index.ts)
[2026-03-27T03:00:50.189Z] [WARN ] [Gateway stderr] 2026-03-27T11:00:50.188+08:00 [plugins] openclaw-lark: loaded without install/load-path provenance; treat as untracked local code and pin trust via plugins.allow or install records (C:\Users\Administrator\.openclaw\extensions\feishu-openclaw-plugin\index.js)
[2026-03-27T03:00:50.190Z] [WARN ] [Gateway stderr] 2026-03-27T11:00:50.189+08:00 [plugins] openclaw-weixin: loaded without install/load-path provenance; treat as untracked local code and pin trust via plugins.allow or install records (C:\Users\Administrator\.openclaw\extensions\openclaw-weixin\index.ts)
[2026-03-27T03:00:50.192Z] [WARN ] [Gateway stderr] 2026-03-27T11:00:50.191+08:00 [plugins] openclaw-qqbot: loaded without install/load-path provenance; treat as untracked local code and pin trust via plugins.allow or install records (C:\Users\Administrator\.openclaw\extensions\qqbot\dist\index.js)
[2026-03-27T03:00:50.195Z] [WARN ] [Gateway stderr] 2026-03-27T11:00:50.193+08:00 [plugins] wecom: loaded without install/load-path provenance; treat as untracked local code and pin trust via plugins.allow or install records (C:\Users\Administrator\.openclaw\extensions\wecom\dist\index.esm.js)
[2026-03-27T03:00:50.730Z] [WARN ] [Gateway stderr] 2026-03-27T11:00:50.729+08:00 [plugins] dingtalk: loaded without install/load-path provenance; treat as untracked local code and pin trust via plugins.allow or install records (C:\Users\Administrator\.openclaw\extensions\dingtalk\index.ts)
[2026-03-27T03:00:50.732Z] [WARN ] [Gateway stderr] 2026-03-27T11:00:50.731+08:00 [plugins] openclaw-lark: loaded without install/load-path provenance; treat as untracked local code and pin trust via plugins.allow or install records (C:\Users\Administrator\.openclaw\extensions\feishu-openclaw-plugin\index.js)
[2026-03-27T03:00:50.734Z] [WARN ] [Gateway stderr] 2026-03-27T11:00:50.733+08:00 [plugins] openclaw-weixin: loaded without install/load-path provenance; treat as untracked local code and pin trust via plugins.allow or install records (C:\Users\Administrator\.openclaw\extensions\openclaw-weixin\index.ts)
[2026-03-27T03:00:50.735Z] [WARN ] [Gateway stderr] 2026-03-27T11:00:50.734+08:00 [plugins] openclaw-qqbot: loaded without install/load-path provenance; treat as untracked local code and pin trust via plugins.allow or install records (C:\Users\Administrator\.openclaw\extensions\qqbot\dist\index.js)
[2026-03-27T03:00:50.737Z] [WARN ] [Gateway stderr] 2026-03-27T11:00:50.736+08:00 [plugins] wecom: loaded without install/load-path provenance; treat as untracked local code and pin trust via plugins.allow or install records (C:\Users\Administrator\.openclaw\extensions\wecom\dist\index.esm.js)
[2026-03-27T03:00:51.153Z] [WARN ] [Gateway stderr] 2026-03-27T11:00:51.152+08:00 [plugins] dingtalk: loaded without install/load-path provenance; treat as untracked local code and pin trust via plugins.allow or install records (C:\Users\Administrator\.openclaw\extensions\dingtalk\index.ts)
[2026-03-27T03:00:51.155Z] [WARN ] [Gateway stderr] 2026-03-27T11:00:51.154+08:00 [plugins] openclaw-lark: loaded without install/load-path provenance; treat as untracked local code and pin trust via plugins.allow or install records (C:\Users\Administrator\.openclaw\extensions\feishu-openclaw-plugin\index.js)
[2026-03-27T03:00:51.157Z] [WARN ] [Gateway stderr] 2026-03-27T11:00:51.156+08:00 [plugins] openclaw-weixin: loaded without install/load-path provenance; treat as untracked local code and pin trust via plugins.allow or install records (C:\Users\Administrator\.openclaw\extensions\openclaw-weixin\index.ts)
[2026-03-27T03:00:51.158Z] [WARN ] [Gateway stderr] 2026-03-27T11:00:51.157+08:00 [plugins] openclaw-qqbot: loaded without install/load-path provenance; treat as untracked local code and pin trust via plugins.allow or install records (C:\Users\Administrator\.openclaw\extensions\qqbot\dist\index.js)
[2026-03-27T03:00:51.160Z] [WARN ] [Gateway stderr] 2026-03-27T11:00:51.159+08:00 [plugins] wecom: loaded without install/load-path provenance; treat as untracked local code and pin trust via plugins.allow or install records (C:\Users\Administrator\.openclaw\extensions\wecom\dist\index.esm.js)
[2026-03-27T03:00:51.590Z] [WARN ] [Gateway stderr] 2026-03-27T11:00:51.589+08:00 [plugins] dingtalk: loaded without install/load-path provenance; treat as untracked local code and pin trust via plugins.allow or install records (C:\Users\Administrator\.openclaw\extensions\dingtalk\index.ts)
[2026-03-27T03:00:51.592Z] [WARN ] [Gateway stderr] 2026-03-27T11:00:51.591+08:00 [plugins] openclaw-lark: loaded without install/load-path provenance; treat as untracked local code and pin trust via plugins.allow or install records (C:\Users\Administrator\.openclaw\extensions\feishu-openclaw-plugin\index.js)
[2026-03-27T03:00:51.593Z] [WARN ] [Gateway stderr] 2026-03-27T11:00:51.593+08:00 [plugins] openclaw-weixin: loaded without install/load-path provenance; treat as untracked local code and pin trust via plugins.allow or install records (C:\Users\Administrator\.openclaw\extensions\openclaw-weixin\index.ts)
[2026-03-27T03:00:51.595Z] [WARN ] [Gateway stderr] 2026-03-27T11:00:51.594+08:00 [plugins] openclaw-qqbot: loaded without install/load-path provenance; treat as untracked local code and pin trust via plugins.allow or install records (C:\Users\Administrator\.openclaw\extensions\qqbot\dist\index.js)
[2026-03-27T03:00:51.597Z] [WARN ] [Gateway stderr] 2026-03-27T11:00:51.596+08:00 [plugins] wecom: loaded without install/load-path provenance; treat as untracked local code and pin trust via plugins.allow or install records (C:\Users\Administrator\.openclaw\extensions\wecom\dist\index.esm.js)
[2026-03-27T03:00:51.621Z] [WARN ] [Gateway stderr] 2026-03-27T11:00:51.620+08:00 [bonjour] watchdog detected non-announced service; attempting re-advertise (gateway fqdn=SD-20250314FFCZ (OpenClaw)._openclaw-gw._tcp.local. host=openclaw.local. port=18789 state=probing)
[2026-03-27T03:00:51.627Z] [WARN ] [Gateway stderr] 2026-03-27T11:00:51.625+08:00 [ws] handshake timeout conn=d4651dd8-a877-460e-90d6-6d0d69b8b4ed remote=::1
[2026-03-27T03:00:51.628Z] [WARN ] [Gateway stderr] 2026-03-27T11:00:51.628+08:00 [ws] handshake timeout conn=e7ea786c-b551-423e-b991-ffa08082a506 remote=127.0.0.1
[2026-03-27T03:00:51.631Z] [WARN ] [Gateway stderr] 2026-03-27T11:00:51.630+08:00 [model-pricing] pricing bootstrap failed: TimeoutError: The operation was aborted due to timeout
[2026-03-27T03:00:51.662Z] [WARN ] Gateway WebSocket closed (code=1000, reason=unknown, handshake=pending)
[2026-03-27T03:00:51.687Z] [WARN ] [Gateway stderr] 2026-03-27T11:00:51.686+08:00 [ws] closed before connect conn=e7ea786c-b551-423e-b991-ffa08082a506 remote=127.0.0.1 fwd=n/a origin=http://127.0.0.1:18789 host=127.0.0.1:18789 ua=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36 QuarkPC/6.6.0.776 code=1000 reason=n/a
[2026-03-27T03:01:10.944Z] [INFO ] Gateway stop requested
[2026-03-27T03:01:10.944Z] [INFO ] Sending kill to Gateway process (pid=41164)
[2026-03-27T03:01:11.802Z] [INFO ] Gateway process exited (code=1, expected=yes)

================================================================================
[2026-03-27T03:01:22.178Z] === ClawX Session Start (v0.3.1) ===
================================================================================
[2026-03-27T03:01:22.179Z] [INFO ] === ClawX Application Starting ===
[2026-03-27T03:01:22.184Z] [INFO ] Region optimization enabled via locale/timezone (locale=zh-CN, tz=Asia/Shanghai)
[2026-03-27T03:01:22.702Z] [INFO ] Applied Electron proxy (fixed_servers, server=http=http://127.0.0.1:7897;https=http://127.0.0.1:7897;http://127.0.0.1:7897, bypass=<local>;localhost;127.0.0.1;::1)
[2026-03-27T03:01:22.704Z] [INFO ] Launch-at-startup disabled via login items
[2026-03-27T03:01:22.839Z] [INFO ] Host API server listening on http://127.0.0.1:3210
[2026-03-27T03:01:22.865Z] [INFO ] Gateway start requested (port=18789)
[2026-03-27T03:01:23.097Z] [INFO ] Synced Telegram proxy to OpenClaw config (http://127.0.0.1:7897)
[2026-03-27T03:01:23.141Z] [INFO ] Starting Gateway process (mode=packaged, port=18789, entry="E:\ClawX\resources\openclaw\openclaw.mjs", args="gateway --port 18789 --token [redacted] --allow-unconfigured", cwd="E:\ClawX\resources\openclaw", bundledBin=yes, providerKeys=0, channels=enabled(telegram), proxy=http=http://127.0.0.1:7897, https=http://127.0.0.1:7897, all=http://127.0.0.1:7897)
[2026-03-27T03:01:23.382Z] [INFO ] Gateway process started (pid=44264)
[2026-03-27T03:01:23.427Z] [WARN ] [provider-migration] Legacy HTTP route "GET /api/providers" is deprecated. Prefer /api/provider-accounts endpoints.
[2026-03-27T03:01:23.427Z] [WARN ] [provider-migration] Legacy provider API "listLegacyProvidersWithKeyInfo" is deprecated. Migrate to "listAccounts".
[2026-03-27T03:01:23.427Z] [WARN ] [provider-migration] Legacy provider API "listLegacyProviders" is deprecated. Migrate to "listAccounts".
[2026-03-27T03:01:29.168Z] [WARN ] [Gateway stderr] 2026-03-27T11:01:29.167+08:00 [plugins] plugins.allow is empty; discovered non-bundled plugins may auto-load: dingtalk (C:\Users\Administrator\.openclaw\extensions\dingtalk\index.ts), openclaw-lark (C:\Users\Administrator\.openclaw\extensions\feishu-openclaw-plugin\index.js), openclaw-weixin (C:\Users\Administrator\.openclaw\extensions\openclaw-weixin\index.ts), openclaw-qqbot (C:\Users\Administrator\.openclaw\extensions\qqbot\dist\index.js), wecom (C:\Users\Administrator\.openclaw\extensions\wecom\dist\index.esm.js). Set plugins.allow to explicit trusted ids.
[2026-03-27T03:01:38.907Z] [ERROR] Gateway connect handshake timed out
[2026-03-27T03:01:38.908Z] [WARN ] Transient start error: Error: Connect handshake timeout. Retrying... (1/3)
[2026-03-27T03:01:40.026Z] [INFO ] Found orphaned process listening on port 18789 (PIDs: 44264), attempting to kill...
[2026-03-27T03:01:40.873Z] [WARN ] Gateway WebSocket closed (code=1006, reason=unknown, handshake=pending)
[2026-03-27T03:01:40.873Z] [WARN ] Gateway process exited (code=1, expected=no)
[2026-03-27T03:01:42.675Z] [INFO ] Synced Telegram proxy to OpenClaw config (http://127.0.0.1:7897)
[2026-03-27T03:01:42.708Z] [INFO ] Starting Gateway process (mode=packaged, port=18789, entry="E:\ClawX\resources\openclaw\openclaw.mjs", args="gateway --port 18789 --token [redacted] --allow-unconfigured", cwd="E:\ClawX\resources\openclaw", bundledBin=yes, providerKeys=0, channels=enabled(telegram), proxy=http=http://127.0.0.1:7897, https=http://127.0.0.1:7897, all=http://127.0.0.1:7897)
[2026-03-27T03:01:42.939Z] [INFO ] Gateway process started (pid=46560)
[2026-03-27T03:01:48.626Z] [WARN ] [Gateway stderr] 2026-03-27T11:01:48.625+08:00 [plugins] plugins.allow is empty; discovered non-bundled plugins may auto-load: dingtalk (C:\Users\Administrator\.openclaw\extensions\dingtalk\index.ts), openclaw-lark (C:\Users\Administrator\.openclaw\extensions\feishu-openclaw-plugin\index.js), openclaw-weixin (C:\Users\Administrator\.openclaw\extensions\openclaw-weixin\index.ts), openclaw-qqbot (C:\Users\Administrator\.openclaw\extensions\qqbot\dist\index.js), wecom (C:\Users\Administrator\.openclaw\extensions\wecom\dist\index.esm.js). Set plugins.allow to explicit trusted ids.
[2026-03-27T03:01:58.370Z] [ERROR] Gateway connect handshake timed out
[2026-03-27T03:01:58.371Z] [WARN ] Transient start error: Error: Connect handshake timeout. Retrying... (2/3)
[2026-03-27T03:01:59.488Z] [INFO ] Found orphaned process listening on port 18789 (PIDs: 46560), attempting to kill...
[2026-03-27T03:02:00.549Z] [WARN ] Gateway WebSocket closed (code=1006, reason=unknown, handshake=pending)
[2026-03-27T03:02:00.550Z] [WARN ] Gateway process exited (code=1, expected=no)
[2026-03-27T03:02:02.350Z] [INFO ] Synced Telegram proxy to OpenClaw config (http://127.0.0.1:7897)
[2026-03-27T03:02:02.385Z] [INFO ] Starting Gateway process (mode=packaged, port=18789, entry="E:\ClawX\resources\openclaw\openclaw.mjs", args="gateway --port 18789 --token [redacted] --allow-unconfigured", cwd="E:\ClawX\resources\openclaw", bundledBin=yes, providerKeys=0, channels=enabled(telegram), proxy=http=http://127.0.0.1:7897, https=http://127.0.0.1:7897, all=http://127.0.0.1:7897)
[2026-03-27T03:02:02.618Z] [INFO ] Gateway process started (pid=43576)
[2026-03-27T03:02:08.377Z] [WARN ] [Gateway stderr] 2026-03-27T11:02:08.376+08:00 [plugins] plugins.allow is empty; discovered non-bundled plugins may auto-load: dingtalk (C:\Users\Administrator\.openclaw\extensions\dingtalk\index.ts), openclaw-lark (C:\Users\Administrator\.openclaw\extensions\feishu-openclaw-plugin\index.js), openclaw-weixin (C:\Users\Administrator\.openclaw\extensions\openclaw-weixin\index.ts), openclaw-qqbot (C:\Users\Administrator\.openclaw\extensions\qqbot\dist\index.js), wecom (C:\Users\Administrator\.openclaw\extensions\wecom\dist\index.esm.js). Set plugins.allow to explicit trusted ids.

Pre-Submission Checklist

  • I searched existing issues and did not find a duplicate.
  • I can reproduce this issue on the latest main branch build.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions