Skip to content

[Bug]: ERR Wechaty start() exception: 3 INVALID_ARGUMENT: [tid:f69a235b] token is illegal: puppet_workpro_xxxxxx #441

@zhijie-yan

Description

@zhijie-yan

Environment

- wechaty:
- wechaty-puppet: 
- wechaty-puppet-service: 
- wechaty-plugin-contrib: 
- token type: padlocal|wxwork|xp
- the version of wechaty docker container: [0.65]

Description

在云服务器上,使用该网页(https://wechaty.js.org/docs/puppet-services/padlocal)
结合关闭TLS知识(https://wechaty.js.org/docs/puppet-services/diy)
创建了服务脚本start.sh,云端启动后可在本机通过:

echo HTTP/$(curl -s -o /dev/null -w '%{http_code}' https://api.chatie.io/v0/hosties/${WECHATY_TOKEN})
获得HTTP/200的结果

但是服务端启动时会报错:
ERR Wechaty start() exception: 3 INVALID_ARGUMENT: [tid:f69a235b] token is illegal: puppet_workpro_ceac2fed39864701a71fxxxxxxxxxx

该token是在(https://token.rpachat.com/dashboard/token)新申请的,尚在有效期内,想请问下是token问题么?为何我第一次申请的token就是无效的,以及如何获取有效的token?

Minimum reproducible code

服务端日志
Image

测试连通性
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions