Answer the question
In order to leave comments, you need to log in
go micro. Problem with service discovery from the example in the documentation. What am I doing wrong?
I deal with an example of the Greeter service: https://github.com/micro/examples/tree/master/service
I do everything as in the readme, I start the go run main.go server , it works.
In another terminal go run main.go --run_client I get:
{"id":"go.micro.client","code":500,"detail":"service greeter: not found","status":"Internal Server Error"}
Without docker, under mac os Catalina.
What am I doing wrong?
Answer the question
In order to leave comments, you need to log in
Look at https://github.com/micro/examples/issues/98 - they advise you to deal with the firewall and build / run in the "go module" mode. On Ubuntu 18.04 with go 1.14.2 everything is ok.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question