Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

升级 v0.4.x 注意事项 #119

Open
dchaofei opened this issue Apr 26, 2022 · 6 comments
Open

升级 v0.4.x 注意事项 #119

dchaofei opened this issue Apr 26, 2022 · 6 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@dchaofei
Copy link
Collaborator

dchaofei commented Apr 26, 2022

从低版本升级到 v0.4.x 的注意事项

  • go-wecahty v0.4.x 可以搭配镜像 wechaty/wechaty:0.78 或 wechaty/wechaty:1.19+ 使用
  • 优化了 filebox 设计,修改了 filebox 一些方法的签名,如果升级后编译不通过,不要惊慌,根据编译器提示更改即可(0.x版本非最终确定版本,所以随着使用会重构掉之前不合理的设计)
@dchaofei dchaofei added documentation Improvements or additions to documentation enhancement New feature or request labels Apr 26, 2022
@dchaofei dchaofei pinned this issue Apr 26, 2022
@huanghongbin
Copy link

测试了 go-wecahty v0.4 与wechaty/wechaty:0.78 不适用是怎么回事

@dchaofei
Copy link
Collaborator Author

测试了 go-wecahty v0.4 与wechaty/wechaty:0.78 不适用是怎么回事

请提供更多的详细信息吗?

@huanghongbin
Copy link

go-wecahty v0.31 与wechaty/wechaty:0.65 工作正常 但是我升级成 go-wecahty v0.4 与wechaty/wechaty:0.78 docker 能正常登陆 但是 wechaty.NewWechaty 报错

wechaty.go:281: puppet start err: PuppetService Start() rejection: startGrpcStream err:rpc error: code = Unavailable desc = connection closed before server preface

@dchaofei
Copy link
Collaborator Author

@huanghongbin 是不是升级到 wechaty 0.78 没有禁用 tls

@dchaofei
Copy link
Collaborator Author

@huanghongbin 参考这个 #92

@huanghongbin
Copy link

设置了
WECHATY_PUPPET_SERVICE_NO_TLS_INSECURE_SERVER=true
WECHATY_PUPPET_SERVICE_NO_TLS_INSECURE_CLIENT=true
解决了问题 链接上了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants