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

相关推荐
ltl4 小时前
eBPF 可观测性全景:bcc、bpftrace、libbpf 的工程路径
linux
2401_868534785 小时前
数仓开发落地手册
linux·运维
正在走向自律6 小时前
使用atop工具监控Linux系统指标
linux·运维·php·实时监控·atop分析内存
果果燕7 小时前
实习笔记(一):NFS、Samba、VNC、Git、CMake、systemd、内核、交叉编译
linux·arm开发·c++·笔记·git
yyy(十一月限定版)8 小时前
017【入门】最小栈
linux·运维·服务器
不负岁月无痕8 小时前
简单理解操作系统结构
java·linux·c语言·开发语言·c++·面试
2401_894915539 小时前
GEO 源码部署如何实现精准地域分发?核心配置参数深度讲解
java·运维·服务器·后端·开源
Zguigo9 小时前
第25-26讲:计算机操作系统存储管理——分页机制、页表与快表(TLB)
linux·windows·笔记
常乐か10 小时前
VMware Workstation Pro 17 搭建 Ubuntu 24.04 完整指南
linux·运维·ubuntu
2401_8582861111 小时前
OS82.【Linux】设计线程池
java·linux·运维·服务器·开发语言·算法·线程池