sofastack / sofa-bolt

SOFABolt is a lightweight, easy to use and high performance remoting framework based on Netty.
https://www.sofastack.tech/projects/sofa-bolt/
Apache License 2.0
2.4k stars 856 forks source link

com.alipay.remoting.exception.RemotingException: Check connection failed for address #254

Closed qinliang373 closed 1 year ago

qinliang373 commented 3 years ago

Your question

做为图片服务,上传图片有时会报如下异常,导致上传失败。在什么情况下会导致这种异常发生? Caused by: com.alipay.remoting.exception.RemotingException: Check connection failed for address: Origin url [bolt://X.X.X.X:20113?accepts=100000&appNam e=oss-provider&weight=100&language=java&pid=24729&interface=com.test.StorageFacade&timeout=0&serialization=hessian2&protocol=bolt&delay= -1&dynamic=true&startTime=1611211023168&id=storageService&uniqueId=&rpcVer=50501], Unique key [x.x.x.x:20113]., maybe write overflow! describe your question clearly

Your scenes

describe your use scenes (why need this feature)

Your advice

describe the advice or solution you'd like

Environment

khotyn commented 3 years ago

你可以看看设置下下面的两个参数:

-Dbolt.netty.buffer.high.watermark=XXXX
-Dbolt.netty.buffer.low.watermark=XXXX

可以调大点儿看看。