Closed fionawp closed 4 years ago
Here is golang config:
Here is golang interface:
you can try to use func(ctx context.Context, req *DictionaryDto) (interface{}, error)
Hi, Has the problem been solved? @fionawp
@fangyincheng Yes, it has been solved. Thank you very much!
What happened:
Java server dubbo version: 2.6.6 or 2.6.5.
client: apache/dubbo-go v1.2.0 apache/dubbo-go-hessian2 v1.3.0
The server interface is :
Golang errors: using the dubbo version 2.6.0. Last error is java exception:Fail to decode request due to: RpcInvocation [methodName=queryDataDictionary, parameterTypes=[class java.lang.Object, class java.lang.Object], arguments=null, attachments={path=xx.xx.mt.MyProcessor, input=355, dubbo=2.0.2, version=}].
Jave errors: WARN:com.alibaba.dubbo.rpc.protocol.dubbo.DecodeableRpcInvocation.decode(DecodeableRpcInvocation.java:73) - [DUBBO] Decode rpc invocation failed: readObject: unexpected end of file, dubbo version: 2.6.5 What you expected to happen:
How to reproduce it (as minimally and precisely as possible): These errors happen everytime(必现)
Anything else we need to know?: