«在调用nuxtServerInit时发生错误:建立安全TLS连接之前客户端网络套接字已断开»

时间:2019-11-07 17:07:00

标签: javascript node.js

一切都运行了半年以上。发生错误。

节点-v 10.15.3 更新没有结果。

感谢您的帮助。

Error occurred when calling nuxtServerInit: Client network socket disconnected before secure TLS connection was established
You have triggered an unhandledRejection, you may have forgotten to catch a Promise rejection:
Error: Client network socket disconnected before secure TLS connection w as established
at connResetException (internal/errors.js:575:14)
at TLSSocket.onConnectEnd (_tls_wrap.js:1361:19)
at Object.onceWrapper (events.js:299:28)
at TLSSocket.emit (events.js:215:7)
at TLSSocket.EventEmitter.emit (domain.js:478:20)
at endReadableNT (_stream_readable.js:1198:12)
at processTicksAndRejections (internal/process/task_queues.js:80:21)

package.json

 "dependencies": {
    "@nuxtjs/axios": "^5.8.0",
    "@nuxtjs/device": "^1.2.3",
    "@nuxtjs/pwa": "^2.6.0",
    "@nuxtjs/yandex-metrika": "^0.1.2",
    "axios": "^0.19.0",
    "cli-progress": "^3.3.1",
    "compression": "^1.7.4",
    "core-js": "^3.4.0",
    "cross-env": "^5.2.1",
    "express": "^4.17.1",
    "firebase": "^7.2.2",
    "helmet": "^3.21.2",
    "helmet-crossdomain": "^0.3.0",
    "https-proxy-agent": "^3.0.1",
    "kinopoisk-ru": "^1.0.3",
    "mongodb": "^3.3.3",
    "needle": "^2.4.0",
    "nuxt": "^2.10.2",
    "pm2": "^3.5.1",
    "socket.io": "^2.3.0",
    "socket.io-client": "^2.3.0",
    "yandex-pictures": "^1.4.88"
  },
  "devDependencies": {
    "@nuxtjs/eslint-config": "^0.0.1",
    "babel-eslint": "^8.2.1",
    "eslint": "^5.16.0",
    "eslint-config-prettier": "^3.1.0",
    "eslint-config-standard": "^13.0.1",
    "eslint-loader": "^2.2.1",
    "eslint-plugin-import": "^2.18.2",
    "eslint-plugin-jest": "^22.21.0",
    "eslint-plugin-node": "^9.2.0",
    "eslint-plugin-nuxt": "^0.4.3",
    "eslint-plugin-prettier": "2.6.2",
    "eslint-plugin-promise": "^4.2.1",
    "eslint-plugin-standard": "^4.0.1",
    "eslint-plugin-vue": "^5.2.3",
    "nodemon": "^1.19.4",
    "prettier": "1.14.3",
    "stylus": "^0.54.7",
    "stylus-loader": "^3.0.2"
  }

nuxt.config

  axios: {
    baseURL: 'https://my.domain'
  },

0 个答案:

没有答案