ConnectTimeout: HTTPConnectionPool(host='en.wikipedia.org', port=80)
时间: 2024-01-14 21:38:05 浏览: 178
ConnectionPoolTimeout
回答: ConnectTimeout: HTTPConnectionPool(host='en.wikipedia.org', port=80)是一个连接超时的错误。根据引用\[1\]中的描述,连接超时可能是由于网络访问不通导致的。在这种情况下,手机网络可以正常访问,但公司网络无法连接。另外,引用\[3\]中提到,在OkHttpClient的构造器中可以设置连接超时时长,通常默认为10秒。因此,如果连接超时时间超过了设定的时长,就会出现ConnectTimeout错误。
#### 引用[.reference_title]
- *1* [requests.exceptions.ConnectionError:HTTPSConnectionPool(host](https://blog.csdn.net/a6864657/article/details/94381948)[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^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [Data Import Request Handler](https://blog.csdn.net/chuifuhuo6864/article/details/100875791)[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^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item]
- *3* [Android 学习(1)](https://blog.csdn.net/hx1113/article/details/121674829)[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^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文