NextChat icon indicating copy to clipboard operation
NextChat copied to clipboard

[Bug] Self-Deploied WEBDAV service can't be used to backup

Open Dandi007 opened this issue 1 year ago • 7 comments

📦 Deployment Method

Docker

📌 Version

v2.12.4

💻 Operating System

Ubuntu

📌 System Version

22.04

🌐 Browser

Chrome

📌 Browser Version

Google Chrome 126.0.6478.126

🐛 Bug Description

I have deploied my webdav service, and can access it with curl

➜ ~ curl -u USERNAME:PASSWD http://MY_HOSTNAME:3971/

got html output:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>
 <head>
  <title>Index of /</title>
 </head>
 <body>
<h1>Index of /</h1>
<ul><li><a href="a.txt"> a.txt</a></li>
<li><a href="testfile.txt"> testfile.txt</a></li>
</ul>
</body></html>

but In my nextchat's config, I click "检查可用性” (check available) it sends http req

https://MY_CHAT_HOST/api/webdav/chatgpt-next-web?endpoint=http://MY_ADV_HOST:3971

got 400 bad request

when I click sync it sends http req https://MY_CHAT_HOST/api/webdav/chatgpt-next-web/backup.json?endpoint=http://MY_ADV_HOST:3971 got resp 404

I have already insert my endpoint to white list using docker-compose

  chatgpt:
    image: yidadaa/chatgpt-next-web:using
    container_name: chatgpt
    environment:
      - WHITE_WEBDEV_ENDPOINTS=http://MY_HOST:3971
    restart: always

📷 Recurrence Steps

No response

🚦 Expected Behavior

No response

📝 Additional Information

No response

Dandi007 avatar Jul 20 '24 04:07 Dandi007

i got same issue, but im quite

evlic avatar Jul 23 '24 02:07 evlic

是的,无法通过WEBDAV备份,希望修复。

bing88868 avatar Jul 30 '24 12:07 bing88868

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


Yes, backup via WEBDAV is not possible, hope that is fixed.

Issues-translate-bot avatar Jul 30 '24 12:07 Issues-translate-bot

我也遇到了相同的问题,希望修复一下

Muione avatar Aug 11 '24 10:08 Muione

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


I also encountered the same problem and hope it can be fixed

Issues-translate-bot avatar Aug 11 '24 10:08 Issues-translate-bot

same issue with same 400 error code returned.

eric-easyhealth avatar Sep 20 '24 08:09 eric-easyhealth

same issue with same 400 error code returned.

Gxinhu avatar Sep 27 '24 12:09 Gxinhu