You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "AlexStocks (via GitHub)" <gi...@apache.org> on 2025/09/04 05:29:55 UTC

[I] llm start failed [dubbo-go-samples]

AlexStocks opened a new issue, #909:
URL: https://github.com/apache/dubbo-go-samples/issues/909

   
   llm 示例,env 配置如下:【OLLAMA_MODELS 的 value 原来配置两个llm,现在改为一个】
   
   ```bash
   #
   # Licensed to the Apache Software Foundation (ASF) under one or more
   # contributor license agreements.  See the NOTICE file distributed with
   # this work for additional information regarding copyright ownership.
   # The ASF licenses this file to You under the Apache License, Version 2.0
   # (the "License"); you may not use this file except in compliance with
   # the License.  You may obtain a copy of the License at
   #
   #     http://www.apache.org/licenses/LICENSE-2.0
   #
   # Unless required by applicable law or agreed to in writing, software
   # distributed under the License is distributed on an "AS IS" BASIS,
   # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   # See the License for the specific language governing permissions and
   # limitations under the License.
   #
   
   
   OLLAMA_MODELS= qwen3:0.6b
   OLLAMA_URL = http://localhost:11434
   TIME_OUT_SECOND = 300
   
   NACOS_URL = localhost:8848
   MAX_CONTEXT_COUNT = 3
   MODEL_NAME = qwen3:0.6b
   SERVER_PORT = 20000
   ```
   
   执行 `sh start_servers.sh` 后,报错如下:
   
   <img width="2594" height="1754" alt="Image" src="https://github.com/user-attachments/assets/0f11aa38-2ed4-48bc-9410-af29a27e648e" />


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

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


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


Re: [I] llm start failed [dubbo-go-samples]

Posted by "AlexStocks (via GitHub)" <gi...@apache.org>.
AlexStocks closed issue #909: llm start failed
URL: https://github.com/apache/dubbo-go-samples/issues/909


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

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


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


Re: [I] llm start failed [dubbo-go-samples]

Posted by "AlexStocks (via GitHub)" <gi...@apache.org>.
AlexStocks commented on issue #909:
URL: https://github.com/apache/dubbo-go-samples/issues/909#issuecomment-3314836988

   @CAICAIIs own it


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

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


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


Re: [I] llm start failed [dubbo-go-samples]

Posted by "CAICAIIs (via GitHub)" <gi...@apache.org>.
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-unsubscribe@dubbo.apache.org

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


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


Re: [I] llm start failed [dubbo-go-samples]

Posted by "A-outsider (via GitHub)" <gi...@apache.org>.
A-outsider commented on issue #909:
URL: https://github.com/apache/dubbo-go-samples/issues/909#issuecomment-3260226570

   <img width="1241" height="37" alt="Image" src="https://github.com/user-attachments/assets/50215765-0e13-4833-aad3-e6a38af5ca1a" />
   
   I noticed that your client fails to connect when metadata is published. And I’ve successfully reproduced your error—this only happens when I don’t expose the 9848 port, which is related to the gRPC port.
   
   The results are as follows after I expose the 9848 port:
   
   <img width="2449" height="865" alt="Image" src="https://github.com/user-attachments/assets/41b35308-709e-4b9a-aa75-92d236efc3db" />
   


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

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


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


Re: [I] llm start failed [dubbo-go-samples]

Posted by "A-outsider (via GitHub)" <gi...@apache.org>.
A-outsider commented on issue #909:
URL: https://github.com/apache/dubbo-go-samples/issues/909#issuecomment-3260245735

   <img width="958" height="155" alt="Image" src="https://github.com/user-attachments/assets/6dce8a84-7dc1-4602-a979-5ed8179e4925" />
   
   I found another issue when running start_servers.bat.
   When I execute the script, it reports a character conflict error (此时不应有 |).
   I’m not sure whether this is caused by my Windows PowerShell or the script itself.


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

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


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


Re: [I] llm start failed [dubbo-go-samples]

Posted by "A-outsider (via GitHub)" <gi...@apache.org>.
A-outsider commented on issue #909:
URL: https://github.com/apache/dubbo-go-samples/issues/909#issuecomment-3252130805

   Got it


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

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


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