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 2020/09/30 06:47:54 UTC

[GitHub] [dubbo-go] milerL opened a new issue #783: go-client直连dubbo java-server 遇到的奇怪问题

milerL opened a new issue #783:
URL: https://github.com/apache/dubbo-go/issues/783


   这是配置go-client 配置
   
   references:
     "UserGoService":
       interface : "com.jjl.dxz.module.user.service.UserGoService"
       url: "dubbo://192.168.26.111:21782"
       group: "dxz"
       version: "1.0.0"
       methods :
       - name: "FindById"
         retries: 3
   
   
   调试时 发现一个奇怪的问题 
   系统返回报错
   java exception:org.apache.dubbo.remoting.RemotingException: Not found exported service: dxz/UserGoService:1.0.0:21782 in[dxz/com.jjl.dxz.module.user.service.UserGoService:1.0.0:21782]
   
   我这边是 dxz/UserGoService:1.0.0:21782
   java-server的是 dxz/com.jjl.dxz.module.user.service.UserGoService:1.0.0:21782
   
   
   java-server 从spring dubbo升级了两次到现在的 springcloud dubbo
   
   为什么对方的是 com.jjl.dxz.module.user.service.UserGoService
   我的是UserGoService


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

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-go] AlexStocks closed issue #783: go-client直连dubbo java-server 遇到的奇怪问题

Posted by GitBox <gi...@apache.org>.
AlexStocks closed issue #783:
URL: https://github.com/apache/dubbo-go/issues/783


   


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

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-go] milerL commented on issue #783: go-client直连dubbo java-server 遇到的奇怪问题

Posted by GitBox <gi...@apache.org>.
milerL commented on issue #783:
URL: https://github.com/apache/dubbo-go/issues/783#issuecomment-701259469


   com.jjl.dxz.module.user.service.UserGoService
   这个值是我的 interface参数


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

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-go] milerL commented on issue #783: go-client直连dubbo java-server 遇到的奇怪问题

Posted by GitBox <gi...@apache.org>.
milerL commented on issue #783:
URL: https://github.com/apache/dubbo-go/issues/783#issuecomment-705922806






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

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-go] hxmhlt commented on issue #783: go-client直连dubbo java-server 遇到的奇怪问题

Posted by GitBox <gi...@apache.org>.
hxmhlt commented on issue #783:
URL: https://github.com/apache/dubbo-go/issues/783#issuecomment-704000319


   你在go client写的UserGoService,实现的JavaClassName方法返回的字符串是否正确?


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

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-go] milerL commented on issue #783: go-client直连dubbo java-server 遇到的奇怪问题

Posted by GitBox <gi...@apache.org>.
milerL commented on issue #783:
URL: https://github.com/apache/dubbo-go/issues/783#issuecomment-705922896


   > 你在客户端写的UserGoService,实现的JavaClassName方法返回的字符串是否正确?
   
   返回的字符串没问题


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

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-go] AlexStocks commented on issue #783: go-client直连dubbo java-server 遇到的奇怪问题

Posted by GitBox <gi...@apache.org>.
AlexStocks commented on issue #783:
URL: https://github.com/apache/dubbo-go/issues/783#issuecomment-710047714


   @lizhixin


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

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-go] milerL commented on issue #783: go-client直连dubbo java-server 遇到的奇怪问题

Posted by GitBox <gi...@apache.org>.
milerL commented on issue #783:
URL: https://github.com/apache/dubbo-go/issues/783#issuecomment-701258780


   补充
   dubbo 官方文档 说明注册服务时是这样的
   Register: dubbo://192.168.99.1:20880/com.alibaba.dubbo.samples.api.GreetingService?anyhost=true&application=dubbo-annotation-provider&default.timeout=1000&dubbo=2.6.2&generic=false&interface=com.alibaba.dubbo.samples.api
   
   但是我调用的接口是这样的
   dubbo://192.168.26.111:21782/UserGoService?app.version=1.0.0&application=DXZ-user-service&async=false&bean.name=UserGoService&cluster=&environment=dev&generic=false&group=dxz&interface=com.jjl.dxz.module.user.service.UserGoService&loadbalance=&methods.FindById.loadbalance=&methods.FindById.retries=3&methods.FindById.sticky=false&module=dubbogo+user-info+client&name=DXZ-user-service&organization=user.dxzjjl.com&owner=ZX&provided-by=&reference.filter=cshutdown&registry.role=0&release=dubbo-golang-1.3.0&retries=&side=consumer&sticky=false&timestamp=1601450721&version=1.0.0
   
   
   我在/protocol/dubbo_protocol.go 86行
   强制修改url.Path="/com.jjl.dxz.module.user.service.UserGoService"
   
   就可以了


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

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-go] milerL commented on issue #783: go-client直连dubbo java-server 遇到的奇怪问题

Posted by GitBox <gi...@apache.org>.
milerL commented on issue #783:
URL: https://github.com/apache/dubbo-go/issues/783#issuecomment-705922806


   > 你在客户端写的UserGoService,实现的JavaClassName方法返回的字符串是否正确?
   
   修改了url.path 以后是正常的


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

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