Skip to content

Error on Download files in WebDav Integration with Nextcloud #24385

@mtcoliveira

Description

@mtcoliveira

Description:
Hello, i need some help with Webdav Integration function.

I've a Nextcloud Server with Webdav Working perfectly.
I enabled Webdav integration in Rocket.Chat.
In a public room and added a webdav connection.

The problem starts when I use this connection to send some file (like an image, for example) in the chat. I can browse my files on the Webdav Server, I select the file and when I click on send, it is stuck at 0%.
I tried to check the logs but nothing appears.
File type and size settings are default in my settings i.e. all file types and size up to 5MB

Using devtools to debug the process of sending the image, it generated a 404 error.

Below the debug trace:
Request URL https://MYDOMAIN/ufs/GridFS:Uploads/4mzFudqwpLjjfKaqQ?token=a97939E8ab&progress=0.1472044276331749
Request Method: POST
Status code: 404
Remote Address: MYDOMAIN:443

I'm using Docker behind NGINX without subfolder settings

Steps to reproduce:
Go to Rocket Chat Admin Page
Click on WebDav Integration
Check WebDav Integration Enable
In a room, configure the parameters correctly with: Name, WebDav URL, Username and Password

Expected behavior:
Add new WebDav Server, browse the folders, click on the file and send the file successfully.

Actual behavior:
I can add the server configuration, browse the folders until I get to the file. After clicking in send, it is stopped at 0% and not send the file.

Server Setup Information:
Version of Rocket.Chat Server: v4.4.0
Verion of Nexcloud Server: v23.0.0
Operating System: Debian v10.0
Deployment Method: Docker v20.10.3
Number of Running Instances: 1

Client Setup Information
Browser Version: Edge v97.0.1072.76
Operating System: Windows 11

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions