zyxdSTU commented on issue #10264:
URL: https://github.com/apache/dubbo/issues/10264#issuecomment-1173390781
> 能再具体说下出现的场景吗,看起来是直接telnet了端口,然后写数据,不是通过服务端回传的
1、provider提供一个数据查询服务
<T> RpcResult<CompQueryResult<T>> executeQuerySQL(String dataSourceKey,
String sql, Class<T> clazz, Boolean returnHeader, 返回的数据大小可能大于8M
所以在Dubbo配置文件中,设置了payload为100M, <dubbo:provider id="payload"
payload="104857600" filter="metrics"/>、
2、consumer在调用provider服务的时候,抛出异常
`NettyChannel [channel=[id: 0x4b4524e3, L:/10.11.33.60:49760 -
R:/10.11.33.60:20881]], url:
dubbo://10.11.33.60:20881/org.apache.dubbo.metadata.MetadataService?codec=dubbo&dubbo=2.0.2&group=datacenter-api-local-asda&heartbeat=60000&port=20881&protocol=dubbo&release=3.0.1&side=consumer&timeout=5000&version=1.0.0
at
org.apache.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.received(HeaderExchangeHandler.java:184)
at
org.apache.dubbo.remoting.transport.DecodeHandler.received(DecodeHandler.java:51)
at
org.apache.dubbo.remoting.transport.dispatcher.ChannelEventRunnable.run(ChannelEventRunnable.java:57)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at
org.apache.dubbo.common.threadlocal.InternalRunnable.run(InternalRunnable.java:41)
at java.lang.Thread.run(Thread.java:750)`
能帮忙看一下吗? 卡了很久了。
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]