[英]Nginx as reverse proxy send unexpected FIN before origin server response
Client ------ Nginx ------- Origin Server (by Play 2.6)
59105 9000
问题:对于一个API调用,客户端总是从Nginx收到502 Bad Gateway
。
Nginx日志:
nginx | 2019/07/09 14:27:56 [error] 15#15: *1 upstream prematurely closed connection while reading response header from upstream, client: 172.20.0.1, server: , request: "POST /api/company-account/retrieve-company-info HTTP/1.1", upstream: "http://192.168.1.93:9000/api/company-account/retrieve-company-info", host: "localhost"
nginx | 172.20.0.1 - - [09/Jul/2019:14:27:56 +0000] "POST /api/company-account/retrieve-company-info HTTP/1.1" 502 166 "-" "PostmanRuntime/7.13.0"
FIN
发送到原始服务器。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.