question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[owncloud] webdav does not work

See original GitHub issue

I haven’t found any related issue, I hope I didn’t miss one.

Problem

Every time I try to add a new archive via webDAV (owncloud) I get a red error message (see errors below).

Scenario

  1. Click on the plus Icon to add a archive
  2. Select webDAV and type in your credentials
  3. Click on “Connect”.
  4. An error message appears.

What I tried:

System Information

OS: MacOS 10.15.3 (MB 15’’ Mid 2014) Buttercup extension: v2.15.0 Owncloud: 10.4.0.4 Chrome: 80.0.3987.149 Firefox: 74.0 (64-Bit)

Error messages

@perry-mitchell if you need access to my owncloud in order to reproduce this issue, just send me a message via keybase 😃

Chrome

A connection attempt to ‘https://upload.xxxxx.net/remote.php/dav/files/julian/’ has failed: Cannot read property ‘getDirectoryContents’ of null

setup-index.js:85 [info] Testing WebDAV connection...
setup-index.js:85 [error] WebDAV failed to connect: Cannot read property 'getlastmodified' of undefined
setup-index.js:85 [error] Failed establishing WebDAV connection: https://upload.xxxxx.net/remote.php/dav/files/julian/
setup-index.js:85 [info] Fetching remote contents for path: /
setup-buttercup.js:432 TypeError: Cannot read property 'getDirectoryContents' of null
    at fetchRemoteContents (setup-index.js:66)
    at fetchRemoteDirectory (setup-index.js:66)
    at setup-index.js:66
    at setup-index.js:54
    at Object.onReady (setup-vendor.js:1)
    at RemoteExplorer.componentDidMount (setup-index.js:66)
    at setup-buttercup.js:432
    at exports.unstable_runWithPriority (setup-buttercup.js:432)
    at fg (setup-buttercup.js:432)
    at Yj (setup-buttercup.js:432)
Pi @ setup-buttercup.js:432
setup-index.js:54 TypeError: Cannot read property 'getDirectoryContents' of null
    at fetchRemoteContents (setup-index.js:66)
    at fetchRemoteDirectory (setup-index.js:66)
    at setup-index.js:66
    at setup-index.js:54
    at Object.onReady (setup-vendor.js:1)
    at RemoteExplorer.componentDidMount (setup-index.js:66)
    at setup-buttercup.js:432
    at exports.unstable_runWithPriority (setup-buttercup.js:432)
    at fg (setup-buttercup.js:432)
    at Yj (setup-buttercup.js:432)
(anonymous) @ setup-index.js:54

Firefox

Failed connecting to ‘webdav’ resource A connection attempt to ‘https://upload.xxxx.net/remote.php/dav/files/julian/’ has failed: Object(…)(…) is null

onmozfullscreenchange sollte nicht mehr verwendet werden. setup-buttercup.js:432:677724
onmozfullscreenerror sollte nicht mehr verwendet werden. setup-buttercup.js:432:677724
Content Security Policy: Die Einstellungen der Seite haben das Laden einer Ressource auf eval blockiert ("script-src"). setup-buttercup.js:432:2604912
[info] Creating WebDAV connection to: https://upload.xxxxx.net/remote.php/dav/ setup-index.js:85:8211
[info] Testing WebDAV connection... setup-index.js:85:8211
[error] WebDAV failed to connect: t is undefined setup-index.js:85:8211
[error] Failed establishing WebDAV connection: https://upload.xxxxx.net/remote.php/dav/ setup-index.js:85:8211
[info] Fetching remote contents for path: / setup-index.js:85:8211
TypeError: "Object(...)(...) is null"
    fetchRemoteContents moz-extension://6a5df914-dd35-6a46-8675-8684d4bb07cc/setup-index.js:66
    fetchRemoteDirectory moz-extension://6a5df914-dd35-6a46-8675-8684d4bb07cc/setup-index.js:66
    onReady moz-extension://6a5df914-dd35-6a46-8675-8684d4bb07cc/setup-index.js:66
    createThunkMiddleware moz-extension://6a5df914-dd35-6a46-8675-8684d4bb07cc/setup-index.js:54
    bindActionCreator moz-extension://6a5df914-dd35-6a46-8675-8684d4bb07cc/setup-vendor.js:1
    componentDidMount moz-extension://6a5df914-dd35-6a46-8675-8684d4bb07cc/setup-index.js:66
    Yj moz-extension://6a5df914-dd35-6a46-8675-8684d4bb07cc/setup-buttercup.js:432
    unstable_runWithPriority moz-extension://6a5df914-dd35-6a46-8675-8684d4bb07cc/setup-buttercup.js:432
    fg moz-extension://6a5df914-dd35-6a46-8675-8684d4bb07cc/setup-buttercup.js:432
    Yj moz-extension://6a5df914-dd35-6a46-8675-8684d4bb07cc/setup-buttercup.js:432
    Lj moz-extension://6a5df914-dd35-6a46-8675-8684d4bb07cc/setup-buttercup.js:432
    ig moz-extension://6a5df914-dd35-6a46-8675-8684d4bb07cc/setup-buttercup.js:432
    unstable_runWithPriority moz-extension://6a5df914-dd35-6a46-8675-8684d4bb07cc/setup-buttercup.js:432
    fg moz-extension://6a5df914-dd35-6a46-8675-8684d4bb07cc/setup-buttercup.js:432
    ig moz-extension://6a5df914-dd35-6a46-8675-8684d4bb07cc/setup-buttercup.js:432
    jg moz-extension://6a5df914-dd35-6a46-8675-8684d4bb07cc/setup-buttercup.js:432
    Rg moz-extension://6a5df914-dd35-6a46-8675-8684d4bb07cc/setup-buttercup.js:432
    enqueueSetState moz-extension://6a5df914-dd35-6a46-8675-8684d4bb07cc/setup-buttercup.js:432
    setState moz-extension://6a5df914-dd35-6a46-8675-8684d4bb07cc/setup-buttercup.js:432
    onStateChange moz-extension://6a5df914-dd35-6a46-8675-8684d4bb07cc/setup-vendor.js:1
    notify moz-extension://6a5df914-dd35-6a46-8675-8684d4bb07cc/setup-vendor.js:1
    notifyNestedSubs moz-extension://6a5df914-dd35-6a46-8675-8684d4bb07cc/setup-vendor.js:1
    onStateChange moz-extension://6a5df914-dd35-6a46-8675-8684d4bb07cc/setup-vendor.js:1
    dispatch moz-extension://6a5df914-dd35-6a46-8675-8684d4bb07cc/setup-vendor.js:1
    createSyncMiddleware moz-extension://6a5df914-dd35-6a46-8675-8684d4bb07cc/setup-index.js:43
    a moz-extension://6a5df914-dd35-6a46-8675-8684d4bb07cc/setup-vendor.js:1
    createThunkMiddleware moz-extension://6a5df914-dd35-6a46-8675-8684d4bb07cc/setup-index.js:54
    dispatch moz-extension://6a5df914-dd35-6a46-8675-8684d4bb07cc/setup-vendor.js:1
    onConnectWebDAVBasedSource moz-extension://6a5df914-dd35-6a46-8675-8684d4bb07cc/setup-index.js:54
setup-buttercup.js:432:533586
TypeError: "Object(...)(...) is null"
    fetchRemoteContents moz-extension://6a5df914-dd35-6a46-8675-8684d4bb07cc/setup-index.js:66
    fetchRemoteDirectory moz-extension://6a5df914-dd35-6a46-8675-8684d4bb07cc/setup-index.js:66
    onReady moz-extension://6a5df914-dd35-6a46-8675-8684d4bb07cc/setup-index.js:66
    createThunkMiddleware moz-extension://6a5df914-dd35-6a46-8675-8684d4bb07cc/setup-index.js:54
    bindActionCreator moz-extension://6a5df914-dd35-6a46-8675-8684d4bb07cc/setup-vendor.js:1
    componentDidMount moz-extension://6a5df914-dd35-6a46-8675-8684d4bb07cc/setup-index.js:66
    Yj moz-extension://6a5df914-dd35-6a46-8675-8684d4bb07cc/setup-buttercup.js:432
    unstable_runWithPriority moz-extension://6a5df914-dd35-6a46-8675-8684d4bb07cc/setup-buttercup.js:432
    fg moz-extension://6a5df914-dd35-6a46-8675-8684d4bb07cc/setup-buttercup.js:432
    Yj moz-extension://6a5df914-dd35-6a46-8675-8684d4bb07cc/setup-buttercup.js:432
    Lj moz-extension://6a5df914-dd35-6a46-8675-8684d4bb07cc/setup-buttercup.js:432
    ig moz-extension://6a5df914-dd35-6a46-8675-8684d4bb07cc/setup-buttercup.js:432
    unstable_runWithPriority moz-extension://6a5df914-dd35-6a46-8675-8684d4bb07cc/setup-buttercup.js:432
    fg moz-extension://6a5df914-dd35-6a46-8675-8684d4bb07cc/setup-buttercup.js:432
    ig moz-extension://6a5df914-dd35-6a46-8675-8684d4bb07cc/setup-buttercup.js:432
    jg moz-extension://6a5df914-dd35-6a46-8675-8684d4bb07cc/setup-buttercup.js:432
    Rg moz-extension://6a5df914-dd35-6a46-8675-8684d4bb07cc/setup-buttercup.js:432
    enqueueSetState moz-extension://6a5df914-dd35-6a46-8675-8684d4bb07cc/setup-buttercup.js:432
    setState moz-extension://6a5df914-dd35-6a46-8675-8684d4bb07cc/setup-buttercup.js:432
    onStateChange moz-extension://6a5df914-dd35-6a46-8675-8684d4bb07cc/setup-vendor.js:1
    notify moz-extension://6a5df914-dd35-6a46-8675-8684d4bb07cc/setup-vendor.js:1
    notifyNestedSubs moz-extension://6a5df914-dd35-6a46-8675-8684d4bb07cc/setup-vendor.js:1
    onStateChange moz-extension://6a5df914-dd35-6a46-8675-8684d4bb07cc/setup-vendor.js:1
    dispatch moz-extension://6a5df914-dd35-6a46-8675-8684d4bb07cc/setup-vendor.js:1
    createSyncMiddleware moz-extension://6a5df914-dd35-6a46-8675-8684d4bb07cc/setup-index.js:43
    a moz-extension://6a5df914-dd35-6a46-8675-8684d4bb07cc/setup-vendor.js:1
    createThunkMiddleware moz-extension://6a5df914-dd35-6a46-8675-8684d4bb07cc/setup-index.js:54
    dispatch moz-extension://6a5df914-dd35-6a46-8675-8684d4bb07cc/setup-vendor.js:1
    onConnectWebDAVBasedSource moz-extension://6a5df914-dd35-6a46-8675-8684d4bb07cc/setup-index.js:54
setup-index.js:54:73884

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
julianpoempcommented, Apr 5, 2020

it works now, thank you very much @perry-mitchell !

0reactions
Claywdcommented, Feb 22, 2021

EEk. The issue is in edge (built on chromium) not chrome. Chrome is also working.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Accessing ownCloud Files Using WebDAV
Open Dolphin and click Network in the left-hand column. · Click on the icon labeled Add a Network Folder. · If WebDAV is...
Read more >
Trying to resolve "WebDAV interface seems to be broken" issue
Your web server is not yet set up properly to allow file synchronization because the WebDAV interface seems to be broken. Sync clients...
Read more >
WebDAV: Authentication fails when connecting to Owncloud 10
Go to 'Settings > Sync' · Click on 'ADD SERVER' · Enter valid parameters for an Owncloud WebDAV endpoint · Click on the...
Read more >
How to Use Owncloud with WebDAV as Storage Target
Make sure the credentials work by testing the connection. Once succesfull you should be fine. Most difficult thing for me was to figure...
Read more >
Unable to setup WebDAV sync. How to fix? - Enpass
1. First make sure you are using right URL. Open a browser and enter WebDAV URL. Provide username and password, if you can...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found