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

相关推荐
玖石书6 分钟前
WSL2 手动安装 Ubuntu 24.04 到指定磁盘位置
linux·运维·ubuntu·wsl
库玛西1 小时前
深入浅出传输层:UDP 与 TCP 协议全景指南
linux·服务器·网络·c++·笔记·tcp/ip·udp
随便做点啥1 小时前
32卡-64G-910B4-16后端-(Qwen3.8-27B-W8A8)集群部署报告
运维·服务器·经验分享·docker·vllm
薛定谔的悦5 小时前
储能 EMS 的功率策略:从一块电表到一次逆流的 200 毫秒
大数据·linux·能源·储能·bms
新时代牛马8 小时前
Linux 内核入门地图:架构、源码目录与五大子系统
linux·运维·架构
Julien20048 小时前
控制 SELinux 文件上下文
linux·运维·服务器
sulikey8 小时前
Linux Core Dump 完全指南:从原理到实战的崩溃调试手册。什么是core dump?程序报错core dumped怎么办?
linux·服务器·操作系统·调试·coredump
Lifangyun_WD8 小时前
第一次租 GPU 服务器怎么开始?镜像、SSH、数据存储和停机前要做什么
服务器·云计算·gpu算力·gpu算力租赁
DevLoom_9 小时前
SD卡插电脑提示:驱动器中的磁盘未被格式化?恢复数据正确处理步骤
运维·服务器·电脑
MayZork11 小时前
Windows 与 Linux 下 vcpkg 的安装部署指南
linux·运维·windows