weixin_39913422
2020-12-26 13:33sofa node作为客户端,调用使用hessian4的版本的服务端,出现异常
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior: 1. Go to '...' 2. Click on '....' 3. Scroll down to '....' 4. See error
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information): - OS: [e.g. iOS] - Browser [e.g. chrome, safari] - Version [e.g. 22]
Smartphone (please complete the following information): - Device: [e.g. iPhone6] - OS: [e.g. iOS8.1] - Browser [e.g. stock browser, safari] - Version [e.g. 22]
Additional context Add any other context about the problem here.
服务端使用默认hessian3序列化版本,用node客户端去调用服务端,服务端可以正常接收请求,并返回,
但是当服务端hessian版本换成4的话,使用原来的node代码去调用的时候,出现异常,服务端未收到请求,我猜是序列化的问题,以下是错误日志:
,寻求专业解答。
该提问来源于开源项目:sofastack/sofa-rpc-node
- 点赞
- 回答
- 收藏
- 复制链接分享
5条回答
为你推荐
- pytorch point源代码出现KeyError: Caught KeyError in DataLoader worker process 0.如何解决?
- 深度学习
- 机器学习
- 人工智能
- 1个回答
- 对于货币应用,使用整数作为小数系数而不是浮点数是个好主意吗?
- integer
- math
- floating-point
- 3个回答
- PHP半随机字生成器[关闭]
- random
- button
- php
- 1个回答
- 下拉列表链接到同一页面中具有直接href的另一个页面
- hyperlink
- javascript
- dropdown
- php
- 1个回答
- 如何为数组中的每个插入项提供唯一ID?
- php
- 1个回答