SkyAPM / go2sky

Distributed tracing and monitor SDK in Go for Apache SkyWalking APM
https://skywalking.apache.org/
Apache License 2.0
448 stars 123 forks source link

Error while dialing dial tcp: lookup oap-skywalking: Temporary failure in name resolution #29

Closed surechen closed 5 years ago

surechen commented 5 years ago

Describe the bug A clear and concise description of what the bug is.

go2sky-gRPC2019/09/29 19:19:41 register error rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = "transport: Error while dialing dial tcp: lookup oap-skywalking: Temporary failure in name resolution"

To Reproduce Steps to reproduce the behavior:

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

wu-sheng commented 5 years ago

This seems simply can't find the oap backend.

surechen commented 5 years ago

Can you show how to solve this problem? Is there anything wrong with skywalking when I configure it?

surechen commented 5 years ago

Is there something wrong in following logs? go2sky-gRPC2019/10/08 14:37:43 the id of service 'calculator' is 2 go2sky-gRPC2019/10/08 14:37:43 register error fail to instance service go2sky-gRPC2019/10/08 14:37:44 the id of instance '21dccf14-e996-11e9-91fe-fa163ef423d3' id is 327

wu-sheng commented 5 years ago

There is nothing wrong about the above log.

surechen commented 5 years ago

I succeeded in reporting information to skywalking.I would appreciate it if you can show more use cases of complex scenarios. Thanks.

wu-sheng commented 5 years ago

I succeeded in reporting information to skywalking.I would appreciate it if you can show more use cases of complex scenarios. Thanks.

What do you mean more complex scenario? SkyWalking backend is powerful to support very large scale, verified by many Java and .NetCore agent users.