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

aria2启动后报错 #1651

Closed
4 tasks done
ShaddockCyan opened this issue Sep 12, 2022 · 2 comments
Closed
4 tasks done

aria2启动后报错 #1651

ShaddockCyan opened this issue Sep 12, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@ShaddockCyan
Copy link

ShaddockCyan commented Sep 12, 2022

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 版本

v3beta2

Driver used / 使用的存储驱动

google aliyun baidu

Describe the bug / 问题描述

启动后似乎可以能正常使用,但aria2报错,如果自行开启外置的aria2也会报错,为了确定不是系统的问题,在虚拟机里测试报错同样的结果

Reproduction / 复现链接

Logs / 日志

直接开启:
INFO[2022-09-12 15:40:33] reading config file: data/config.json
INFO[2022-09-12 15:40:33] load config from env with prefix: ALIST_
INFO[2022-09-12 15:40:33] init logrus...
INFO[2022-09-12 15:40:34] start server @ 0.0.0.0:5244
INFO[2022-09-12 15:40:34] success load storage: [/baidu], driver: [BaiduNetdisk]
INFO[2022-09-12 15:40:34] success load storage: [/google], driver: [GoogleDrive]
INFO[2022-09-12 15:40:35] success load storage: [/aliyun], driver: [Aliyundrive]
ERRO[2022-09-12 15:40:38] failed to init aria2 client: Post "http://localhost:6800/jsonrpc": dial tcp [::1]:6800: i/o timeout
failed get aria2 version
github.com/alist-org/alist/v3/internal/aria2.InitAria2Client
        /source/internal/aria2/aria2.go:33
github.com/alist-org/alist/v3/internal/aria2.InitClient
        /source/internal/aria2/aria2.go:23
github.com/alist-org/alist/v3/internal/bootstrap.InitAria2.func1
        /source/internal/bootstrap/aria2.go:10
runtime.goexit
        /usr/local/go/src/runtime/asm_amd64.s:1594


打开外置aira2:
INFO[2022-09-12 15:47:31] reading config file: data/config.json
INFO[2022-09-12 15:47:31] load config from env with prefix: ALIST_
INFO[2022-09-12 15:47:31] init logrus...
INFO[2022-09-12 15:47:31] start server @ 0.0.0.0:5244
INFO[2022-09-12 15:47:31] success load storage: [/baidu], driver: [BaiduNetdisk]
ERRO[2022-09-12 15:47:32] failed to init aria2 client: <nil>
INFO[2022-09-12 15:47:32] success load storage: [/google], driver: [GoogleDrive]
INFO[2022-09-12 15:47:32] success load storage: [/aliyun], driver: [Aliyundrive]
@ShaddockCyan ShaddockCyan added the bug Something isn't working label Sep 12, 2022
@welcome
Copy link

welcome bot commented Sep 12, 2022

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

@xhofe xhofe closed this as completed in 78e34f0 Sep 12, 2022
@nxjonson
Copy link

+1

@github-actions github-actions bot mentioned this issue Nov 26, 2022
4 tasks
@github-actions github-actions bot mentioned this issue Jun 29, 2023
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants