OpenClaw Gateway 频繁断开/重启问题诊断

OpenClaw v2026.3.13版本 自动断开服务问题:

PS C:\Users\13400> openclaw cron list

12:32:05 plugins feishu_doc: Registered feishu_doc, feishu_app_scopes

12:32:05 plugins feishu_chat: Registered feishu_chat tool

12:32:05 plugins feishu_wiki: Registered feishu_wiki tool

12:32:05 plugins feishu_drive: Registered feishu_drive tool

12:32:05 plugins feishu_bitable: Registered bitable tools

gateway connect failed: Error: gateway closed (1000):

◇

Error: gateway closed (1000 normal closure): no close reason

Gateway target: ws://127.0.0.1:18789

Source: local loopback

Config: C:\Users\13400\.openclaw\openclaw.json

Bind: loopback

12:32:05 ws handshake timeout conn=1db993d9-b28c-4531-bbd1-6bee24a0f7a4 remote=127.0.0.1

12:32:05 ws closed before connect conn=1db993d9-b28c-4531-bbd1-6bee24a0f7a4 remote=127.0.0.1 fwd=n/a origin=n/a host=127.0.0.1:18789 ua=n/a code=1000 reason=n/a

目前GitHub有以及提了bug修复,并且合并到了主分支,等待最新发版会修复这个问题。

问题描述:

网关客户端在连接握手时2秒后超时,而服务器的握手超时为3秒。这导致CLI命令在认证超过2秒时失败。openclaw nodes list``gateway closed (1000 normal closure): no close reason

举措:

默认延迟从2000毫秒改成4000毫秒,以确保客户端在服务器完成认证前不会超时。connectChallengeTimeoutMs

相关:

GitHub修复: #45918

相关推荐
静以修身zzz3 小时前
OpenStack对象存储-Swift、OpenStack编排管理-heat、OpenStack网络管理-neutron
linux·运维·服务器·架构·openstack·swift
2501_915921433 小时前
KXBuild CI 实操,Windows/Linux 服务器接入 Jenkins 打包 iOS IPA
服务器·windows·vscode·ios·ci/cd·个人开发·敏捷流程
Gauss松鼠会3 小时前
GaussDB 整体架构解析
运维·服务器·网络·数据库·sql·架构·gaussdb
一技安身3 小时前
MySQL 8.4.13 LTS 通用二进制包(Linux免安装版)完整教程
linux·mysql·adb
迷途之人不知返3 小时前
【动态库与静态库】-3-静态链接与加载
linux
Gauss松鼠会4 小时前
GaussDB 中 gsql 与 DBeaver(JDBC)客户端工具查询时间不一致:原因、排查与处理
运维·服务器·数据库·sql·gaussdb·经验总结
谙弆悕博士4 小时前
debian快速换源
linux·运维·windows·debian·下载·换源·网络问题
.道阻且长.4 小时前
Linux基本开发工具:编译器gcc/g++
linux·运维·服务器·职场和发展
Industio_触觉智能4 小时前
瑞芯微RK系列调试工具与量产测试手册-上|串口日志打通与JTAG兜底调试
linux·sdk·jtag·瑞芯微·调试工具·rk3576·量产调试
HideF13 小时前
Linux
linux·服务器·网络