Skip to content

webdav via gvfs #4370

Closed
Closed

Description

@meshok0

I can't connect to my owncloud via gvfs (so other clients which use gvfs: PCManFM, Nautilus).
Error:
$ gvfs-mount dav://192.168.10.60:3080/remote.php/webdav/
Enter password for ownCloud
User: xxx
Password:
Error mounting location: HTTP Error: Connection terminated unexpectedly
$
In apache log I see only:
192.168.xx.xx - - [09/Aug/2013:11:49:35 +0400] "OPTIONS /remote.php/webdav HTTP/1.1" 401 798 "-" "gvfs/1.12.1"

cadaver, firefox, davfs(mount -t davfs) work.

I would thought that it is gvfs problem, BUT
when I do
gvfs-mount dav://demo.owncloud.org/remote.php/webdav/
it works.

Operating system:
debian 7.1 amd64
Web server:
Apache/2.2.22 (Debian)
Database:
mysql Ver 14.14 Distrib 5.5.31, for debian-linux-gnu (x86_64) using readline 6.2
PHP version:
PHP 5.4.4-14+deb7u3 (cli) (built: Jul 17 2013 14:54:08)
ownCloud version:
5.0.9
gvfs version:
1.12.1-0ubuntu1.2

Activity

  1. DeepDiver1975 commented on Aug 9, 2013

    @DeepDiver1975
    Contributor
  2. meshok0 commented on Aug 9, 2013

    @meshok0
    Author

    litmus http://192.168.x.x:xx/remote.php/webdav/ xxx xxx

    -> running `basic':

    1. init.................. pass
    2. begin................. pass
    3. options............... pass
    4. put_get............... pass
    5. put_get_utf8_segment.. pass
    6. put_no_parent......... pass
    7. mkcol_over_plain...... pass
    8. delete................ pass
    9. delete_null........... pass
    10. delete_fragment....... pass
      1. mkcol................. pass
      2. mkcol_again........... pass
      3. delete_coll........... pass
      4. mkcol_no_parent....... pass
      5. mkcol_with_body....... pass
      6. finish................ pass
        <- summary for basic': of 16 tests run: 16 passed, 0 failed. 100.0% -> runningcopymove':
    11. init.................. pass
    12. begin................. pass
    13. copy_init............. pass
    14. copy_simple........... pass
    15. copy_overwrite........ pass
    16. copy_nodestcoll....... pass
    17. copy_cleanup.......... pass
    18. copy_coll............. pass
    19. copy_shallow.......... pass
    20. move.................. pass
      1. move_coll............. pass
      2. move_cleanup.......... pass
      3. finish................ pass
        <- summary for copymove': of 13 tests run: 13 passed, 0 failed. 100.0% -> runningprops':
    21. init.................. pass
    22. begin................. pass
    23. propfind_invalid...... pass
    24. propfind_invalid2..... pass
    25. propfind_d0........... pass
    26. propinit.............. pass
    27. propset............... pass
    28. propget............... pass
    29. propextended.......... pass
    30. propmove.............. pass
      1. propget............... pass
      2. propdeletes........... pass
      3. propget............... pass
      4. propreplace........... pass
      5. propget............... pass
      6. propnullns............ pass
      7. propget............... pass
      8. prophighunicode....... pass
      9. propget............... FAIL (Property {http://example.com/neon/litmus/}high-unicode had value , expected )
      10. propremoveset......... pass
      11. propget............... pass
      12. propsetremove......... pass
      13. propget............... pass
      14. propvalnspace......... pass
      15. propwformed........... pass
      16. propinit.............. pass
      17. propmanyns............ pass
      18. propget............... pass
      19. propcleanup........... pass
      20. finish................ pass
        <- summary for `props': of 30 tests run: 29 passed, 1 failed. 96.7%
        See debug.log for network/debug traces.

    I do not think that "18. propget............... FAIL" involved in my problem. Or I was wrong?

  3. DeepDiver1975 commented on Aug 9, 2013

    @DeepDiver1975
    Contributor

    hmm - looks good

  4. DeepDiver1975 commented on Aug 9, 2013

    @DeepDiver1975
    Contributor

    can you access your webdav endpoint in the browser?

  5. meshok0 commented on Aug 9, 2013

    @meshok0
    Author

    yes

  6. DeepDiver1975 commented on Aug 9, 2013

    @DeepDiver1975
    Contributor

    ok - maybe gvfs-mount cannot handle the port within the url?

  7. meshok0 commented on Aug 9, 2013

    @meshok0
    Author

    $ gvfs-mount dav://192.168.x.x/remote.php/webdav/
    Enter password for ownCloud
    User: xxx
    Password:
    Error mounting location: HTTP Error: Connection terminated unexpectedly

  8. ghost assigned on Aug 9, 2013
  9. bantu commented on Aug 9, 2013

    @bantu

    dav://localhost:81/projects/owncloud/core/remote.php/webdav works for me in Nautilus on master. This is lighttpd and php5-fpm and gvfs version 1.16.1-0ubuntu1, though.

  10. bantu commented on Aug 12, 2013

    @bantu

    Also working on Ubuntu Precise (gvfs 1.12.1-0ubuntu1.2).

  11. bantu commented on Aug 12, 2013

    @bantu

    Are there any additional informations you can provide? Do you have a proxy configured?

  12. meshok0 commented on Aug 13, 2013

    @meshok0
    Author

    I have found something.
    My steps:

    1. I had created new user xxx with password yyy (literally) in owncloud.
    2. I had been able to connect using this user and gvfs-mount to dav://192.168.x.x/remote.php/webdav/
    3. I had changed my first owncloud user password to xxx and had connected to dav://192.168.x.x/remote.php/webdav/ .
      So, I have found out If password contains "_" symbol, there is no chance to connect. If it contains capital letters,
      it is occasionally possible to connect after some attempts.

    Is there a mistake in authentification code in owncloud?

    I connect directly to owncloud server and have owncloud 5.0.10 now.

  13. meshok0 commented on Aug 13, 2013

    @meshok0
    Author

    I set password to 'qqqqqq_' and can connect on second attempt... Owncloud lives it's ownlife. :)

  14. bantu commented on Sep 19, 2013

    @bantu

    @meshok0 How has this been working for you on the latest owncloud version?

  15. meshok0 commented on Sep 20, 2013

    @meshok0
    Author

    ownCloud 5.0.11

    Exact same issue:

    user: qqq
    pass: www
    OK

    user: qqq
    pass: QQQwww_
    Error mounting location: HTTP Error: Connection terminated unexpectedly

    user: qqq
    pass: qweasd
    ОК

  16. meshok0 commented on Sep 20, 2013

    @meshok0
    Author

    cadaver works on any passwords

  17. meshok0 commented on Sep 21, 2013

    @meshok0
    Author

    Today I have tried another machine with Ubuntu 13.04. And PCManFM worked with my owncloud's webdav. Probably it was a bug in my ubuntu installation.

  18. meshok0 commented on Sep 21, 2013

    @meshok0
    Author

    Or in old version of gvfs.

  19. locked as resolved and limited conversation to collaborators on Aug 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions