zbchi commented on issue #1025: URL: https://github.com/apache/dubbo-go-samples/issues/1025#issuecomment-3835581655
> It only supports compatibility with Nacos 2.x and is incompatible with Nacos 3.x owing to authentication. https://github.com/apache/dubbo-go-samples/tree/main/llm Thanks for the feedback. The code already supports Nacos 3.x authentication through `registry.WithUsername()` and `registry.WithPassword()`. To use Nacos 3.x, simply configure the credentials in your `.env` file: ```env NACOS_URL=localhost:8080 # Nacos 3.x uses port 8080 NACOS_USERNAME=nacos NACOS_PASSWORD=nacos ``` Please refer to the https://nacos.io/docs/latest/auth/ for setting up Nacos 3.x server with authentication. -- 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]
