alist-org / alist

🗂️A file list/WebDAV program that supports multiple storages, powered by Gin and Solidjs. / 一个支持多存储的文件列表/WebDAV程序,使用 Gin 和 Solidjs。
https://alist.nn.ci
GNU Affero General Public License v3.0
39.38k stars 5.11k forks source link

PikPak无法挂载到alist #6534

Open haoxiaoyueh opened 1 month ago

haoxiaoyueh commented 1 month ago

Please make sure of the following things

AList Version / AList 版本

v3.35.0

Driver used / 使用的存储驱动

PikPak

Describe the bug / 问题描述

在我试图按照教程将PikPak挂载到alist的时候 image 它并没有成功,反而是这个状态 image 并且我的网络问题并没有问题,普通打开pikpak是可以做到的 image 我在设置里也将web代理打开了 image 但是仍然失败了。

Reproduction / 复现链接

https://mypikpak.com/ https://user.mypikpak.com/v1/auth/token

Config / 配置

image

Logs / 日志

ERRO[2024-05-28 09:24:51] failed init storage but storage is already created: failed init storage: Post "https://user.mypikpak.com/v1/auth/token": read tcp 172.17.17.74:6214->8.219.103.183:443: wsarecv: An existing connection was forcibly closed by the remote host. [GIN] 2024/05/28 - 09:24:51 | 200 | 424.6709ms | 127.0.0.1 | POST "/api/admin/storage/create" [GIN] 2024/05/28 - 09:24:51 | 200 | 444.3µs | 127.0.0.1 | GET "/api/admin/storage/get?id=3" [GIN] 2024/05/28 - 09:24:51 | 200 | 910.6µs | 127.0.0.1 | GET "/api/admin/driver/info?driver=PikPak" ERRO[2024-05-28 09:25:25] failed init storage: Post "https://user.mypikpak.com/v1/auth/token": read tcp 172.17.17.74:6237->8.219.103.183:443: wsarecv: An existing connection was forcibly closed by the remote host. [GIN] 2024/05/28 - 09:25:25 | 200 | 347.3196ms | 127.0.0.1 | POST "/api/admin/storage/update" ERRO[2024-05-28 09:25:57] failed init storage: Post "https://user.mypikpak.com/v1/auth/token": read tcp 172.17.17.74:6291->8.219.103.183:443: wsarecv: An existing connection was forcibly closed by the remote host. [GIN] 2024/05/28 - 09:25:57 | 200 | 1.3629649s | 127.0.0.1 | POST "/api/admin/storage/update" ERRO[2024-05-28 09:26:25] failed init storage: Post "https://user.mypikpak.com/v1/auth/token": read tcp 172.17.17.74:6316->8.219.103.183:443: wsarecv: An existing connection was forcibly closed by the remote host. [GIN] 2024/05/28 - 09:26:25 | 200 | 338.484ms | 127.0.0.1 | POST "/api/admin/storage/update" ERRO[2024-05-28 09:26:27] failed init storage: Post "https://user.mypikpak.com/v1/auth/token": read tcp 172.17.17.74:6318->8.219.103.183:443: wsarecv: An existing connection was forcibly closed by the remote host. [GIN] 2024/05/28 - 09:26:27 | 200 | 335.3655ms | 127.0.0.1 | POST "/api/admin/storage/update" ERRO[2024-05-28 09:26:28] failed init storage: Post "https://user.mypikpak.com/v1/auth/token": read tcp 172.17.17.74:6320->8.219.103.183:443: wsarecv: An existing connection was forcibly closed by the remote host. [GIN] 2024/05/28 - 09:26:28 | 200 | 336.9781ms | 127.0.0.1 | POST "/api/admin/storage/update" ERRO[2024-05-28 09:26:30] failed init storage: Post "https://user.mypikpak.com/v1/auth/token": read tcp 172.17.17.74:6321->8.219.103.183:443: wsarecv: An existing connection was forcibly closed by the remote host. [GIN] 2024/05/28 - 09:26:30 | 200 | 334.5009ms | 127.0.0.1 | POST "/api/admin/storage/update" ERRO[2024-05-28 09:27:37] failed init storage: Post "https://user.mypikpak.com/v1/auth/token": read tcp 172.17.17.74:6376->8.219.103.183:443: wsarecv: An existing connection was forcibly closed by the remote host. [GIN] 2024/05/28 - 09:27:37 | 200 | 353.0462ms | 127.0.0.1 | POST "/api/admin/storage/update" ERRO[2024-05-28 09:27:38] failed init storage: Post "https://user.mypikpak.com/v1/auth/token": read tcp 172.17.17.74:6378->8.219.103.183:443: wsarecv: An existing connection was forcibly closed by the remote host. [GIN] 2024/05/28 - 09:27:38 | 200 | 336.923ms | 127.0.0.1 | POST "/api/admin/storage/update" ERRO[2024-05-28 09:28:32] failed init storage: Post "https://user.mypikpak.com/v1/auth/token": read tcp 172.17.17.74:6417->8.219.103.183:443: wsarecv: An existing connection was forcibly closed by the remote host. [GIN] 2024/05/28 - 09:28:32 | 200 | 381.0456ms | 127.0.0.1 | POST "/api/admin/storage/update" ERRO[2024-05-28 09:29:28] failed init storage: Post "https://user.mypikpak.com/v1/auth/token": read tcp 172.17.17.74:6459->8.219.103.183:443: wsarecv: An existing connection was forcibly closed by the remote host. [GIN] 2024/05/28 - 09:29:28 | 200 | 351.8397ms | 127.0.0.1 | POST "/api/admin/storage/update" ERRO[2024-05-28 09:29:36] failed init storage: Post "https://user.mypikpak.com/v1/auth/token": read tcp 172.17.17.74:6468->8.219.103.183:443: wsarecv: An existing connection was forcibly closed by the remote host. [GIN] 2024/05/28 - 09:29:36 | 200 | 348.7671ms | 127.0.0.1 | POST "/api/admin/storage/update" ERRO[2024-05-28 09:29:37] failed init storage: Post "https://user.mypikpak.com/v1/auth/token": read tcp 172.17.17.74:6470->8.219.103.183:443: wsarecv: An existing connection was forcibly closed by the remote host. [GIN] 2024/05/28 - 09:29:37 | 200 | 337.1309ms | 127.0.0.1 | POST "/api/admin/storage/update" ERRO[2024-05-28 09:29:39] failed init storage: Post "https://user.mypikpak.com/v1/auth/token": read tcp 172.17.17.74:6471->8.219.103.183:443: wsarecv: An existing connection was forcibly closed by the remote host. [GIN] 2024/05/28 - 09:29:39 | 200 | 340.8113ms | 127.0.0.1 | POST "/api/admin/storage/update" [GIN] 2024/05/28 - 09:32:57 | 207 | 0s | 127.0.0.1 | PROPFIND "/dav/CMCC/" ERRO[2024-05-28 09:34:43] failed init storage: Post "https://user.mypikpak.com/v1/auth/token": read tcp 172.17.17.74:6952->8.219.103.183:443: wsarecv: An existing connection was forcibly closed by the remote host. [GIN] 2024/05/28 - 09:34:43 | 200 | 372.8929ms | 127.0.0.1 | POST "/api/admin/storage/update" ERRO[2024-05-28 09:34:50] failed init storage: Post "https://user.mypikpak.com/v1/auth/token": read tcp 172.17.17.74:6955->8.219.103.183:443: wsarecv: An existing connection was forcibly closed by the remote host.

welcome[bot] commented 1 month ago

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

github-actions[bot] commented 1 month ago

See

  1. 50% #1372
haoxiaoyueh commented 1 month ago

是否是获取token的网址失效的原因?我在直接访问这个网址的时候也有 image 而且这个网址是ping不通的,是否已经失效了? image

pongfcnkl commented 1 month ago

给alist挂代理

haoxiaoyueh commented 1 month ago

给alist挂代理

挂上了,用的这个教程:https://github.com/alist-org/alist/discussions/4363 但是虽然显示有连接,但实际上是搜索不到文件 显示:failed get objs: failed to list objs: file_not_found image image

pongfcnkl commented 1 month ago

给alist挂代理

挂上了,用的这个教程:#4363 但是虽然显示有连接,但实际上是搜索不到文件 显示:failed get objs: failed to list objs: file_not_found image image

去除根文件id

Deepsea-CN commented 4 weeks ago

我用的海外服务器挂载没有问题,你开web代理的话也需要你的alist机器有访问外网的能力

suntao12138 commented 2 weeks ago

现在不是墙和梯子的问题是鉴权页面换了

suntao12138 commented 2 weeks ago

给alist挂代理

就不是代理的事情,有些地方不限制也不能挂载

pongfcnkl commented 2 weeks ago

给alist挂代理

就不是代理的事情,有些地方不限制也不能挂载

更新最新版 另外除非是同一个请求ip,不然302就不行了,只能开web代理和本地代理了