我有一个 Nodejs 服务器在 Elastic beanstalk 上的 nginx 后面运行。我认为以下错误是由于未激活的 promise 造成的?
有人对它是什么有更好的了解吗?
2017/03/20 12:18:02 [error] 3503#0: *7363 upstream prematurely closed
connection while reading response header from upstream, client: 111.11.11.111,
server: , request: "POST /api/v1/some/url HTTP/1.1", upstream:
"http://127.0.0.1:8081/api/v1/some/url", host: "some.website.com"
最佳答案
我们也在寻求解决这个问题。从我的发现来看,这似乎是因为你的nodejs没有足够快地给出响应。希望对您有帮助...
关于node.js - nginx Node 上游在读取响应 header 时过早关闭连接,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42915933/