spring resttemplate resourceaccessexception:post请求的i/o错误无法响应

eivgtgni  于 2021-07-24  发布在  Java
关注(0)|答案(0)|浏览(473)

我正在下面连接api。这是随机误差。连接等待一定时间并抛出错误。不是每次都出错。
org.springframework.web.client.resourceaccessexception:发布请求时出现i/o错误“https://test.com/api1/d3/init“:连接重置;嵌套的异常是java.net.socketexception:org.springframework.web.client.resttemplate.doexecute(resttemplate)上的连接重置。java:524)在org.springframework.web.client.restemplate.execute(restemplate。java:485)在org.springframework.web.client.restemplate.exchange(restemplate。java:436)
我试着从下面的帖子中理解这个问题,但没有得到太多的想法。spring boot resttemplate resourceaccessexception:post请求的i/o错误无法响应
请对此提出宝贵建议。

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题