Webdav (Nextcloud) upload stuck at 0%

Description

When i upload files from self-hosted webdav (Nextcloud 19), the upload status stuck at 0% an the cancel button is non-functional. File uploads from local disk are working propely.
I’ve tested some external WebDAV provider and it’s the same problem.

I tried a Ubuntu 20.04 installation (local, no http-proxy/firewall/or whatever involved) with snap (rocketchat and nextcloud) and have the same problem.

In the logs i see the webdav browsing and that RC is reading the file properly… until i click on upload.

Is there anyone using Webdav on Rocket.Chat? What does ufsCreate exactly?

I appreciate every bit of help. Thanks

Server Setup Information

  • Version of Rocket.Chat Server: 3.6.0
  • Operating System: Linux
  • Deployment Method: Docker
  • Number of Running Instances: 1
  • Proxy: Nginx

Any additional Information

The last two log entries:

server.js:204 Meteor ➔ method getFileFromWebdav -> userId: m5WaEZNCNXxgR8z2H, arguments: [“tWsa674gsQuKhPpF6”,{“filename”:"/Readme.md",“basename”:“Readme.md”,“lastmod”:“Wed, 05 Aug 2020 11:32:08 GMT”,“size”:1,“type”:“file”,“etag”:“514c1e484dc791afbe4ced1c00691844”,“mime”:“text/markdown”}]
server.js:204 API ➔ debug Success {
statusCode: 200,
body: {
message: ‘{“msg”:“result”,“id”:“111”,“result”:{“success”:true,“data”:{"$binary":“IA==”}}}’,
success: true
}
}
server.js:204 UploadProxy ➔ debug Upload URL: /api/v1/method.call/ufsCreate

1 Like

In case someone has the same issue:

The problem was the default proxy entries in ~/.docker/config.json. I renamed/deleted the file and no it’s working properly.
This file is for env variables for all docker container and applied when building containers with docker-compose.