You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "Parksosaurus (via GitHub)" <gi...@apache.org> on 2024/03/09 11:09:37 UTC
[I] Failed to start using nacos as configuration center [dubbo-go]
Parksosaurus opened a new issue, #2614:
URL: https://github.com/apache/dubbo-go/issues/2614
### Environment
- Server: Dubbo-go, v3.1.1
- Client: Dubbo-go, v3.1.1
- Protocol: Triple
- ConfiigCenter: Nacos: v2.2.3
- Registry: Zookeeper, v3.5.10
### Issue description
When I used nacos as the configuration center for configuration, I found that the service could not be successfully registered. This causes the client to start an error.
<!-- Here is a brief description about the issue. -->
### Logs
<details><summary>Click me to check logs</summary>
server:
```
2024-03-09 19:04:46 WARN server/action.go:164 The service greet.GreetService'svcOpts '[]' protocols don't has right protocolConfigs, Please check your configuration center and transfer protocol
2024-03-09 19:04:46 WARN server/action.go:164 The service grpc.health.v1.Health'svcOpts '[]' protocols don't has right protocolConfigs, Please check your configuration center and transfer protocol
2024-03-09 19:04:46 WARN server/action.go:164 The service grpc.reflection.v1alpha.ServerReflection'svcOpts '[]' protocols don't has right protocolConfigs, Please check your configuration center and transfer protocol
```
client:
```
2024-03-09 19:05:24 INFO nacos/impl.go:78 [Nacos ConfigCenter] New Nacos ConfigCenter with Configuration: &{BaseDynamicConfiguration:{} url:0x140001762a0 rootPath: wg:{noCopy:{} state1:0 state2:0} cltLock:{state:0 sema:0} done:0x14000240360 client:<nil> keyListeners:{mu:{state:0 sema:0} read:{v:<nil>} dirty:map[] misses:0} parser:<nil>}, url = nacos://127.0.0.1:8848?config-center.appId=dubbo&config-center.cluster=&config-center.group=myGroup&config-center.namespace=&config-center.timeout=10s&nacos.access=&nacos.group=myGroup&nacos.namespaceId=&nacos.password=&nacos.secret=&nacos.timeout=10s&nacos.username=&remote-client-name=dubbo.config-center-nacos-127.0.0.1%3A8848
2024-03-09T19:05:24.130+0800 INFO nacos_client/nacos_client.go:65 logDir:</Users/xducodert/Library/Caches/JetBrains/GoLand2023.1/tmp/GoLand/log> cacheDir:</Users/xducodert/Library/Caches/JetBrains/GoLand2023.1/tmp/GoLand/cache>
panic: runtime error: index out of range [0] with length 0
```
</details>
--
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
Re: [I] Failed to start using nacos as configuration center [dubbo-go]
Posted by "FinalT (via GitHub)" <gi...@apache.org>.
FinalT commented on issue #2614:
URL: https://github.com/apache/dubbo-go/issues/2614#issuecomment-1986828964
thx,I think this is caused by the config not being merged after reading it from config center, I will fix it later
--
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
Re: [I] Failed to start using nacos as configuration center [dubbo-go]
Posted by "chickenlj (via GitHub)" <gi...@apache.org>.
chickenlj closed issue #2614: Failed to start using nacos as configuration center
URL: https://github.com/apache/dubbo-go/issues/2614
--
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