CAICAIIs commented on issue #909:
URL: 
https://github.com/apache/dubbo-go-samples/issues/909#issuecomment-3314864776

   I think the main reason for this issue is that: Nacos didn't start correctly
   
   When Nacos is not running, the following error occurs:
   ```shell
   ERROR: Could not publish the metadata: client not connected, current 
status:STARTING
   Error starting server: Registry protocol new exporter error
   ```
   
   Solution: 
   
   1. Start the Nacos service using Docker:
   ```shell
   docker run -d --name nacos -p 8848:8848 -p 9848:9848 -e MODE=standalone 
nacos/nacos-server:v2.2.3
   ```
   
   2. Check if Nacos is running:
   ```shell
   curl 
http://localhost:8848/nacos/v1/ns/instance/list?serviceName=nacos.naming.service
   ```
   
   3. Start the service again:
   ```shell
   cd llm && ./start_servers.sh
   ```
   
   After starting:
   ```shell
   INFO: [Nacos Client] New nacos client with config = [{Scheme: ContextPath: 
IpAddr:localhost Port:8848 GrpcPort:0}]
   INFO: [TRIPLE Protocol] Export service: tri://:20020/chat.ChatService
   All servers started. Total instances: 2
   ```
   I think this resolves the issue.


-- 
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-unsubscr...@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org
For additional commands, e-mail: notifications-h...@dubbo.apache.org

Reply via email to