You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2022/03/03 03:28:11 UTC

[GitHub] [dubbo] gang0713 opened a new issue #9733: triple协议使用跑不起,帮忙看一下问题出在那,网上使用triple协议demo好像都不太完善。

gang0713 opened a new issue #9733:
URL: https://github.com/apache/dubbo/issues/9733


   demo地址:https://wwe.lanzouf.com/i1agk00x9bla
   
   报错如下:
   
   2022-03-03 11:15:38  INFO cn.raysonblog.shopserviceconsumer.ShopServiceConsumerApplication:61 - Started ShopServiceConsumerApplication in 9.072 seconds (JVM running for 10.303)
   2022-03-03 11:16:00 ERROR org.springframework.scheduling.support.TaskUtils$LoggingErrorHandler:95 - Unexpected error occurred in scheduled task
   org.apache.dubbo.rpc.RpcException: Failed to invoke the method sayHello in the service cn.raysonblog.shopservice.api.service.RpcShopService. No provider available for the service dev/cn.raysonblog.shopservice.api.service.RpcShopService:1.0.0 from registry 127.0.0.1:8848 on the consumer 192.168.0.112 using the dubbo version 3.0.5. Please check if the providers have been started and registered.
   	at org.apache.dubbo.rpc.cluster.support.AbstractClusterInvoker.checkInvokers(AbstractClusterInvoker.java:355) ~[dubbo-3.0.5.jar:3.0.5]


-- 
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


[GitHub] [dubbo] gang0713 edited a comment on issue #9733: triple协议使用跑不起,帮忙看一下问题出在那,网上使用triple协议demo好像都不太完善。

Posted by GitBox <gi...@apache.org>.
gang0713 edited a comment on issue #9733:
URL: https://github.com/apache/dubbo/issues/9733#issuecomment-1062455692


   > @gang0713 消费端尝试配置 consumer.protocol=tri 试一下看
   
   @chickenlj 用最新的3.0.6好像可以了,但是如何验证是走的tri协议呢?日志里看不出来。
   
   另外消费端在nacos上显示还是用的dubbo协议。消费端下面这个配置与不配置结果都一样。
   ![image](https://user-images.githubusercontent.com/1773414/157363346-170de0de-59ba-4d3d-9370-8b837a6e3406.png)
   
   ![image](https://user-images.githubusercontent.com/1773414/157363452-b983d58a-3339-4e94-a424-2950a5925c4b.png)
   
   服务端:服务端显示是tri
   ![image](https://user-images.githubusercontent.com/1773414/157363604-de9c9c10-3741-46e3-8651-5765722b8b58.png)
   
   
   demo地址:https://wwe.lanzouf.com/i1agk00x9bla


-- 
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


[GitHub] [dubbo] rainwolf01 commented on issue #9733: triple协议使用跑不起,帮忙看一下问题出在那,网上使用triple协议demo好像都不太完善。

Posted by GitBox <gi...@apache.org>.
rainwolf01 commented on issue #9733:
URL: https://github.com/apache/dubbo/issues/9733#issuecomment-1058739773


   ```
     registry:
       address: nacos://${nacosserver.server-addr}?registry-type=service&username=${nacosserver.username}&password=${nacosserver.password}
       parameters:
         namespace: ${nacosserver.namespace}
   ```
   如果是`应用级`要指定这个参数`registry-type=service`,provider起来后看看nacos的服务列表里有没有provider服务


-- 
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


[GitHub] [dubbo] zhaoqf-cq commented on issue #9733: triple协议使用跑不起,帮忙看一下问题出在那,网上使用triple协议demo好像都不太完善。

Posted by GitBox <gi...@apache.org>.
zhaoqf-cq commented on issue #9733:
URL: https://github.com/apache/dubbo/issues/9733#issuecomment-1063857324


   我刚刚使用官网的例子...
   https://dubbo.apache.org/zh/docs/references/protocols/tri/#stream-%E6%96%B9%E5%BC%8F
   都直接提示我没有服务提供者... 我正在 debug 中...


-- 
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


[GitHub] [dubbo] rainwolf01 edited a comment on issue #9733: triple协议使用跑不起,帮忙看一下问题出在那,网上使用triple协议demo好像都不太完善。

Posted by GitBox <gi...@apache.org>.
rainwolf01 edited a comment on issue #9733:
URL: https://github.com/apache/dubbo/issues/9733#issuecomment-1058739773


   ```
     registry:
       address: nacos://${nacosserver.server-addr}?registry-type=service&username=${nacosserver.username}&password=${nacosserver.password}
       parameters:
         namespace: ${nacosserver.namespace}
   ```
   如果是`应用级`要指定这个参数`registry-type=service`,provider起来后看看nacos的服务列表里有没有provider服务
   
   看社区要发`3.0.6`版本了,建议使用新版再测试一下。


-- 
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


[GitHub] [dubbo] chickenlj commented on issue #9733: triple协议使用跑不起,帮忙看一下问题出在那,网上使用triple协议demo好像都不太完善。

Posted by GitBox <gi...@apache.org>.
chickenlj commented on issue #9733:
URL: https://github.com/apache/dubbo/issues/9733#issuecomment-1061635824


   @gang0713 消费端尝试配置 consumer.protocol=tri 试一下看


-- 
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


[GitHub] [dubbo] chickenlj closed issue #9733: triple协议使用跑不起,帮忙看一下问题出在那,网上使用triple协议demo好像都不太完善。

Posted by GitBox <gi...@apache.org>.
chickenlj closed issue #9733:
URL: https://github.com/apache/dubbo/issues/9733


   


-- 
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


[GitHub] [dubbo] chickenlj commented on issue #9733: triple协议使用跑不起,帮忙看一下问题出在那,网上使用triple协议demo好像都不太完善。

Posted by GitBox <gi...@apache.org>.
chickenlj commented on issue #9733:
URL: https://github.com/apache/dubbo/issues/9733#issuecomment-1066623670


   > 用最新的3.0.6好像可以了,但是如何验证是走的tri协议呢?日志里看不出来。
   
   provider端侧是双协议暴露么?通过消费端的端口日志应该是可以确认,具体连接到了哪个端口


-- 
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


[GitHub] [dubbo] gang0713 edited a comment on issue #9733: triple协议使用跑不起,帮忙看一下问题出在那,网上使用triple协议demo好像都不太完善。

Posted by GitBox <gi...@apache.org>.
gang0713 edited a comment on issue #9733:
URL: https://github.com/apache/dubbo/issues/9733#issuecomment-1058747195


   @rainwolf01  加了一样的,之前不用TRI协议是正常的。
   ![image](https://user-images.githubusercontent.com/1773414/156684030-362133f9-6839-4d20-98d6-2e25403d0487.png)
   


-- 
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


[GitHub] [dubbo] gang0713 commented on issue #9733: triple协议使用跑不起,帮忙看一下问题出在那,网上使用triple协议demo好像都不太完善。

Posted by GitBox <gi...@apache.org>.
gang0713 commented on issue #9733:
URL: https://github.com/apache/dubbo/issues/9733#issuecomment-1058747195


   @rainwolf01  加了一样的
   ![image](https://user-images.githubusercontent.com/1773414/156684030-362133f9-6839-4d20-98d6-2e25403d0487.png)
   


-- 
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


[GitHub] [dubbo] gang0713 commented on issue #9733: triple协议使用跑不起,帮忙看一下问题出在那,网上使用triple协议demo好像都不太完善。

Posted by GitBox <gi...@apache.org>.
gang0713 commented on issue #9733:
URL: https://github.com/apache/dubbo/issues/9733#issuecomment-1062455692


   > @gang0713 消费端尝试配置 consumer.protocol=tri 试一下看
   
   @chickenlj 用最新的3.0.6好像可以了,但是如何验证是走的tri协议呢?日志里看不出来。


-- 
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


[GitHub] [dubbo] gang0713 edited a comment on issue #9733: triple协议使用跑不起,帮忙看一下问题出在那,网上使用triple协议demo好像都不太完善。

Posted by GitBox <gi...@apache.org>.
gang0713 edited a comment on issue #9733:
URL: https://github.com/apache/dubbo/issues/9733#issuecomment-1062455692


   > @gang0713 消费端尝试配置 consumer.protocol=tri 试一下看
   
   @chickenlj 用最新的3.0.6好像可以了,但是如何验证是走的tri协议呢?日志里看不出来。
   
   另外消费端在nacos上显示还是用的dubbo协议。消费端下面这个配置与不配置结果都一样。
   ![image](https://user-images.githubusercontent.com/1773414/157363346-170de0de-59ba-4d3d-9370-8b837a6e3406.png)
   
   ![image](https://user-images.githubusercontent.com/1773414/157363452-b983d58a-3339-4e94-a424-2950a5925c4b.png)
   
   服务端:服务端显示是tri
   ![image](https://user-images.githubusercontent.com/1773414/157363604-de9c9c10-3741-46e3-8651-5765722b8b58.png)
   
   
   


-- 
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