Failed to load resource: the server responded with a status of 504 (Gateway Timeout)
时间: 2023-08-17 11:13:16 浏览: 57
引用\[1\]:根据查询结果,出现"Failed to load resource: the server responded with a status of 504 (Gateway Timeout)"错误通常与ngix的超时时间有关。\[1\]这个错误表示服务器在请求网关时超时了。引用\[2\]中提到了一种解决方案,即修改nginx.conf配置文件中的proxy_read_timeout的值来解决504超时问题。如果没有该配置项,则需要手动添加到location /{}里面。修改完配置文件后,需要重启nginx才能生效。\[2\]引用\[3\]中提到了另一种可能的原因,即后端的SQL语句错误导致查询失败。如果出现"Unknown column 'loginCout' in 'field list'"的错误,说明实体类的属性和数据库表的字段名不匹配。\[3\]因此,解决这个问题需要检查后端的SQL语句和数据库表的字段名是否一致。
#### 引用[.reference_title]
- *1* [Failed to load resource: the server responded with a status of 504](https://blog.csdn.net/jackfeng86/article/details/125664999)[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^koosearch_v1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [Failed to load resource: the server responded with a status of 504 (Gateway Time-out)](https://blog.csdn.net/github_39325328/article/details/79820598)[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^koosearch_v1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *3* [Failed to load resource: the server responded with a status of 500 ()](https://blog.csdn.net/qq_44231797/article/details/121406270)[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^koosearch_v1,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]