YarBor opened a new issue, #2681:
URL: https://github.com/apache/dubbo-go/issues/2681

   ### Issue description
   at 
[Dubbo-go-DOC](https://cn.dubbo.apache.org/zh-cn/overview/mannual/golang-sdk/refer/use_dubbogo_cli/)
   
   
![image](https://github.com/apache/dubbo-go/assets/110281261/d7111ea8-bea6-4966-8557-016e85c1a9af)
   
   ```bash 
   > git checkout main && go build . && ./dubbogo-cli version && ./dubbogo-cli 
show --r zookeeper --h 127.0.0.1:2181
   之前的 HEAD 位置是 8f81c76d [3.1] cherry-pick ioutil replace to release-3.1 (#2597)
   切换到分支 'main'
   您的分支与上游分支 'origin/main' 一致。
   dubbogo-cli Version: 1.0.0
   2024/05/24 11:45:25 Connected to 127.0.0.1:2181
   2024/05/24 11:45:25 Authenticated: id=72057861787746332, timeout=15000
   2024/05/24 11:45:25 Re-submitting `0` credentials after reconnect
   panic: URL.Parse(URL 
string{://dubbo-go-samples-configcenter-zookeeper-client}),  error{<nil>}
   
   goroutine 1 [running]:
   dubbo.apache.org/dubbo-go/v3/tools/dubbogo-cli/cmd.show(0xca8840, 
{0x8db482?, 0x4?, 0x8db46a?})
        /tmp/test/dubbo-go/tools/dubbogo-cli/cmd/show.go:86 +0x931
   github.com/spf13/cobra.(*Command).execute(0xca8840, {0xc0001c8040, 0x4, 0x4})
        /home/wang/go/pkg/mod/github.com/spf13/[email protected]/command.go:860 
+0x684
   github.com/spf13/cobra.(*Command).ExecuteC(0xca85c0)
        /home/wang/go/pkg/mod/github.com/spf13/[email protected]/command.go:974 
+0x38d
   github.com/spf13/cobra.(*Command).Execute(...)
        /home/wang/go/pkg/mod/github.com/spf13/[email protected]/command.go:902
   dubbo.apache.org/dubbo-go/v3/tools/dubbogo-cli/cmd.Execute()
        /tmp/test/dubbo-go/tools/dubbogo-cli/cmd/root.go:46 +0x1a
   main.main()
        /tmp/test/dubbo-go/tools/dubbogo-cli/main.go:28 +0xf
   
   ```
   
   ```bash 
   > git checkout v3.1.1 && go build . && ./dubbogo-cli version && 
./dubbogo-cli show --r zookeeper --h 127.0.0.1:2181
   M    tools/dubbogo-cli/go.mod
   HEAD 目前位于 8f81c76d [3.1] cherry-pick ioutil replace to release-3.1 (#2597)
   dubbogo-cli Version: 1.0.0
   2024/05/24 11:44:42 Connected to 127.0.0.1:2181
   2024/05/24 11:44:42 Authenticated: id=72057861787746331, timeout=15000
   2024/05/24 11:44:42 Re-submitting `0` credentials after reconnect
   panic: URL.Parse(URL 
string{://dubbo-go-samples-configcenter-zookeeper-client}),  error{<nil>}
   
   goroutine 1 [running]:
   dubbo.apache.org/dubbo-go/v3/dubbogo-cli/cmd.show(0xca8840, {0x8db482?, 
0x4?, 0x8db46a?})
        /tmp/test/dubbo-go/tools/dubbogo-cli/cmd/show.go:86 +0x931
   github.com/spf13/cobra.(*Command).execute(0xca8840, {0xc0001c8040, 0x4, 0x4})
        /home/wang/go/pkg/mod/github.com/spf13/[email protected]/command.go:860 
+0x684
   github.com/spf13/cobra.(*Command).ExecuteC(0xca85c0)
        /home/wang/go/pkg/mod/github.com/spf13/[email protected]/command.go:974 
+0x38d
   github.com/spf13/cobra.(*Command).Execute(...)
        /home/wang/go/pkg/mod/github.com/spf13/[email protected]/command.go:902
   dubbo.apache.org/dubbo-go/v3/dubbogo-cli/cmd.Execute()
        /tmp/test/dubbo-go/tools/dubbogo-cli/cmd/root.go:46 +0x1a
   main.main()
        /tmp/test/dubbo-go/tools/dubbogo-cli/main.go:25 +0xf
   
   ```
   </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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to