NextChat
NextChat copied to clipboard
[Bug] 数据同步设置里面webdav不能正常使用
Bug Description
如题,使用坚果云webDAV服务不能正常使用。
Steps to Reproduce
- 点击检查可用性按钮时,会显示不可用,并且返回check 520,post链接里会自动加上ChatGPTNextWeb字段。
- 点击同步按钮,会出现下面的错误Unexpected token 'e', "error code: 520" is not valid JSON
- 下图是坚果云webdav服务,是正常开启的
- 在另外一款文献管理软件zotero中,坚果云webdav也是也可以正常使用的,该链接结尾是以/zotero/结尾的
5.坚果云的文件也创建了
Expected Behavior
坚果云webdav服务正常使用
Screenshots
No response
Deployment Method
- [ ] Docker
- [ ] Vercel
- [ ] Server
Desktop OS
mac os 13
Desktop Browser
chrome
Desktop Browser Version
No response
Smartphone Device
No response
Smartphone OS
No response
Smartphone Browser
No response
Smartphone Browser Version
No response
Additional Logs
No response
Bot detected the issue body's language is not English, translate it automatically.
Title: [Bug] webdav cannot be used normally in data synchronization settings
我有同样的问题
Bot detected the issue body's language is not English, translate it automatically.
I have the same problem
请问使用的是最新版本么?最新版本中已经将/api/cors接口迁移到了/api/webdav,并增加了基于安全方面考量的一些设计
Bot detected the issue body's language is not English, translate it automatically.
Are you using the latest version? In the latest version, the /api/cors interface has been migrated to /api/webdav, and some designs based on security considerations have been added.
请问使用的是最新版本么?最新版本中已经将/api/cors接口迁移到了/api/webdav,并增加了基于安全方面考量的一些设计
请问新版本docker镜像什么时间会发布
Bot detected the issue body's language is not English, translate it automatically.
Are you using the latest version? In the latest version, the /api/cors interface has been migrated to /api/webdav, and some designs based on security considerations have been added.
When will the new version of the docker image be released?
请问使用的是最新版本么?最新版本中已经将/api/cors接口迁移到了/api/webdav,并增加了基于安全方面考量的一些设计
@Dean-YZG 是的,最新版本。 我部署了 PR #4525 之后遇到了 Json 解析错误的 BUG。
Logs
page-df770995f097e59f.js:1 [Config] got config from build time {version: 'v2.11.3', commitDate: '1713250762000', commitHash: '9b2cb1e1c3252298c8a94fb195af683ac7aea5e9', buildMode: 'standalone', isApp: false}
serviceWorkerRegister.js:4 ServiceWorker registration successful with scope: https://exmaple.com/
670.3f8d4b1ccea09673.js:1 [Update] local version v2.11.3
670.3f8d4b1ccea09673.js:1 [Update] remote version v2.11.3
page-df770995f097e59f.js:1 [Config] got config from server {needCode: true, hideUserApiKey: false, disableGPT4: false, hideBalanceQuery: true, disableFastLink: false, …}
page-df770995f097e59f.js:1
GET https://example.com/api/webdav/chatgpt-next-web/backup.json?endpoint=https://dav.jianguoyun.com/dav/ 520
get @ page-df770995f097e59f.js:1
sync @ page-df770995f097e59f.js:1
onClick @ 670.3f8d4b1ccea09673.js:1
l5 @ bce60fc1-e55b90606913faf1.js:9
ar @ bce60fc1-e55b90606913faf1.js:9
(anonymous) @ bce60fc1-e55b90606913faf1.js:9
u2 @ bce60fc1-e55b90606913faf1.js:9
u3 @ bce60fc1-e55b90606913faf1.js:9
(anonymous) @ bce60fc1-e55b90606913faf1.js:9
oS @ bce60fc1-e55b90606913faf1.js:9
ir @ bce60fc1-e55b90606913faf1.js:9
u9 @ bce60fc1-e55b90606913faf1.js:9
i6 @ bce60fc1-e55b90606913faf1.js:9
i4 @ bce60fc1-e55b90606913faf1.js:9
page-df770995f097e59f.js:1 [WebDav] get key = [email protected] 520
page-df770995f097e59f.js:1 [Sync] failed to get remote state SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON
at JSON.parse (<anonymous>)
at Object.sync (page-df770995f097e59f.js:1:247469)
at async onClick (670.3f8d4b1ccea09673.js:1:16330)
7698-bb5d18468650f39a.js:1 [Sync] SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON
at JSON.parse (<anonymous>)
at Object.sync (page-df770995f097e59f.js:1:247469)
at async onClick (670.3f8d4b1ccea09673.js:1:16330)
window.console.error @ 7698-bb5d18468650f39a.js:1
onClick @ 670.3f8d4b1ccea09673.js:1
await in onClick (async)
l5 @ bce60fc1-e55b90606913faf1.js:9
ar @ bce60fc1-e55b90606913faf1.js:9
(anonymous) @ bce60fc1-e55b90606913faf1.js:9
u2 @ bce60fc1-e55b90606913faf1.js:9
u3 @ bce60fc1-e55b90606913faf1.js:9
(anonymous) @ bce60fc1-e55b90606913faf1.js:9
oS @ bce60fc1-e55b90606913faf1.js:9
ir @ bce60fc1-e55b90606913faf1.js:9
u9 @ bce60fc1-e55b90606913faf1.js:9
i6 @ bce60fc1-e55b90606913faf1.js:9
i4 @ bce60fc1-e55b90606913faf1.js:9
When will the new version of the docker image be released?
同样的问题
Bot detected the issue body's language is not English, translate it automatically.
same question
same question
一样的问题
Bot detected the issue body's language is not English, translate it automatically.
Same problem
same question
代理地址为空,WebDAV 地址为https://dav.jianguoyun.com/dav/
时,同步可用,但检查可用性报错。
Bot detected the issue body's language is not English, translate it automatically.
When the proxy address is empty and the WebDAV address is 'https://dav.jianguoyun.com/dav/', synchronization is available, but an error is reported when checking availability.
same question,anyone pepole solved this problem?
这么大的 BUG,作者为什么不回复呢?
Bot detected the issue body's language is not English, translate it automatically.
Why doesn't the author reply to such a big BUG?
@Dean-YZG
请问使用的是最新版本么?最新版本中已经将/api/cors接口迁移到了/api/webdav,并增加了基于安全方面考量的一些设计
能帮忙看下么,现在还是不可用状态
Bot detected the issue body's language is not English, translate it automatically.
@Dean-YZG
Are you using the latest version? In the latest version, the /api/cors interface has been migrated to /api/webdav, and some designs based on security considerations have been added.
Can you help me take a look? It's still unavailable now.
代理地址为空,WebDAV 地址为
https://dav.jianguoyun.com/dav/
时,同步可用,但检查可用性报错。
你用的哪个版本的
Bot detected the issue body's language is not English, translate it automatically.
When the proxy address is empty and the WebDAV address is
https://dav.jianguoyun.com/dav/
, synchronization is available, but an error is reported when checking availability. 
Which version are you using?