Nacos client connection operation 9848 grpc connection error of Nacos 2.0
After Nacos Server 2.0
Nacos version 2.0 adds a new gRPC communication method compared to 1.X, so 2 additional ports are needed. The new ports are automatically generated by performing a certain offset from the configured master port (server.port).
Port Offset from the master port Description
9848 1000 Client gRPC request server port for clients to initiate connections and requests to the server
9849 1001 Server-side gRPC request server port, used for synchronization between services, etc.
After Nacos client 2.0 is connected through grpc, you cannot use Nacos server version below 2.0
serverInfo.getServerPort() + rpcPortOffset() Port offset 1000
Perform serverCheck operation
Report an error.
java.util.concurrent.ExecutionException: com.alibaba.nacos.shaded.io.grpc.StatusRuntimeException: UNAVAILABLE: io exception
Error: RpcClient currentConnection is null
Caused by: ErrCode:-401, ErrMsg:Client not connected,current status:STARTING
Solution: use a lower version of Nacos client
Read More:
- [Solved] nacos Error: com.alibaba.nacos.api.exception.NacosException: failed to req API:/nacos/v1/ns/instance
- Frequent log swiping after Nacos client starts [How to Solve]
- [Solved] Nacos Serve Local Startup Error: Error starting Tomcat context. Exception: org.springframework.beans.factory.BeanCre
- [Solved] Nacos offline service error: errCode: 500
- Spring cloud remote connect Nacos error [How to Solve]
- Feign Error: Load balancer does not have available server for client:XXX
- [Solved] org.apache.flink.client.program.ProgramInvocationException: The main method caused an error
- Client Error: Could not get a resource from the pool [How to Solve]
- [Solved] nacos Startup Error: Unable to start embedded Tomcat
- [Solved] IDEA2021.3 Error: Failed to write core dump. Minidumps are not enabled by default on client versions of
- Nacos boot error, unable to find Java_HOME [How to Solve]
- springcloud alibaba Integrating nacos reports errors: create config service error!properties=NacosConfigPropertie
- [Solved] Nacos1.3.2 Startup Error: Unable to start embedded Tomcat
- [Solved] nacos Startup Error: Please set the JAVA_HOME variable in your environment
- [Solved] “status“:405,“error“ Request method ‘POST‘ not supported“
- [Solved] Nacos Startup Error: Error creating bean with name ‘authFilter‘
- [Solved] java.io.IOException: Got error, status=ERROR, status message, ack with firstBadLink as
- SpringCloud Use openFeign Multipartfile to Upload Files Error: Current request is not a multipart request
- How to Solve nacos Startup Error and Connect to MYSQL
- Eureka Error: registration status: 204 deregister status: 200