Skip to content

Rocketchat and Nextcloud integration with WebDAV problem #19802

@sepahrad

Description

@sepahrad

Description:

I got Nextcloud with WEBDAV enabled. I can access and work with it by curl command.

I tried to add WebDAV Server from Rocket Chat but it shows --> Could not access WebDAV alert on top right of browser window.

In View Log section at Admin Panel we have error: Exception while invoking method addWebdavAccount Error: [object Object] [could-not-access-webdav]

Steps to reproduce:

  1. Go to '+'
  2. Click on 'Add Server'
  3. Add new WebDAV Account: URL + Username + Password

Expected behavior:

Connecting and working with webdav properly

Actual behavior:

Error!

Server Setup Information:

  • Version of Rocket.Chat Server: 3.8.1
  • Operating System: CentOS 7
  • Deployment Method: tar
  • Number of Running Instances: 1
  • DB Replicaset Oplog: Enabled
  • NodeJS Version: v12.19.0
  • MongoDB Version: 4.4.2

Client Setup Information

  • Desktop App or Browser Version: Google chrome 87
  • Operating System: Windows 10

Relevant logs:

Exception while invoking method addWebdavAccount Error: [object Object] [could-not-access-webdav] at app/webdav/server/methods/addWebdavAccount.js:58:10 at /opt/Rocket.Chat/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/fiber_pool.js:43:40 => awaited here: at Promise.await (/opt/Rocket.Chat/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_server.js:60:12) at Server.apply (packages/ddp-server/livedata_server.js:1638:22) at Server.call (packages/ddp-server/livedata_server.js:1607:17) at Object.post (app/api/server/v1/misc.js:262:26) at app/api/server/api.js:394:82 at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1234:12) at Object._internalRouteActionHandler [as action] (app/api/server/api.js:394:39) at Route.share.Route.Route._callEndpoint (packages/nimble_restivus/lib/route.coffee:150:32) at packages/nimble_restivus/lib/route.coffee:59:33 at packages/simple_json-routes.js:98:9

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions