apache / apache/dubbo

Dubbo client can not supported string message problem still happend

Open
#10,264 13 comments 0 reactions 0 assignees View on GitHub
type/discussion
Dominant language
Java
Stars
41.6k
Forks
26.4k
Avg merge
15h 13m
Merged PRs (30d)
4

Description

- [x] I have searched the [issues](https://github.com/apache/dubbo/issues) of this repository and believe that this is not a duplicate.

### Environment

* Dubbo version: 3.0.1
* Operating System version: centos
* Java version: 1.8

### Steps to reproduce this issue

1. setting provider payload
2. consumer invoke provider serivce, the response data size is 20M < 100M
3. but consumer happend below problem,

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, dubbo version: 3.0.1, current host: 10.11.33.60
java.lang.Exception: Dubbo client can not supported string message: 464642],[119.36135700386,42.0039224874151],[119.360002451097,42.003717625058],[119.359396533585,42.0035696501204],[119.358987376968,42.0031680333027],[119.358539561078,42.0026358628986],[119.358315878313,42.0022015564206],[119.358068629836,42.0008188241229],[119.357815799583,41.9995622580692]....

### What do you expect from the above steps?
#### consumer can normal invoke the provider service

### What actually happens?
```
in channel: NettyChannel [channel=[id: 0xef9fcee5, L:/10.11.33.60:63944 - 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)
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.