V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
hwhtj
V2EX  ›  OpenClaw

求助:安装 openclaw 时无法连接 whatsapp 或 telegram

  •  
  •   hwhtj · 1 天前 · 279 次点击

    我前后已经尝试了 10 多次连接 telegram 或 whatsapp , 包括不断的重装 openclaw, 一次又一次的试。 安装的时候,想连接 whatsapp ,但无法生成二维码链接,然后使用的是电话号码+86135xxxxxxxx 这种方式,勉强安装 openclaw 成功了,但是无法与 whatsapp 相互发消息。 连接 telegram 也是一样,使用的是向 @BotFather 申请的 token ,虽然安装完成了,但一样无法相互发消息。 明明在安装的时候我开了全局代理 whatsapp 和 telegram 本身是可以正常使用的,可以与其他人聊天, 却唯独无法与 openclaw 互发消息。 是因为使用的是中国区的手机号码吗?

    M1234
        1
    M1234  
       1 天前 via iPhone
    哎,我 telegram 也是连不上,前天在虚拟机中搭建的时候连接还正常,昨天想要迁移到 mac 中结果一直后台日志一直提示 tg 网络问题,明明终端可以通过 curl 访问,真的烦死了,搞到半夜也没弄好。
    linbenyi
        2
    linbenyi  
    PRO
       1 天前
    不知道两位卡在哪一步了。
    好像 BotFather 之后会给 主密钥。不知道到这一步了没有?
    weidalao
        4
    weidalao  
       1 天前
    我刚解决的 因为 要走网络代理
    你那个 openclaw.json channel 下的 telegram 那个 enabled 和 proxy 加一下
    "channels": {
    "telegram": {
    "enabled": true,
    "dmPolicy": "pairing",
    "botToken": "xxxxx",
    "groupPolicy": "allowlist",
    "streamMode": "partial",
    "proxy": "http://127.0.0.1:7897"
    }
    },
    AlanSunV
        5
    AlanSunV  
       20 小时 35 分钟前

    ~/.openclaw/.env (没有.env 就新建)
    加上终端代理配置
    https_proxy=http://127.0.0.1:6152
    http_proxy=http://127.0.0.1:6152
    all_proxy=socks5://127.0.0.1:6153


    hosts 文件增加 149.154.166.110 api.telegram.org


    四楼说的给 channels 里的 telegram 加个 proxy 配置 http://127.0.0.1:6152


    我是这么干的 一通配置完 就正常用了
    关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   4718 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 22ms · UTC 03:03 · PVG 11:03 · LAX 19:03 · JFK 22:03
    ♥ Do have faith in what you're doing.