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/05/07 05:25:12 UTC
[GitHub] [dubbo-js] springJia opened a new issue #210: 状态码:40 BAD_REQUEST 报错
springJia opened a new issue #210:
URL: https://github.com/apache/dubbo-js/issues/210
DirectlyDubbo 直连java服务,java.combine 参数传递appId时会报错:
<Buffer 00 00 00 00 00 00 00 01> 40
dubbo:hessian:DecoderV2 parse response status: 40, DUBBO_RESPONSE_STATUS: OK +2ms
dubbo:socket-worker SocketWorker#1 <=received=> dubbo result {
dubbo:socket-worker err: DubboDecodeError: 1Fail to decode request due to: RpcInvocation [methodName=categoryMenu, parameterTypes=[interface com.ctrip.imt.azores.product.Prod
uctService], arguments=null, attachments={path=com.ctrip.imt.azores.product.ProductService, input=335, DubboService.requestId=240751, dubbo=2.0.2, version=}]
dubbo:socket-worker at Object.decode (D:\Users\xh.jia\ctrip_work\dubbo2-test\node_modules\dubbo2.js\es7\decode.js:70:18)
dubbo:socket-worker at DecodeBuffer.SocketWorker._onSubscribeDecodeBuff [as
--------------------------------------------代码如下-----------------------------------------
const demoService = dubbo.proxyService({
dubboInterface,
version,
methods: {
categoryMenu() {
return [java.combine('com.demo.XXXX.XXXXXX',
{"appId":"*******"})];
},
},
});
请问什么情况下会导致这个报错
----------------------------------------------------------------
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