经常收到此错误(服务器意外响应(404)),并且停止渲染。
现在,我总是重新启动服务器并解决此问题。
我正在使用pm2继续服务器启动。 https://www.npmjs.com/package/pm2
https://www.testing.com/tags/testing1234/1在16毫秒内获得504
获取https://www.testing.com/tags/testing1234/1
Error: unexpected server response (404)
at ClientRequest._req.on (/opt/apps/apps/prerender/node_modules/ws/lib/WebSocket.js:653:21)
at ClientRequest.emit (events.js:182:13)
at HTTPParser.parserOnIncomingClient (_http_client.js:555:21)
at HTTPParser.parserOnHeadersComplete (_http_common.js:109:17)
at Socket.socketOnData (_http_client.js:441:20)
at Socket.emit (events.js:182:13)
at addChunk (_stream_readable.js:283:12)
at readableAddChunk (_stream_readable.js:264:11)
at Socket.Readable.push (_stream_readable.js:219:10)
at TCP.onStreamRead (internal/stream_base_commons.js:94:17)