Skip to content

JAVA SDK 初始化bot时 grpc报 UNAUTHENTICATED 异常 #32

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

Open
zhanghaichao520 opened this issue Nov 24, 2020 · 2 comments
Open

JAVA SDK 初始化bot时 grpc报 UNAUTHENTICATED 异常 #32

zhanghaichao520 opened this issue Nov 24, 2020 · 2 comments

Comments

@zhanghaichao520
Copy link

🚨 The issue tracker is not for questions 🚨

[question]
JAVA SDK 初始化bot时 grpc报 UNAUTHENTICATED 异常。

异常栈:
20:45:52.997 [main]DEBUG io.github.wechaty.grpc.GrpcPuppet-[76] - IDLE
20:45:53.307 [main]ERROR io.github.wechaty.grpc.GrpcPuppet-[82] - start() rejection:
io.grpc.StatusRuntimeException: UNAUTHENTICATED: {code:8,message:"user not found by token 114.215.83.32:7777"}
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:68) [wechaty-0.1.5-SNAPSHOT.jar:?]

@huan huan transferred this issue from wechaty/getting-started Nov 24, 2020
@huan
Copy link
Member

huan commented Nov 24, 2020

Move to #32

@jcai
Copy link

jcai commented Nov 24, 2020

@zhanghaichao520 Waiting for this issue(wechaty/java-wechaty#77) to be closed.

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

3 participants