feign 请求超时
时间: 2023-09-04 12:14:42 浏览: 125
Feign请求超时是指在使用Feign进行网络请求时,由于网络不稳定或服务端处理时间过长等原因,导致请求超过了设定的超时时间而没有得到响应。需要考虑以下几点来解决Feign请求超时的问题。
首先,我们需要检查框架设置的默认超时时间是否合理。可以根据实际情况调整超时时间,确保请求能在合理的时间范围内得到响应。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [05丨HTTP调用:你考虑到超时、重试、并发了吗?](https://download.csdn.net/download/qq_38470315/87587153)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *2* [spring cloud 调用feign请求超时 feign.RetryableException: Read timed out executing POST](https://blog.csdn.net/Dongguabai/article/details/120590436)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *3* [Feign由于调用服务出现超时导致的问题](https://blog.csdn.net/qq_45502336/article/details/123292950)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
[ .reference_list ]
阅读全文