alist icon indicating copy to clipboard operation
alist copied to clipboard

出现报错ERROR RESTY Post "https://api.nn.ci/alist/ali_open/token": context deadline exceeded (Client.Timeout exceeded while awaiting headers)

Open HYY1116 opened this issue 3 years ago • 4 comments

Please make sure of the following things

  • [X] I have read the documentation.
  • [X] I'm sure there are no duplicate issues or discussions.
  • [X] I'm sure it's due to alist and not something else(such as Dependencies or Operational).
  • [X] I'm sure I'm using the latest version

Alist Version / Alist 版本

V3.18.0 (Docker)

Driver used / 使用的存储驱动

阿里云盘-OPEN

Describe the bug / 问题描述

控制台报错 2023/06/13 08:57:58.271270 ERROR RESTY Post "https://api.nn.ci/alist/ali_open/token": context deadline exceeded (Client.Timeout exceeded while awaiting headers), Attempt 1 进入网盘界面会显示

9P}6 D5CP56$1@){IMT NXD 无法查看网盘文件,更换设备和网络环境进入后依然报错,在之前还没有出现过这种问题

Reproduction / 复现链接

http://hyybuth.xyz

Logs / 日志

INFO[2023-06-13 08:50:02] reading config file: data/config.json , INFO[2023-06-13 08:50:02] load config from env with prefix: , INFO[2023-06-13 08:50:02] init logrus... , INFO[2023-06-13 08:50:02] start server @ 0.0.0.0:5244 , INFO[2023-06-13 08:50:02] qbittorrent not ready. , INFO[2023-06-13 08:50:02] Aria2 not ready. , 2023/06/13 08:50:32.981729 ERROR RESTY Post "https://api.nn.ci/alist/ali_open/token": context deadline exceeded (Client.Timeout exceeded while awaiting headers), Attempt 1, 2023/06/13 08:51:03.082344 ERROR RESTY Post "https://api.nn.ci/alist/ali_open/token": context deadline exceeded (Client.Timeout exceeded while awaiting headers), Attempt 2, 2023/06/13 08:51:33.260651 ERROR RESTY Post "https://api.nn.ci/alist/ali_open/token": context deadline exceeded (Client.Timeout exceeded while awaiting headers), Attempt 3, 2023/06/13 08:52:03.523765 ERROR RESTY Post "https://api.nn.ci/alist/ali_open/token": context deadline exceeded (Client.Timeout exceeded while awaiting headers), Attempt 4, ERRO[2023-06-13 08:52:03] failed get enabled storages: Post "https://api.nn.ci/alist/ali_open/token": context deadline exceeded (Client.Timeout exceeded while awaiting headers), failed init storage, github.com/alist-org/alist/v3/internal/op.initStorage, /app/internal/op/storage.go:99, github.com/alist-org/alist/v3/internal/op.LoadStorage, /app/internal/op/storage.go:80, github.com/alist-org/alist/v3/internal/bootstrap.LoadStorages.func1, /app/internal/bootstrap/storage.go:20, runtime.goexit, /usr/lib/go/src/runtime/asm_amd64.s:1598 , INFO[2023-06-13 08:52:08] success load storage: [/AiPic], driver: [AList V3] , 2023/06/13 08:52:39.094496 ERROR RESTY Post "https://api.nn.ci/alist/ali_open/token": context deadline exceeded (Client.Timeout exceeded while awaiting headers), Attempt 1, 2023/06/13 08:53:09.198298 ERROR RESTY Post "https://api.nn.ci/alist/ali_open/token": context deadline exceeded (Client.Timeout exceeded while awaiting headers), Attempt 2, 2023/06/13 08:53:39.376273 ERROR RESTY Post "https://api.nn.ci/alist/ali_open/token": context deadline exceeded (Client.Timeout exceeded while awaiting headers), Attempt 3, 2023/06/13 08:54:09.659854 ERROR RESTY Post "https://api.nn.ci/alist/ali_open/token": context deadline exceeded (Client.Timeout exceeded while awaiting headers), Attempt 4, ERRO[2023-06-13 08:54:09] failed get enabled storages: Post "https://api.nn.ci/alist/ali_open/token": context deadline exceeded (Client.Timeout exceeded while awaiting headers), failed init storage, github.com/alist-org/alist/v3/internal/op.initStorage, /app/internal/op/storage.go:99, github.com/alist-org/alist/v3/internal/op.LoadStorage, /app/internal/op/storage.go:80, github.com/alist-org/alist/v3/internal/bootstrap.LoadStorages.func1, /app/internal/bootstrap/storage.go:20, runtime.goexit, /usr/lib/go/src/runtime/asm_amd64.s:1598 , 2023/06/13 08:54:39.783580 ERROR RESTY Post "https://api.nn.ci/alist/ali_open/token": context deadline exceeded (Client.Timeout exceeded while awaiting headers), Attempt 1, 2023/06/13 08:55:09.913281 ERROR RESTY Post "https://api.nn.ci/alist/ali_open/token": context deadline exceeded (Client.Timeout exceeded while awaiting headers), Attempt 2, 2023/06/13 08:55:40.052575 ERROR RESTY Post "https://api.nn.ci/alist/ali_open/token": context deadline exceeded (Client.Timeout exceeded while awaiting headers), Attempt 3, 2023/06/13 08:56:10.422733 ERROR RESTY Post "https://api.nn.ci/alist/ali_open/token": context deadline exceeded (Client.Timeout exceeded while awaiting headers), Attempt 4, ERRO[2023-06-13 08:56:10] failed get enabled storages: Post "https://api.nn.ci/alist/ali_open/token": context deadline exceeded (Client.Timeout exceeded while awaiting headers), failed init storage, github.com/alist-org/alist/v3/internal/op.initStorage, /app/internal/op/storage.go:99, github.com/alist-org/alist/v3/internal/op.LoadStorage, /app/internal/op/storage.go:80, github.com/alist-org/alist/v3/internal/bootstrap.LoadStorages.func1, /app/internal/bootstrap/storage.go:20, runtime.goexit, /usr/lib/go/src/runtime/asm_amd64.s:1598 , 2023/06/13 08:57:58.271270 ERROR RESTY Post "https://api.nn.ci/alist/ali_open/token": context deadline exceeded (Client.Timeout exceeded while awaiting headers), Attempt 1, 2023/06/13 08:58:28.398340 ERROR RESTY Post "https://api.nn.ci/alist/ali_open/token": context deadline exceeded (Client.Timeout exceeded while awaiting headers), Attempt 2, 2023/06/13 08:58:58.557207 ERROR RESTY Post "https://api.nn.ci/alist/ali_open/token": context deadline exceeded (Client.Timeout exceeded while awaiting headers), Attempt 3, 2023/06/13 08:59:28.882205 ERROR RESTY Post "https://api.nn.ci/alist/ali_open/token": context deadline exceeded (Client.Timeout exceeded while awaiting headers), Attempt 4,

HYY1116 avatar Jun 13 '23 09:06 HYY1116

Thanks for opening your first issue here! Be sure to follow the issue template!

welcome[bot] avatar Jun 13 '23 09:06 welcome[bot]

Hello @HYY1116, your issue is a duplicate and will be closed. 你好 @HYY1116,你的issue是重复的,将被关闭。

github-actions[bot] avatar Jun 13 '23 09:06 github-actions[bot]

后台自行修改Oauth令牌链接;

cf: https://api-cf.nn.ci/alist/ali_open/token 国内:https://api.xhofe.top/alist/ali_open/token

sun3u avatar Jun 13 '23 16:06 sun3u

谢谢, 问题解决了

Utahamo avatar Jun 13 '23 16:06 Utahamo