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

启动的时候io.grpc.StatusRuntimeException: UNAVAILABLE: Network closed for unknown reason #34

Open
George4142 opened this issue Sep 11, 2021 · 7 comments

Comments

@George4142
Copy link

io.grpc.StatusRuntimeException: UNAVAILABLE: Network closed for unknown reason
at io.grpc.stub.ClientCalls.toStatusRuntimeException(ClientCalls.java:244) ~[grpc-stub-1.29.0.jar:1.29.0]
at io.grpc.stub.ClientCalls.getUnchecked(ClientCalls.java:225) ~[grpc-stub-1.29.0.jar:1.29.0]
at io.grpc.stub.ClientCalls.blockingUnaryCall(ClientCalls.java:142) ~[grpc-stub-1.29.0.jar:1.29.0]
at io.github.wechaty.grpc.PuppetGrpc$PuppetBlockingStub.start(PuppetGrpc.java:2744) ~[grpc-0.16.1.jar:?]
at io.github.wechaty.grpc.GrpcPuppet.start(GrpcPuppet.kt:78) [wechaty-puppet-hostie-0.1.5-SNAPSHOT.jar:?]
at io.github.wechaty.Wechaty.start(Wechaty.kt:52) [wechaty-0.1.5-SNAPSHOT.jar:?]
at io.github.wechaty.DingDongBot.main(DingDongBot.java:49) [classes/:?]

@George4142
Copy link
Author

docker 换成了wechaty:0.56的版本就可以了。目测应该是docker和sdk的grpc版本不符

@huan
Copy link
Member

huan commented Sep 11, 2021

@Nanmen
Copy link

Nanmen commented Sep 11, 2021

docker 换成了wechaty:0.56的版本就可以了。目测应该是docker和sdk的grpc版本不符

TLS要设置成true么?能麻烦给个联系方式,我这边用0.56还是起不起来

@huan
Copy link
Member

huan commented Sep 12, 2021

@George4142 You are welcome!

@George4142
Copy link
Author

还有个新问题:发送文字是乱码
测试测试1�?�?�?�?�?UTF-8

测试测试1�?�?�?�?�?GBK

娴�璇�娴�璇�1涓?涓?涓?涓?涓?GB2312

����1�����ISO-8859-1

诨꾕诨꾕㇤렿㿤렿㿤렿Unicode

@coloforlia
Copy link

@George4142 You are welcome!

why i cannot run this demo with wechaty/wechaty:1.13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants