diff --git a/lib/client.js b/lib/client.js index f965d70..855ecbb 100644 --- a/lib/client.js +++ b/lib/client.js @@ -304,12 +304,7 @@ class ClawClient { this._wsFailCount++; log.warn('clawd', `连接断开 (${code}),失败次数=${this._wsFailCount},${this._backoff / 1000}s 后重连...`); if (this._hasEverConnected && this._wsFailCount >= 3) { - const inAp = this._provisionMgr && this._provisionMgr.isApMode(); - if (inAp || (!hasInternet() && !hasWiredInternetProbe())) { - led.display.showAP(); // AP 模式 或 无网(有线探测也无则视为无上行) - } else { - led.display.showErr0(); // STA 模式 + 有网 但 VPS 不可达 - } + led.display.showAP(); } if (this._certTimeError) { // NTP 未同步:固定 5s 重试,等时钟校正