openclaw使用nginx反代部署过程 与disconnected (1008): pairing required解决

宝塔后台设置nginx反向代理

目标url:

|------------------------|
| http://127.0.0.1:65530 |

发送域名:

127.0.0.1

disconnected (1008): pairing required解决

根据官网内容

Control UI over HTTP

The Control UI needs a secure context (HTTPS or localhost) to generate device identity. If you enable gateway.controlUi.allowInsecureAuth, the UI falls back to token-only auth and skips device pairing when device identity is omitted. This is a security downgrade---prefer HTTPS (Tailscale Serve) or open the UI on 127.0.0.1.For break-glass scenarios only, gateway.controlUi.dangerouslyDisableDeviceAuth disables device identity checks entirely. This is a severe security downgrade; keep it off unless you are actively debugging and can revert quickly.openclaw security audit warns when this setting is enabled.

在openclaw.json中加入

javascript 复制代码
  "gateway": {
    "port": 65530,
    "mode": "local",
    "bind": "loopback",
    "controlUi": {
      "allowInsecureAuth": true
    },
相关推荐
kyriewen13 小时前
我花3天抓了一个幽灵bug,凶手藏在第4层
前端·javascript·程序员
Wang's Blog14 小时前
Java框架快速入门: Spring Security+OAuth2之JWT核心概念与实战
java·spring·log4j
Dreams_l14 小时前
死信队列和延迟队列介绍
java·开发语言
IT_陈寒14 小时前
Java里用Stream.parallel()翻车实录,这性能还不如单线程
前端·人工智能·后端
Bs_MoneyMagnet14 小时前
基于springboot+vue的生态果园采摘预约系统的设计与实现 源码+文档
java·vue.js·spring boot·后端·毕业设计·计算机毕业设计
wangchunyu11414 小时前
JavaScript 零基础入门教程
前端
麻瓜code14 小时前
【JUC】AQS enq() 自旋入队
java
hanchenxing14 小时前
前端异步任务三方案:Celery vs Redis Stream vs BullMQ 实战对比消息队列
前端·数据库·redis·异步任务·方案对比
Wang's Blog15 小时前
Java框架快速入门: Spring Security+OAuth2之核心角色与授权流程
java·spring·github
hai_android15 小时前
Kotlin Flow combine 源码剖析:一个 Channel 如何优雅合并多条流
android·java·kotlin