Help Center/ Cloud Service Engine/ FAQs/ Nacos Engines/ Why Do I Get an Error When I Request gRPC?
Updated on 2024-05-16 GMT+08:00

Why Do I Get an Error When I Request gRPC?

Symptom

When the service starts, two instances with ports 8080 and 9090 are registered as HTTP and gRPC ports. However, since only the instance with port 8080 is displayed in the service discovery list, it returns an error when gRPC is requested.

Possible Cause

When a client installed with Go SDK connects to Nacos engines, two instances are registered with a microservice at the same time. This dual registry is currently not available for Nacos engines.

Solution

Do not register two instances with the same microservice at the same time.