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 #106

Open
chunLinssp opened this issue Sep 23, 2021 · 9 comments

Comments

@chunLinssp
Copy link

chunLinssp commented Sep 23, 2021

io.grpc.StatusRuntimeException: UNAVAILABLE: Network closed for unknown reason
at io.grpc.stub.ClientCalls.toStatusRuntimeException(ClientCalls.java:244)
at io.grpc.stub.ClientCalls.getUnchecked(ClientCalls.java:225)
at io.grpc.stub.ClientCalls.blockingUnaryCall(ClientCalls.java:142)
at io.github.wechaty.grpc.PuppetGrpc$PuppetBlockingStub.start(PuppetGrpc.java:2744)
at io.github.wechaty.grpc.GrpcPuppet.start(GrpcPuppet.kt:78)
at io.github.wechaty.Puppet.reset(Puppet.kt:310)
at io.github.wechaty.Puppet$3.handler(Puppet.kt:104)
at io.github.wechaty.Puppet$on$14.handler(Puppet.kt:278)
at io.github.wechaty.eventEmitter.EventEmitter$emit$$inlined$forEach$lambda$1.run(EventEmitter.kt:49)

docker端生成token,java端使用token;两者通信正常(ping的通,端口监听开放)
有没有解决的方案呢?

@zywaiting
Copy link

token 如何获得

@zhihuifanqiechaodan
Copy link

找你使用的puppet服务的服务商购买,你可以参考文档说明:https://wechaty.js.org/docs/puppet-services/overview

@zywaiting
Copy link

UNAVAILABLE: Network closed for unknown reason
这个怎么解决

@zywaiting
Copy link

UNAVAILABLE: io exception

@csdwd
Copy link

csdwd commented Dec 8, 2021

我的办法是 用 wechaty:0.56版本

@felixu1992
Copy link

最后你怎么解决的啊

@duanxr
Copy link

duanxr commented Dec 28, 2021

wechaty/puppet-service#160

This is worked for me, check it

@sfw0807
Copy link

sfw0807 commented May 27, 2022

最后你怎么解决的啊

这个问题解决了吗,我也卡在这了

@felixu1992
Copy link

最后你怎么解决的啊

这个问题解决了吗,我也卡在这了

降版本,这 Java 版本写的比较坑,还是用 Python 的吧

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

7 participants