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

I have one 8051 server, why I see channel is non active #26

Open
gwnet opened this issue Jan 24, 2020 · 1 comment
Open

I have one 8051 server, why I see channel is non active #26

gwnet opened this issue Jan 24, 2020 · 1 comment

Comments

@gwnet
Copy link

gwnet commented Jan 24, 2020

... 2 more
Exception in thread "main" com.baidu.brpc.exceptions.RpcException: com.baidu.brpc.exceptions.RpcException: channel is non active, retry another channel
at com.baidu.brpc.client.BrpcProxy.intercept(BrpcProxy.java:276)
at com.github.wenweihu86.raft.example.server.service.ExampleService$$EnhancerByCGLIB$$c1bbc38a.set()
at com.github.wenweihu86.raft.example.client.ClientMain.main(ClientMain.java:36)
Caused by: com.baidu.brpc.exceptions.RpcException: channel is non active, retry another channel
at com.baidu.brpc.client.RpcClient.selectChannel(RpcClient.java:341)
at com.baidu.brpc.interceptor.LoadBalanceInterceptor.selectChannel(LoadBalanceInterceptor.java:79)
at com.baidu.brpc.interceptor.LoadBalanceInterceptor.invokeRpc(LoadBalanceInterceptor.java:73)
at com.baidu.brpc.interceptor.LoadBalanceInterceptor.aroundProcess(LoadBalanceInterceptor.java:53)
at com.baidu.brpc.interceptor.DefaultInterceptorChain.intercept(DefaultInterceptorChain.java:43)
at com.baidu.brpc.interceptor.AbstractInterceptor.aroundProcess(AbstractInterceptor.java:35)
at com.baidu.brpc.interceptor.ClientTraceInterceptor.aroundProcess(ClientTraceInterceptor.java:40)
at com.baidu.brpc.interceptor.DefaultInterceptorChain.intercept(DefaultInterceptorChain.java:43)
at com.baidu.brpc.client.BrpcProxy.intercept(BrpcProxy.java:265)
... 2 more
Disconnected from the target VM, address: '127.0.0.1:54667', transport: 'socket'

@wenweihu86
Copy link
Owner

@gwnet 这里是brpc-java负载均衡没有及时把重试过的实例剔除掉。后续会优化。

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

2 participants