request aborted

The error Error: request aborted is somewhat expected, as that error is from Node.js telling us that the TCP socket has closed before we finished reading the request. This does not mean that request is too large, though. The most common causes for this:

  1. User is submitting a form and closes the web browser/browser tab.
  2. User is uploading using a command line tool like cURL and presses Ctrl+C to kill the process.
  3. Some network issue that kills the TCP connection.

可用的解决方案:

使用nginx做反向代理提供服务

nginx

From github

标签: none

添加新评论