我试图抓住一个网站,但在这几天有一些问题。 显示套接字挂断,
{ Error: socket hang up
at createHangUpError (_http_client.js:250:15)
at Socket.socketOnEnd (_http_client.js:342:23)
at emitNone (events.js:91:20)
at Socket.emit (events.js:185:7)
at endReadableNT (_stream_readable.js:926:12)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
at process._tickCallback (internal/process/next_tick.js:98:9) code: 'ECONNRESET' }
答案 0 :(得分:0)
这是TCP / IP错误:ECONNRESET(连接由对等方重置)。你有连接问题。示例:防火墙正在断开连接