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

orgzly同步时报“not a valid DAV response ” #29

Open
wxcatv opened this issue May 13, 2023 · 3 comments
Open

orgzly同步时报“not a valid DAV response ” #29

wxcatv opened this issue May 13, 2023 · 3 comments
Labels
Compatibility Compatibility issues

Comments

@wxcatv
Copy link

wxcatv commented May 13, 2023

asgidav v0.91、v1.3.2都测试过。
端口配置:-p 0.0.0.0:8090:8000
winscp正常,但orgzly报“not a valid DAV response ”。
orgzly配置:dav://192.168.3.2:8900/logseq, 报错后,改为http://192.168.3.2:8900/logseq,也报错。
查询发现https://www.reddit.com/r/orgmode/comments/drzptk/orgzly_adds_webdav_support/,通过webdav连接NextCloud server正常。

@rexzhang
Copy link
Owner

有服务端的日志么?

@wxcatv
Copy link
Author

wxcatv commented May 14, 2023

2023-05-14 10:40:01,833 INFO: [asgi_webdav.config] Load config value from config file:/data/webdav.json,
INFO: [asgi_webdav.server] ASGI WebDAV Server(v1.3.2) starting...,
INFO: [asgi_webdav.auth] Register User: logseq, allow:['^/$', '^/logseq'], deny:[],
INFO: [asgi_webdav.web_dav] Mapping Prefix: /logseq => file:///data/logseq,
INFO: [asgi_webdav.server] ASGI WebDAV Server running on http://0.0.0.0:8000 (Press CTRL+C to quit),
INFO: [asgi_webdav.server] 192.168.3.47 - "PROPFIND /logseq" 401 None - okhttp/4.10.0-RC1,
INFO: [asgi_webdav.server] 192.168.3.47 - "PROPFIND /logseq" 207 Basic - okhttp/4.10.0-RC1,
INFO: [asgi_webdav.server] 192.168.3.47 - "PROPFIND /logseq" 207 Basic - okhttp/4.10.0-RC1,
INFO: [asgi_webdav.server] 192.168.3.47 - "PROPFIND /logseq" 401 None - okhttp/4.10.0-RC1,
INFO: [asgi_webdav.server] 192.168.3.47 - "PROPFIND /logseq" 207 Basic - okhttp/4.10.0-RC1,
INFO: [asgi_webdav.server] 192.168.3.47 - "PROPFIND /logseq" 207 Basic - okhttp/4.10.0-RC1,
INFO: [asgi_webdav.server] 192.168.3.66 - "OPTIONS /logseq" 401 None - WinSCP/5.21.8 neon/0.32.4,
INFO: [asgi_webdav.server] 192.168.3.66 - "OPTIONS /logseq" 200 Basic - WinSCP/5.21.8 neon/0.32.4,
INFO: [asgi_webdav.server] 192.168.3.66 - "PROPFIND /logseq" 207 Basic - WinSCP/5.21.8 neon/0.32.4,
INFO: [asgi_webdav.server] 192.168.3.66 - "PROPFIND /logseq" 207 Basic - WinSCP/5.21.8 neon/0.32.4,

@rexzhang
Copy link
Owner

从日志上看,服务端没有报错,可能是客户端对服务端返回的解析问题,这个属于兼容性问题.不过我手上没有供测试的安卓设备,暂时无能为力

@rexzhang rexzhang added the Compatibility Compatibility issues label Jun 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Compatibility Compatibility issues
Projects
None yet
Development

No branches or pull requests

2 participants