Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
4 tasks done
HYY1116 opened this issue Jun 13, 2023 · 4 comments
Labels
bug Something isn't working duplicate This issue or pull request already exists

Comments

@HYY1116
Copy link

HYY1116 commented Jun 13, 2023

Please make sure of the following things

  • I have read the documentation.
  • I'm sure there are no duplicate issues or discussions.
  • I'm sure it's due to alist and not something else(such as Dependencies or Operational).
  • 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 HYY1116 added the bug Something isn't working label Jun 13, 2023
@welcome
Copy link

welcome bot commented Jun 13, 2023

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

@xhofe xhofe added the duplicate This issue or pull request already exists label Jun 13, 2023
@github-actions
Copy link

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

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jun 13, 2023
@sun3u
Copy link

sun3u commented Jun 13, 2023

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

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

@Utahamo
Copy link

Utahamo commented Jun 13, 2023

谢谢, 问题解决了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

4 participants