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

[Bug] 云同步Webdav 失败 #4764

Open
3 tasks
RanExoi opened this issue May 22, 2024 · 13 comments
Open
3 tasks

[Bug] 云同步Webdav 失败 #4764

RanExoi opened this issue May 22, 2024 · 13 comments
Labels
bug Something isn't working

Comments

@RanExoi
Copy link

RanExoi commented May 22, 2024

Bug Description

地址正常公网可以打开 但Webdav云同步检查可用性不通过 不知道是怎么回事

Steps to Reproduce

1

Expected Behavior

1

Screenshots

No response

Deployment Method

  • Docker
  • Vercel
  • Server

Desktop OS

No response

Desktop Browser

No response

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

@RanExoi RanExoi added the bug Something isn't working label May 22, 2024
@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Title: [Bug] Cloud synchronization of Webdav failed

@Dean-YZG
Copy link
Contributor

有浏览器开发者工具中截取的关于接口请求报错的截图么?目前,出于安全考虑,除了通过env var 配置的webdev endpoint之外,仅支持几个公开可信的服务提供商

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Are there any screenshots of interface request errors taken from the browser developer tools? Currently, due to security concerns, only a few publicly trusted service providers are supported in addition to the webdev endpoint configured via env var

@SquirrelJimmy
Copy link

SquirrelJimmy commented May 28, 2024

webdav有坑,无论是否是浏览器,代理必须勾选上,代理的URL就是当前你访问的域名,app;里面代理可以写你部署的域名后者ip,在你的云存储设置webdav的根目录下,新建文件夹chatgpt-next-web,文件夹里新建 backup.json 文件,不用管检查,直接同步即可,太坑了

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Webdav has pitfalls. Regardless of whether it is a browser or not, the proxy must be checked. The URL of the proxy is the domain name you are currently visiting. In the root directory of your cloud storage settings webdav, create a new folder `chatgpt-next-web

@junxian-li-hpc
Copy link
Contributor

webdav有坑,无论是否是浏览器,代理必须勾选上,代理的URL就是当前你访问的域名,app;里面代理可以写你部署的域名后者ip,在你的云存储设置webdav的根目录下,新建文件夹chatgpt-next-web,文件夹里新建 backup.json 文件,不用管检查,直接同步即可,太坑了

朋友,可以看下你的配置吗,代理URL还是不知道怎么填写😫

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Webdav has pitfalls. Regardless of whether it is a browser or not, the proxy must be checked. The URL of the proxy is the domain name and app you are currently visiting. The proxy can write the domain name and IP of your deployment. Set the root of webdav in your cloud storage. Directory, create a new folder chatgpt-next-web, and create a backup.json file in the folder. Don’t bother checking, just synchronize directly. It’s too confusing.

Friend, can you take a look at your configuration? I still don’t know how to fill in the proxy URL😫

@ymone
Copy link

ymone commented Jun 8, 2024

试了下,以下两项都需要满足才能成功:

  1. 部署的时候需要把 webdav 的 endpoint 添加到白名单
    environment:
      - WHITE_WEBDEV_ENDPOINTS=https://webdav.example.com/
  1. 在 webdav 的 endpoint 的地址下面,必须要已有如下文件结构,json文件也必须存在:
endpoint/
└── chatgpt-next-web
    └── backup.json

其中第一点是程序安全设计
第二点应该是一个BUG

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


After giving it a try, the following two items need to be met to succeed:

  1. When deploying, you need to add the endpoint of webdav to the whitelist.
    environment:
      - WHITE_WEBDEV_ENDPOINTS=https://webdav.example.com/
  1. Under the address of the endpoint of webdav, the following file structure must exist, and the json file must also exist:
endpoint/
└── chatgpt-next-web
    └── backup.json

The first point is program security design
The second point should be a BUG

@122cygf
Copy link

122cygf commented Jun 14, 2024

webdav有坑,无论是否是浏览器,代理必须勾选上,代理的URL就是当前你访问的域名,app;里面代理可以写你部署的域名后者ip,在你的云存储设置webdav的根目录下,新建文件夹chatgpt-next-web,文件夹里新建 backup.json 文件,不用管检查,直接同步即可,太坑了

朋友,可以看下你的配置吗,代理URL还是不知道怎么填写😫

我的代理地址不填,但必须勾上代理,检查可用性不需要管他,能同步成功就行,其他都是和上面那位一样的

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Webdav has pitfalls. Regardless of whether it is a browser or not, the proxy must be checked. The URL of the proxy is the domain name and app you are currently visiting. The proxy can write the domain name and IP of your deployment. Set webdav in your cloud storage. In the root directory, create a new folder chatgpt-next-web, and create a new backup.json file in the folder. You don’t need to check it, just synchronize it directly. It’s too confusing.

Friends, can you take a look at your configuration? I still don’t know how to fill in the proxy URL😫

My proxy address is not filled in, but the proxy must be checked. You don’t need to worry about it to check the availability. As long as the synchronization is successful, everything else is the same as the one above.

@junxian-li-hpc
Copy link
Contributor

我用的main分支自己部署了,可以同步成功,用的 teracloud,没用坚果云试过

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


I deployed the main branch myself, and it can be synchronized successfully. I used teracloud, but I haven’t tried it with Nut Cloud.

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

7 participants