Z
Z
zhivulinal2020-04-28 19:42:10
go
zhivulinal, 2020-04-28 19:42:10

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

1 answer(s)
F
falconandy, 2020-04-28
@falconandy

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 question

Ask a Question

731 491 924 answers to any question