java-wechaty icon indicating copy to clipboard operation
java-wechaty copied to clipboard

io.grpc.StatusRuntimeException: UNAVAILABLE: Network closed for unknown reason

Open chunLinssp opened this issue 4 years ago • 9 comments
trafficstars

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的通,端口监听开放) 有没有解决的方案呢?

chunLinssp avatar Sep 23 '21 05:09 chunLinssp

token 如何获得

zywaiting avatar Dec 06 '21 02:12 zywaiting

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

zhihuifanqiechaodan avatar Dec 06 '21 02:12 zhihuifanqiechaodan

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

zywaiting avatar Dec 06 '21 09:12 zywaiting

UNAVAILABLE: io exception

zywaiting avatar Dec 06 '21 09:12 zywaiting

我的办法是 用 wechaty:0.56版本

csdwd avatar Dec 08 '21 03:12 csdwd

最后你怎么解决的啊

felixu1992 avatar Dec 20 '21 11:12 felixu1992

https://github.com/wechaty/puppet-service/issues/160

This is worked for me, check it

duanxr avatar Dec 28 '21 06:12 duanxr

最后你怎么解决的啊

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

sfw0807 avatar May 27 '22 12:05 sfw0807

最后你怎么解决的啊

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

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

felixu1992 avatar May 28 '22 13:05 felixu1992