We have two services
- First one main-service which is created using node js
- Second one grpc service in python
my grpc service
port = os.environ.get('GRPC_PORT', '50051')
server_address = f'[::]:{port}'
server.add_insecure_port(server_address)
server.start()
how I'm trying to connect the client
private constructor() {
const emailServiceUrl = grpcConfig.agentsServiceURL
log.i(`Email service URL: ${emailServiceUrl}`) // You can remove it later
this.client = new emailsProto.EmailProcessingService(emailServiceUrl, grpc.credentials.createInsecure())
log.i(`EmailProcessingClient initialized with service URL: ${emailServiceUrl}`)
}
Deployed both to GCP but got this error
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744195462a4562635.html
评论列表(0条)