java-wechaty-getting-started
java-wechaty-getting-started copied to clipboard
Java Wechaty Starter Project Template that Works Out-of-the-Box
You need a TOKEN to run the Java Wechaty. Please goto our README for details. but i didn't find anyway to get the TOKEN
详细错误: 19:40:10.492 [main] DEBUG io.grpc.netty.shaded.io.netty.util.internal.PlatformDependent - Platform: MacOS 19:40:10.492 [main] DEBUG io.grpc.netty.shaded.io.netty.util.internal.PlatformDependent0 - -Dio.netty.noUnsafe: false 19:40:10.492 [main] DEBUG io.grpc.netty.shaded.io.netty.util.internal.PlatformDependent0 - Java version: 17 19:40:10.493 [main] DEBUG io.grpc.netty.shaded.io.netty.util.internal.PlatformDependent0 - sun.misc.Unsafe.theUnsafe: available...
io.github.wechaty wechaty 0.1.5-SNAPSHOT maven依赖报错:Could not find artifact io.github.wechaty:wechaty:jar:0.1.5-SNAPSHOT in nexus (http://139.224.187.81/repository/maven-public/)
``` shell [root@iZwz90pj2xzabk2hl96aetZ ~]# netstat -ntlp Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:2049 0.0.0.0:* LISTEN - tcp 0...

11:51:12.476 [main]INFO io.github.wechaty.user.manager.PuppetManager-[23] - PuppetManager resolveInstance({"name":"Wechaty","puppet":"io.github.wechaty.grpc.GrpcPuppet","puppetOptions":{"endPoint":"127.0.0.1:8788","token":"puppet_padlocal_xxxx","name":"DEFAULT"}}) 11:51:12.635 [main]INFO org.reflections.Reflections-[229] - Reflections took 134 ms to scan 5 urls, producing 159 keys and 1545 values 11:51:13.431 [main]DEBUG io.github.wechaty.grpc.GrpcPuppet-[76] - IDLE 11:51:14.146...
请教一下,我用docker运行wechaty+wechaty-padlocal,然后本地用java-wechaty去连接,报错io.grpc.StatusRuntimeException: UNAUTHENTICATED: Invalid Wechaty TOKEN "XXX.XXX.XXX.XXX:8788",XXX是我docker服务器的IP,这个是什么原因呢,我哪个地方错了
启动DingDongBot提示异常信息: io.grpc.StatusRuntimeException: UNKNOWN: Forbidden resource 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:50) [classes/:?] 请教各位这是什么问题?
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/:?]
