两个微服务之间通过feign调用时,后台抛出异常:
feign.RetryableException: Read timed out executing POST
解决方法:
在你的yml文件中添加
ribbon:
ReadTimeout: 60000
ConnectTimeout: 60000
如图:
两个微服务之间通过feign调用时,后台抛出异常:
feign.RetryableException: Read timed out executing POST
解决方法:
在你的yml文件中添加
ribbon:
ReadTimeout: 60000
ConnectTimeout: 60000
如图:
SpringBoot使用Feign进行服务间通信
Socket read timed out
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M