You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "zhuhongqiang01 (via GitHub)" <gi...@apache.org> on 2023/06/12 03:14:27 UTC

[GitHub] [dubbo] zhuhongqiang01 opened a new issue, #12496: dubbo 3.2.0 如何通过浏览器访问Dubbo 服务端一个 Triple 协议服务

zhuhongqiang01 opened a new issue, #12496:
URL: https://github.com/apache/dubbo/issues/12496

   <!-- If you need to report a security issue please visit https://github.com/apache/dubbo/security/policy -->
   
   - [ ] I have searched the [issues](https://github.com/apache/dubbo/issues) of this repository and believe that this is not a duplicate.
   
   ## Ask your question here
   dubbo版本:3.2.0
   jdk版本:1.8
   
   官方文档描述可以直接使用 curl、浏览器访问后端 Dubbo Triple 协议服务
   实际上启动dubbo triple服务
   通过浏览器get访问(类似http://local host:8080/org.apache.dubbo.sample.GreetService/sayHello)
   报错
   org.apache.dubbo.qos.command.exception.NoSuchCommandException :NoSuchCommandException :org.apache.dubbo.sample.GreetService
   
   禁用qos报错:
   org.apache.dubbo.remoting.transport.netty4.NettyPortUnificationServerHandler: Cant not recognize protocol from downstream=/xx.xx.xx.xx:xx
   
   请问有完整的通过浏览器访问triple协议的示例吗?
   
   
   官方文档描述:
   [通信协议--HTTP/2 (Triple)](https://cn.dubbo.apache.org/zh-cn/overview/core-features/protocols/#http2-triple)
   Triple 可同时运行在 HTTP/1 和 HTTP/2 传输协议之上,让你可以直接使用 curl、浏览器访问后端 Dubbo 服务。
   
   Triple 协议设计理念与规范--原生多协议支持
   https://cn.dubbo.apache.org/zh-cn/overview/reference/protocols/triple/#%E5%8E%9F%E7%94%9F%E5%A4%9A%E5%8D%8F%E8%AE%AE%E6%94%AF%E6%8C%81
   
   以下是使用 curl 客户端访问 Dubbo 服务端一个 Triple 协议服务的示例:
   
   curl \
       --header "Content-Type: application/json" \
       --data '{"sentence": "Hello Dubbo."}' \
       https://host:port/org.apache.dubbo.sample.GreetService/sayHello
   


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


[GitHub] [dubbo] AlbumenJ commented on issue #12496: dubbo 3.2.0 如何通过浏览器访问Dubbo 服务端一个 Triple 协议服务

Posted by "AlbumenJ (via GitHub)" <gi...@apache.org>.
AlbumenJ commented on issue #12496:
URL: https://github.com/apache/dubbo/issues/12496#issuecomment-1587247557

   @EarthChen 


-- 
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 #12496: dubbo 3.2.0 如何通过浏览器访问Dubbo 服务端一个 Triple 协议服务

Posted by "chickenlj (via GitHub)" <gi...@apache.org>.
chickenlj commented on issue #12496:
URL: https://github.com/apache/dubbo/issues/12496#issuecomment-1589041527

   > > 开发中,当前还没完全兑现
   > 
   > @EarthChen 好的,最近我在公众号、官网、各种技术文章都看到关于直接浏览器访问triple的描述,以为功能已经就绪了 请问这个功能大概哪个版本会上线
   
   Java 侧预计会在未来1-2个月就绪。同时社区规划了 Go、Node.js、Web 侧响应实现,期望在未来形成 Triple 完整的前后端互通体系。


-- 
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] zhuhongqiang01 commented on issue #12496: dubbo 3.2.0 如何通过浏览器访问Dubbo 服务端一个 Triple 协议服务

Posted by "zhuhongqiang01 (via GitHub)" <gi...@apache.org>.
zhuhongqiang01 commented on issue #12496:
URL: https://github.com/apache/dubbo/issues/12496#issuecomment-1588755687

   
   
   
   
   > 开发中,当前还没完全兑现
   
   
   @EarthChen
   好的,最近我在公众号、官网、各种技术文章都看到关于直接浏览器访问triple的描述,以为功能已经就绪了
   请问这个功能大概哪个版本会上线


-- 
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] zhuhongqiang01 closed issue #12496: dubbo 3.2.0 如何通过浏览器访问Dubbo 服务端一个 Triple 协议服务

Posted by "zhuhongqiang01 (via GitHub)" <gi...@apache.org>.
zhuhongqiang01 closed issue #12496: dubbo 3.2.0 如何通过浏览器访问Dubbo 服务端一个 Triple 协议服务
URL: https://github.com/apache/dubbo/issues/12496


-- 
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] AlbumenJ commented on issue #12496: dubbo 3.2.0 如何通过浏览器访问Dubbo 服务端一个 Triple 协议服务

Posted by "AlbumenJ (via GitHub)" <gi...@apache.org>.
AlbumenJ commented on issue #12496:
URL: https://github.com/apache/dubbo/issues/12496#issuecomment-1587247416

   @chickenlj 


-- 
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] zhuhongqiang01 commented on issue #12496: dubbo 3.2.0 如何通过浏览器访问Dubbo 服务端一个 Triple 协议服务

Posted by "zhuhongqiang01 (via GitHub)" <gi...@apache.org>.
zhuhongqiang01 commented on issue #12496:
URL: https://github.com/apache/dubbo/issues/12496#issuecomment-1588754482

   > 开发中,当前还没完全兑现
   @EarthChen
   好的,最近我在公众号、官网、各种技术文章都看到关于直接浏览器访问triple的描述,以为功能已经就绪了
   请问这个功能大概哪个版本会上线


-- 
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] EarthChen commented on issue #12496: dubbo 3.2.0 如何通过浏览器访问Dubbo 服务端一个 Triple 协议服务

Posted by "EarthChen (via GitHub)" <gi...@apache.org>.
EarthChen commented on issue #12496:
URL: https://github.com/apache/dubbo/issues/12496#issuecomment-1588676876

   开发中,当前还没完全兑现


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