You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2022/06/07 12:01:46 UTC
[GitHub] [dubbo-go] ray2011 opened a new issue, #1925: service-discovery-registry failed when set application config
ray2011 opened a new issue, #1925:
URL: https://github.com/apache/dubbo-go/issues/1925
<!-- Please use this template while reporting a bug and provide as much info as possible. Not doing so may result in your bug not being addressed in a timely manner. Thanks!
-->
**What happened**:
server config:
``` yml
dubbo:
application:
organization: "dubbo"
name: "game"
module: "dubbo-go game server"
version: "0.0.1"
environment: "dev"
registries:
etcd:
protocol: "etcdv3"
timeout: "3s"
address: "127.0.0.1:2379"
registry-type: service
metadata-report:
protocol: etcdv3
address: 127.0.0.1:2379
protocols:
triple:
name: tri
port: 20000
provider:
services:
GreeterProvider:
interface: com.apache.dubbo.sample.basic.IGreeter # must be compatible with grpc or dubbo-java
```
client config:
``` yml
dubbo:
application:
organization: "dubbo"
name: "game"
module: "dubbo-go game server"
version: "0.0.1"
environment: "dev"
registries:
etcd:
protocol: "etcdv3"
timeout: "3s"
address: "127.0.0.1:2379"
registry-type: service
metadata-report:
protocol: etcdv3
address: 127.0.0.1:2379
protocols:
triple:
name: tri
port: 20000
provider:
services:
GreeterProvider:
interface: com.apache.dubbo.sample.basic.IGreeter # must be compatible with grpc or dubbo-java
```
client log:
> 2022-06-07T19:53:27.378+0800 INFO config/config_loader_options.go:200 The following profiles are active: default
2022-06-07T19:53:27.378+0800 INFO config/root_config.go:129 [Config Center] Config center doesn't start
2022-06-07T19:53:27.381+0800 WARN prometheus/reporter.go:237 new prometheus reporter with error = listen tcp :9090: bind: address already in use
2022-06-07T19:53:27.381+0800 INFO etcdv3/service_discovery.go:310 etcd address is: 127.0.0.1:2379,timeout is:3s
2022-06-07T19:53:27.387+0800 INFO dubbo/dubbo_protocol.go:98 [DUBBO Protocol] Refer service: dubbo://172.22.28.48:38983/org.apache.dubbo.metadata.Metada
taService?application=game&group=game&interface=org.apache.dubbo.metadata.MetadataService&port=38983&protocol=dubbo&release=dubbo-golang-3.0.0×tamp=1654602800
&version=1.0.0
2022-06-07T19:53:27.387+0800 INFO etcdv3/listener.go:204 got children list key -> /services/game/172.22.28.48:20000
2022-06-07T19:53:27.387+0800 INFO etcdv3/listener.go:219 [ETCD Listener] listen dubbo service key{/services/game}
2022-06-07T19:53:30.385+0800 ERROR config/consumer_config.go:157 No provider available of the service com.apache.dubbo.sample.basic.IGreeter.please check co
nfiguration.
dubbo.apache.org/dubbo-go/v3/config.(*ConsumerConfig).Load
/home/raynor/go/pkg/mod/dubbo.apache.org/dubbo-go/v3@v3.0.2/config/consumer_config.go:157
dubbo.apache.org/dubbo-go/v3/config.(*RootConfig).Start.func1
/home/raynor/go/pkg/mod/dubbo.apache.org/dubbo-go/v3@v3.0.2/config/root_config.go:203
sync.(*Once).doSlow
/home/raynor/sdk/go1.18rc1/src/sync/once.go:68
sync.(*Once).Do
**What you expected to happen**:
expect client call success
**How to reproduce it (as minimally and precisely as possible)**:
reproduce example: https://github.com/ray2011/dubbo-go-samples
**Anything else we need to know?**:
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org
[GitHub] [dubbo-go] zhaoyunxing92 commented on issue #1925: service-discovery-registry failed when set application config
Posted by GitBox <gi...@apache.org>.
zhaoyunxing92 commented on issue #1925:
URL: https://github.com/apache/dubbo-go/issues/1925#issuecomment-1152350493
@zhaoyunxing92
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org
[GitHub] [dubbo-go] ray2011 closed issue #1925: service-discovery-registry failed when set application config
Posted by GitBox <gi...@apache.org>.
ray2011 closed issue #1925: service-discovery-registry failed when set application config
URL: https://github.com/apache/dubbo-go/issues/1925
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org