New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
url too many colons in address #1306
Conversation
Codecov Report
@@ Coverage Diff @@
## 3.0 #1306 +/- ##
==========================================
- Coverage 59.53% 56.22% -3.32%
==========================================
Files 259 273 +14
Lines 12737 12781 +44
==========================================
- Hits 7583 7186 -397
- Misses 4199 4692 +493
+ Partials 955 903 -52
Continue to review full report at Codecov.
|
当注册中心或者元数据中心address配置为多个例如
127.0.0.1:2181,127.0.0.2:2181,127.0.0.2:2181
时net.SplitHostPort(location) 方法解析会报错too many colons in address,所以url中的host和port取第一个即可
Provider starts metadata report error, and the error is {Start MetadataReport failed.: Invalid MetadataReportConfig.}