rexzhang / asgi-webdav

An asynchronous WebDAV server implementation, Support multi-provider, multi-account and permission control.
https://rexzhang.github.io/asgi-webdav/
MIT License
75 stars 14 forks source link

升级到1.2后,遇到两个问题 #27

Open lilarcor opened 2 years ago

lilarcor commented 2 years ago

1.有时候遇到进入子目录需要重新验证 2.之前经常使用comicshare看漫画,1.2之后,文件下载到100%不会打开,永远停留在加载状态。

回退1.1后正常了

rexzhang commented 2 years ago
  1. 有重新验证权限的日志么?
  2. comicshare 的版本?我看能否找来测试一下
lilarcor commented 2 years ago

日志没了,我返回到1.1了,comicshare是ios版本7.1.15, 已经是最新版了

On Mon, Sep 5, 2022 at 11:01 AM Rex Zhang @.***> wrote:

  1. 有重新验证权限的日志么?
  2. comicshare 的版本?我看能否找来测试一下

— Reply to this email directly, view it on GitHub https://github.com/rexzhang/asgi-webdav/issues/27#issuecomment-1236498169, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACIEOFB7RXVBH4NMMOIEVQDV4VO7RANCNFSM6AAAAAAQD2CQT4 . You are receiving this because you authored the thread.Message ID: @.***>

--

Best Regards, Joey Lu

lilarcor commented 1 year ago

更新到1.3.2之后,不再重复显示登录提示了,但是用comicshare读取直接卡死,没有进度。还是回退到了1.1.0

rexzhang commented 1 year ago

嗯, comicshare 我还没测过

lilarcor commented 1 year ago

如果需要日志的话请告诉我怎么弄,我来测一下发出来。

On Mon, Nov 28, 2022 at 14:59 Rex Zhang @.***> wrote:

嗯, comicshare 我还没测过

— Reply to this email directly, view it on GitHub https://github.com/rexzhang/asgi-webdav/issues/27#issuecomment-1328628896, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACIEOFDQP2U7BUVFL6DGQ7LWKRJ5PANCNFSM6AAAAAAQD2CQT4 . You are receiving this because you authored the thread.Message ID: @.***>

--

Best Regards, Joey Lu

rexzhang commented 1 year ago

首先需要一个账号有管理员权限

{
    "account_mapping": [
        {
            "username": "username",
            "password": "password",
            "permissions": ["+"],
            "admin": true,
        }
}

重启服务后,在浏览器上使用这个账号访问 http://<your.domain.com>/_/admin/logging 这个地址

lilarcor commented 1 year ago

请忽略里面的devonthink条目,关注含有comic的就行,开始测试的包含中文路径,发现乱码后用了全英文的路径“/webdav/share/comic/Avengers DVD part 2”, 手机端出现的提示就是卡死在 “正在获取...”

2022-11-28 15:34:50,722 INFO: [asgi_webdav.config] Load config value from config file:/data/webdav.json
2022-11-28 15:34:50,723 INFO: [asgi_webdav.server] ASGI WebDAV Server(v1.3.2) starting...
2022-11-28 15:34:50,723 INFO: [asgi_webdav.auth] Register User: webdav, allow:['^/full', '^/webdav/share', '^/webdav/abc'], deny:[]
2022-11-28 15:34:50,723 INFO: [asgi_webdav.auth] Register User: davread, allow:['^/webdav/share'], deny:[]
2022-11-28 15:34:50,723 INFO: [asgi_webdav.auth] Register User: private, allow:['^/full/private'], deny:[]
2022-11-28 15:34:50,723 INFO: [asgi_webdav.auth] Register User: getrom, allow:['^/webdav/share/game/roms'], deny:[]
2022-11-28 15:34:50,723 INFO: [asgi_webdav.auth] Register User: xhj, allow:['^/webdav/abc'], deny:[]
2022-11-28 15:34:50,723 INFO: [asgi_webdav.web_dav] Mapping Prefix: / => file:///mnt
2022-11-28 15:34:50,723 INFO: [asgi_webdav.server] ASGI WebDAV Server running on http://0.0.0.0:8000 (Press CTRL+C to quit)
2022-11-28 15:35:06,696 INFO: [asgi_webdav.server] 192.168.6.103 - "GET /full" 200 Digest - Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:107.0) Gecko/20100101 Firefox/107.0
2022-11-28 15:35:11,830 INFO: [asgi_webdav.server] 192.168.6.103 - "GET /_/admin/logging" 200 Digest - Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:107.0) Gecko/20100101 Firefox/107.0
2022-11-28 15:35:19,776 INFO: [asgi_webdav.server] 192.168.6.121 - "PROPFIND /webdav/share/comic/909号大都市" 401 None - ComicShare/7.2.8 (iPhone; iOS 16.1.1; Scale/3.00)
2022-11-28 15:35:19,942 INFO: [asgi_webdav.server] 192.168.6.121 - "PROPFIND /webdav/share/comic/909号大都市" 207 Digest - ComicShare/7.2.8 (iPhone; iOS 16.1.1; Scale/3.00)
2022-11-28 15:35:20,569 INFO: [asgi_webdav.server] 192.168.6.121 - "GET /webdav/share/comic/909号大都市/[comic][909号大都市][Megacity.909][Jacob.Lee.&.Kano.Kang][en].vol.4.cbr" 206 Digest - ComicShare/7.2.8 (iPhone; iOS 16.1.1; Scale/3.00)
2022-11-28 15:35:21,479 INFO: [asgi_webdav.server] 192.168.6.121 - "GET /webdav/share/comic/909号大都市/[comic][909号大都市][Megacity.909][Jacob.Lee.&.Kano.Kang][en].vol.4.cbr" 206 Digest - ComicShare/7.2.8 (iPhone; iOS 16.1.1; Scale/3.00)
2022-11-28 15:35:28,445 INFO: [asgi_webdav.server] 192.168.6.121 - "GET /webdav/share/comic/909号大都市/[comic][909号大都市][Megacity.909][Jacob.Lee.&.Kano.Kang][en].vol.4.cbr" 206 Digest - ComicShare/7.2.8 (iPhone; iOS 16.1.1; Scale/3.00)
2022-11-28 15:35:32,134 INFO: [asgi_webdav.server] 192.168.6.103 - "GET /_/admin/logging" 200 Digest - Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:107.0) Gecko/20100101 Firefox/107.0
2022-11-28 15:35:33,734 INFO: [asgi_webdav.server] 192.168.6.103 - "GET /_/admin/logging" 200 Digest - Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:107.0) Gecko/20100101 Firefox/107.0
2022-11-28 15:35:50,169 INFO: [asgi_webdav.server] 192.168.6.121 - "PROPFIND /webdav/share/comic" 401 None - ComicShare/7.2.8 (iPhone; iOS 16.1.1; Scale/3.00)
2022-11-28 15:35:50,482 INFO: [asgi_webdav.server] 192.168.6.121 - "PROPFIND /webdav/share/comic" 207 Digest - ComicShare/7.2.8 (iPhone; iOS 16.1.1; Scale/3.00)
2022-11-28 15:35:51,582 INFO: [asgi_webdav.server] 192.168.6.233 - "PROPFIND /full/devonthink.dtCloud" 401 None - DEVONcloudy 1.20.7
2022-11-28 15:35:51,587 INFO: [asgi_webdav.server] 192.168.6.233 - "PROPFIND /full/devonthink.dtCloud" 207 Digest - DEVONcloudy 1.20.7
2022-11-28 15:35:51,593 INFO: [asgi_webdav.server] 192.168.6.233 - "GET /full/devonthink.dtCloud/inbox/master.plist" 200 Digest - DEVONcloudy 1.20.7
2022-11-28 15:35:51,606 INFO: [asgi_webdav.server] 192.168.6.233 - "PROPFIND /full/devonthink.dtCloud/inbox" 207 Digest - DEVONcloudy 1.20.7
2022-11-28 15:35:51,612 INFO: [asgi_webdav.server] 192.168.6.233 - "PROPFIND /full/devonthink.dtCloud/inbox/687868973.399-1829be5012aed6388e2db004809e945eef3d19c9-3219710385.manifest" 404 Digest - DEVONcloudy 1.20.7
2022-11-28 15:35:52,883 INFO: [asgi_webdav.server] 192.168.6.121 - "PROPFIND /webdav/share/comic/Avengers DVD part 2" 207 Digest - ComicShare/7.2.8 (iPhone; iOS 16.1.1; Scale/3.00)
2022-11-28 15:35:57,827 INFO: [asgi_webdav.server] 192.168.6.121 - "PROPFIND /webdav/share/comic/Avengers DVD part 2/Avengers_101-200" 207 Digest - ComicShare/7.2.8 (iPhone; iOS 16.1.1; Scale/3.00)
2022-11-28 15:35:58,472 INFO: [asgi_webdav.server] 192.168.6.121 - "GET /webdav/share/comic/Avengers DVD part 2/Avengers_101-200/Avengers101.cbz" 206 Digest - ComicShare/7.2.8 (iPhone; iOS 16.1.1; Scale/3.00)
2022-11-28 15:35:59,274 INFO: [asgi_webdav.server] 192.168.6.121 - "GET /webdav/share/comic/Avengers DVD part 2/Avengers_101-200/Avengers102.cbz" 401 None - ComicShare/7.2.8 (iPhone; iOS 16.1.1; Scale/3.00)
2022-11-28 15:35:59,442 INFO: [asgi_webdav.server] 192.168.6.121 - "GET /webdav/share/comic/Avengers DVD part 2/Avengers_101-200/Avengers102.cbz" 206 Digest - ComicShare/7.2.8 (iPhone; iOS 16.1.1; Scale/3.00)
2022-11-28 15:36:01,583 INFO: [asgi_webdav.server] 192.168.6.233 - "PROPFIND /full/devonthink.dtCloud" 401 None - DEVONcloudy 1.20.7
2022-11-28 15:36:01,588 INFO: [asgi_webdav.server] 192.168.6.233 - "PROPFIND /full/devonthink.dtCloud" 207 Digest - DEVONcloudy 1.20.7
2022-11-28 15:36:01,594 INFO: [asgi_webdav.server] 192.168.6.233 - "GET /full/devonthink.dtCloud/ca5a49f8d214b577c5f205665fcb6d777ed372a725cee5253654cdda998c8d2e/master.plist" 200 Digest - DEVONcloudy 1.20.7
2022-11-28 15:36:01,606 INFO: [asgi_webdav.server] 192.168.6.233 - "PROPFIND /full/devonthink.dtCloud/ca5a49f8d214b577c5f205665fcb6d777ed372a725cee5253654cdda998c8d2e" 207 Digest - DEVONcloudy 1.20.7
2022-11-28 15:36:01,611 INFO: [asgi_webdav.server] 192.168.6.233 - "PROPFIND /full/devonthink.dtCloud/ca5a49f8d214b577c5f205665fcb6d777ed372a725cee5253654cdda998c8d2e/691246496.600-1829be5012aed6388e2db004809e945eef3d19c9-1534939080.manifest" 404 Digest - DEVONcloudy 1.20.7
2022-11-28 15:36:01,854 INFO: [asgi_webdav.server] 192.168.6.103 - "GET /_/admin/logging" 200 Digest - Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:107.0) Gecko/20100101 Firefox/107.0
2022-11-28 15:36:08,943 INFO: [asgi_webdav.server] 192.168.6.233 - "PROPFIND /full/devonthink.dtCloud" 401 None - DEVONcloudy 1.20.7
2022-11-28 15:36:08,948 INFO: [asgi_webdav.server] 192.168.6.233 - "PROPFIND /full/devonthink.dtCloud" 207 Digest - DEVONcloudy 1.20.7
2022-11-28 15:36:08,954 INFO: [asgi_webdav.server] 192.168.6.233 - "GET /full/devonthink.dtCloud/723233ea25aac11ea5a4bcf457081d38df0d33ddf4cfbddc83f18d91f9e486da/master.plist" 200 Digest - DEVONcloudy 1.20.7
2022-11-28 15:36:08,969 INFO: [asgi_webdav.server] 192.168.6.233 - "PROPFIND /full/devonthink.dtCloud/723233ea25aac11ea5a4bcf457081d38df0d33ddf4cfbddc83f18d91f9e486da" 207 Digest - DEVONcloudy 1.20.7
2022-11-28 15:36:08,978 INFO: [asgi_webdav.server] 192.168.6.233 - "PROPFIND /full/devonthink.dtCloud/723233ea25aac11ea5a4bcf457081d38df0d33ddf4cfbddc83f18d91f9e486da/691312966.966-1829be5012aed6388e2db004809e945eef3d19c9-418999479.manifest" 404 Digest - DEVONcloudy 1.20.7
rexzhang commented 1 year ago

看日志,似乎是获取Avengers102.cbz这个文件后就没有操作了.不知道到Avengers102.cbz这个文件有多大?后续文件?

单纯看日志看不出来有其他问题,不知道ComicShare的获取逻辑的前提下很难确定问题在哪里

lilarcor commented 1 year ago

这个文件很小,13MB,我也试过其他文件,都是一样的问题,当然也可能是comicshare的问题。

On Mon, Nov 28, 2022 at 16:01 Rex Zhang @.***> wrote:

看日志,似乎是获取Avengers102.cbz这个文件后就没有操作了.不知道到Avengers102.cbz这个文件有多大?后续文件?

单纯看日志看不出来有其他问题,不知道ComicShare的获取逻辑的前提下很难确定问题在哪里

— Reply to this email directly, view it on GitHub https://github.com/rexzhang/asgi-webdav/issues/27#issuecomment-1328678850, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACIEOFCRTW75UJXDAX3QQOTWKRRF5ANCNFSM6AAAAAAQD2CQT4 . You are receiving this because you authored the thread.Message ID: @.***>

--

Best Regards, Joey Lu

rexzhang commented 1 year ago

这样的话,只能我找时间装一个ComicShare来测试了,只是,网上有可以下载的测试资源么?或者这个app自带了的?

lilarcor commented 1 year ago

应该没,这个还是个ios付费软件。安卓版不大清楚,有的话可能方便一些

On Mon, Nov 28, 2022 at 16:07 Rex Zhang @.***> wrote:

这样的话,只能我找时间装一个ComicShare来测试了,只是,网上有可以下载的测试资源么?或者这个app自带了的?

— Reply to this email directly, view it on GitHub https://github.com/rexzhang/asgi-webdav/issues/27#issuecomment-1328686749, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACIEOFCXCBOITBS5JDZIEFTWKRR4HANCNFSM6AAAAAAQD2CQT4 . You are receiving this because you authored the thread.Message ID: @.***>

--

Best Regards, Joey Lu