HCLonely / AWA-Helper

外星人论坛自动任务助手
https://github.com/HCLonely/AWA-Helper
45 stars 4 forks source link

Error: socket hang up code: 'ECONNRESET' #2

Closed zynowhere closed 2 years ago

zynowhere commented 2 years ago

查了下似乎是因为超时时长设置问题?

[2022-04-28 11:48:39] 正在检测更新...Error
[2022-04-28 11:48:39] 正在重试第 1 次...Error
[2022-04-28 11:48:41] 正在重试第 2 次...Error
[2022-04-28 11:48:42] 正在重试第 3 次...Error
Error: socket hang up
    at connResetException (node:internal/errors:691:14)
    at Socket.socketOnEnd (node:_http_client:466:23)
    at Socket.emit (node:events:538:35)
    at endReadableNT (node:internal/streams/readable:1345:12)
    at processTicksAndRejections (node:internal/process/task_queues:83:21) {
  code: 'ECONNRESET',
  config: {
    transitional: {
      silentJSONParsing: true,
      forcedJSONParsing: true,
      clarifyTimeoutError: false
    },
HCLonely commented 2 years ago

网络问题,可以尝试更换代理