Moltbot(Clawdbot)

Isntall & Reference

  1. GitHub:docker install
  2. Clawdbot (Moltbot) 保姆级部署教程:国内专享方案与完整避坑指南

报错和处理

disconnected (1008): control ui requires HTTPS or localhost (secure context)

  1. Nginx & 修改 nginx.conf

    server {
    listen 443 ssl;
    server_name 192.168.10.248;

    复制代码
     ssl_certificate /etc/nginx/ssl/self.crt;
     ssl_certificate_key /etc/nginx/ssl/self.key;
    
     location / {
         proxy_pass http://127.0.0.1:18789;
         
         # --- WebSocket 必须配置 (你已经有了) ---
         proxy_http_version 1.1;
         proxy_set_header Upgrade $http_upgrade;
         proxy_set_header Connection "upgrade";
    
         # --- 新增:告诉后端这是一个 HTTPS 请求 ---
         proxy_set_header Host $host; 
         proxy_set_header X-Real-IP $remote_addr;
         proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
         proxy_set_header X-Forwarded-Proto $scheme; # 关键!告诉后端是 https
     }

    }

  2. 签名

    openssl req -x509 -nodes -days 3650 -newkey rsa:2048 -keyout /etc/nginx/ssl/self.key -out /etc/nginx/ssl/self.crt

nginx: [emerg] cannot load certificate "/etc/nginx/ssl/self.crt": BIO_new_file() failed (SSL: ...ch file)

  1. 创建文件夹:/etc/nginx/ssl/

  2. 签名

  3. 测试 & 重启

    nginx -t
    nginx -s reload

  4. 访问方式【不带端口号】: https://192.168.10.248

disconnected (1008): unauthorized: gateway token missing (open a tokenized dashboard URL or paste token in Control UI settings)

  1. 进入docker,文件:/home/node/.clawdbot\gatewayauth有token
  2. 在client上 维护 token

disconnected (1008): pairing required

相关推荐
AGI-四顾2 小时前
文生图模型选型速览
人工智能·ai
大尚来也2 小时前
一篇搞懂AI通识:用大白话讲清人工智能的核心逻辑
人工智能
Coder_Boy_2 小时前
Deeplearning4j+ Spring Boot 电商用户复购预测案例
java·人工智能·spring boot·后端·spring
风指引着方向2 小时前
动态形状算子支持:CANN ops-nn 的灵活推理方案
人工智能·深度学习·神经网络
weixin_395448912 小时前
cursor日志
人工智能·python·机器学习
凤希AI伴侣2 小时前
你觉得,AI能让你“一人成军”吗?我的工具流与真实体验
人工智能·凤希ai伴侣
小Pawn爷2 小时前
3.Dockerfile
docker
CodeGolang2 小时前
Docker容器化部署Zabbix监控系统完整指南
docker·容器·zabbix
23遇见2 小时前
从底层到落地:cann/ops-nn 算子库的技术演进与实践
人工智能
DeanWinchester_mh2 小时前
DeepSeek新论文火了:不用卷算力,一个数学约束让大模型更聪明
人工智能·学习