You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "cyejing (GitHub)" <gi...@apache.org> on 2019/09/12 09:01:21 UTC

[GitHub] [dubbo] cyejing opened issue #5058: nacos endpoint parse error

- [ ] I have searched the [issues](https://github.com/apache/dubbo/issues) of this repository and believe that this is not a duplicate.
- [ ] I have checked the [FAQ](https://github.com/apache/dubbo/blob/master/FAQ.md) of this repository and believe that this is not a duplicate.

### Environment

* Dubbo version: 2.7.3
* Operating System version: mac
* Java version: jdk8

### Steps to reproduce this issue

1. Configure the nacos endpoint address: dev.nacos.com:8080
2. The dubbo configuration resolves the port error. No port number is parsed and passed to nacos for initialization.

1. 配置nacos endpoint地址:dev.nacos.com:8080
2. dubbo 配置解析端口错误。没有有端口号解析出来传给nacos进行初始化

code:
https://github.com/apache/dubbo/blob/7d564e75fe776681e9e3c0a6f6bd1c4ad1ea51af/dubbo-registry/dubbo-registry-nacos/src/main/java/org/apache/dubbo/registry/nacos/NacosRegistryFactory.java#L95

Pls. provide [GitHub address] to reproduce this issue.

### Expected Result
Normal resolution endpoint port
### Actual Result
Failed to parse endpoint port


[ Full content available at: https://github.com/apache/dubbo/issues/5058 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org

[GitHub] [dubbo] cyejing commented on issue #5058: nacos endpoint parse error

Posted by "cyejing (GitHub)" <gi...@apache.org>.
I will submit PR to fix it.

[ Full content available at: https://github.com/apache/dubbo/issues/5058 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org