报错 504 Gateway Time-out

postman 发送请求报错:
504 Gateway Time-out

出现这个问题,可能的原因。
1、服务挂了
2、服务非常慢,超过了限定的时间,也会报这个错。
可能是超过了nginx的限定时间,也可能是超过了服务的超时时间。

例如nginx或服务的超时时间是60秒,一个接口跑了150秒,也会报这个错。

猜你喜欢

转载自blog.csdn.net/enthan809882/article/details/111992970