RocketChat / RocketChat/Rocket.Chat

File upload is broken when WebDAV is used

Open
#17,604 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
46.1k
Forks
13.9k
Avg merge
3d 3h
Merged PRs (30d)
130

Description

Description:

When Webdav is selected and configured - upload works only partially
.jpg files - "SOME" getting uploaded some not - without any visible logic
.mp3/mp4 files - completely broken - upload stops somewhere between 97-100% then nothing
no errors - message "uploading" just hangs there forever until canceled

Capture

After monitoring the log - there are no events posted when file hangs ...

logfile

Steps to reproduce:
  1. Configure uploads with WebDav
  2. Upload an .mp3 or .mp4 file
Expected behavior:

File is uploaded and visible in message of the user

Actual behavior:

nothing happening - message "uploading file ..." stops at last few percent (sometime even at 100%)
without any message actually being posted or file uploaded to the webdav

Server Setup Information:
  • Version of Rocket.Chat Server: 2.17.7
  • Operating System: Ubuntu
  • Deployment Method: as described in install docs
  • Number of Running Instances: 1
  • DB Replicaset Oplog:
  • NodeJS Version:
  • MongoDB Version:
Client Setup Information
  • Desktop App or Browser Version:
  • Operating System:
Additional context
Relevant logs:

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is named. Start by reproducing the issue with WebDAV configured and an MP3 or MP4 upload, then trace the upload path when progress reaches 97–100%; done means the file reaches WebDAV and the message is posted successfully.

Written by the indexing model from the issue text.

Assessment

Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.