Not a WebDAV enabled share

Bug #340359 reported by arturj
64
This bug affects 12 people
Affects Status Importance Assigned to Milestone
One Hundred Papercuts
Invalid
Undecided
Unassigned
gvfs
Expired
Medium
gvfs (Ubuntu)
Fix Released
Low
Ubuntu Desktop Bugs

Bug Description

(system: Ubuntu 8.10, i386, GNOME Desktop)

Hallo,

recently I started to play around with WebDAV shares. I'm running an apache webserver with DAV modules enabled on a remote mashine. Access seems to work an has been tested with different client.

First Problem: Using Gnome's "connect to server" tool it is not possible to connect to a DAVS (webdav over SSL) server. At least, I was not able to do so.

Second Problem: Unsing Nautilus I managed to connect my server using the URI "davs://server/path". The remote share is mounted and nautilus showes the content. Additionally a new icon appears on desktop representing the mountpoint. When I try to use that icon I always get the error "Not a WebDAV enabled share". I have to unmount this share (icon disappeares) and mount it again from scratch (or use a bookmark). An "ls ~.gvfs" on command-line gives another error message, namely "Input/output error ... WebDAV on Servername".

What peace of software does all the magic (package)? So far I don't know.

All that makes handling of davs shares very unpleasant. Please let me know if I can supply any further information, messages or application output.

Tags: needs-coding
Revision history for this message
Sebastien Bacher (seb128) wrote :

thank you for your bug report, could you report one issue by bug only though?

the connect to server bug is fixed in jaunty and has candidate updates for hardy and intrepid

could you give details on your webdav server. run /usr/lib/gvfs/gvfsd -r on a command line and try to mount and list it using gvfs-mount and gvfs-ls and copy the log to the bug?

Changed in gvfs:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
arturj (arturj-freenet) wrote :

Thank you for further instructions.

I'm running webdav on an ubuntu 8.10 server. Here are the package versions:

apache2-mpm-prefork (2.2.9-7ubuntu3)
apache2 (2.2.9-7ubuntu3)

And my http config file (default-ssl) contains:
 Alias /webdav /home/www/webdav
 <Directory /home/www/webdav>
  Dav on
  ForceType text/plain
  Options Indexes

  # authentication
  AuthType Basic
                AuthName "WebDAV Login"
                AuthPAM_Enabled On
                AuthPAM_FallThrough Off
                AuthBasicAuthoritative Off
                Require valid-user
                SSLRequireSSL
 </Directory>

Here is the log output of...

1. "gvfs-mount davs://x.x.x.x/webdav"

Added new job source 0x8299c38 (GVfsBackendDav)
Queued new job 0x829d818 (GVfsJobMount)
+ mount
+ soup_authenticate_interactive (first auth)
send_reply, failed: 0
backend_dbus_handler org.gtk.vfs.Mount:QueryInfo
Queued new job 0x82c3aa0 (GVfsJobQueryInfo)
- mount
Query info /
register_mount_callback, mount_reply: 0x82c8a90, error: (nil)
send_reply(0x82c3aa0), failed=0 ()

2. "gvfs-ls"
nothing! This command seems to require a location parameter which I don't know/have. Instead I tried to click on the webdav-icon on desktop which appeared as a result of the gvfs-mount command. Here is its log output:

Added new job source 0x8d56c38 (GVfsBackendDav)
Queued new job 0x8d5a818 (GVfsJobMount)
+ mount
send_reply, failed: 1

3. And for sake of completeness the unmount result (via mouse context menu on desktop icon):

backend_dbus_handler org.gtk.vfs.Mount:Unmount
g_vfs_job_unmount_new request: 0x82949b0
Queued new job 0x8299070 (GVfsJobUnmount)

Revision history for this message
Sebastien Bacher (seb128) wrote :

reopening for now, somebody having the issue should probably send that to bugzilla.gnome.org

Changed in gvfs:
status: Incomplete → New
Revision history for this message
Sebastien Bacher (seb128) wrote :

could somebody having the issue send a bug to GNOME?

Revision history for this message
Sebastien Bacher (seb128) wrote :

the argument to gvfs-ls is the directory you want to list, ie gvfs-ls dav://server/directory, could you get a lot using this one? could you also try on jaunty?

Changed in gvfs (Ubuntu):
status: New → Incomplete
Revision history for this message
Lawrence MacIntyre (macintyrelp) wrote :

I have noticed the same problem. I can connect to the share using Nautilus and it works fine. It's the desktop icon that fails. Also, if you connect to server from the menubar at the top of the desktop instead of from nautilus, you get an error box, but the icon appears, even though the icon doesn't work. The box says:

Error: Could not display "dav://nautique.ornl.gov/".
Error: Not a WebDAV-enabled share
Please select another viewer and try again.

Revision history for this message
Lawrence MacIntyre (macintyrelp) wrote :

More info. I'm running Ubuntu 8.10 on the server, and Ubuntu 9.04 on the client. The webdav URL is:
http://nautique.ornl.gov:80/pccs Sorry, but it's behind a firewall, so you won't be able to see it. It works perfectly from a mac running OSX Leopard, and from Vista. It also works perfectly if I mount it from the command line as:

mount -t davfs http://nautique.ornl.gov:80/pccs /media/WebDAV

I did have to install davfs2 from synaptic.

Here is the config from apache:

 Alias /pccs /var/www/pccs
 <Location /pccs>
  DAV on
  AuthType Digest
  AuthName "My Group"
  AuthDigestProvider file
  AuthUserFile /etc/apache2/dav_pccs.digest
  <Limit GET HEAD OPTIONS PROPFIND>
   require user readonly
                        require user owner
  </Limit>
  <LimitExcept GET HEAD OPTIONS PROPFIND>
   require user owner
  </Limit>
 </Location>

owner can write to the share, readonly can only read the share.

Revision history for this message
Sebastien Bacher (seb128) wrote :

could somebody having the issue open a bug on bugzilla.gnome.org where the software writter will read it too?

Revision history for this message
Jörn Dreyer (j.dreyer) wrote :

I found this bug upstream and think it is a result of the same problem:
http://bugzilla.gnome.org/show_bug.cgi?id=530728

Revision history for this message
Sebastien Bacher (seb128) wrote :

the upstream bug is a gnome-vfs one which is a different software

Changed in gvfs (Ubuntu):
status: Incomplete → Triaged
status: Triaged → Incomplete
Revision history for this message
Jörn Dreyer (j.dreyer) wrote :

sorry, you are right - it is this one: http://bugzilla.gnome.org/show_bug.cgi?id=566853
at least the icon problem is the same. gvfs-mount -li also shows no sign of a path.

Jörn Dreyer (j.dreyer)
tags: added: needs-coding
Changed in gvfs:
status: Unknown → New
Changed in gvfs (Ubuntu):
status: Incomplete → Triaged
status: Triaged → Incomplete
status: Incomplete → Triaged
Revision history for this message
David Siegel (djsiegel-deactivatedaccount) wrote :

This is a technical bug, affecting a relatively small user population. This is not a trivially fixable usability bug affect most users' defaut Ubuntu experience, therefore it is not a paper cut.

Changed in hundredpapercuts:
status: New → Invalid
Revision history for this message
Barry Callahan (barryc-rjlsystems) wrote :

I am looking for a solution to this issue, too.

Revision history for this message
sim909 (srizzi) wrote :

For what is worth, I was also suffering from this bug (I am the reporter of http://bugzilla.gnome.org/show_bug.cgi?id=566853 mentioned by Jörn Dreyer in comment # 11), but all seems fixed in ubuntu 9.10/gnome 2.28.

Just for completeness, I still have problems connecting to some webdav servers, but although error messages are very similar, that is a different issue (https://bugzilla.gnome.org/show_bug.cgi?id=582219)

Changed in gvfs:
importance: Unknown → Medium
Changed in gvfs:
status: New → Expired
Revision history for this message
Sam_ (and-sam) wrote :

The issue is still present with Natty. Tried all sorts of variables, in Nautilus per url, connect server and terminal, receiving the variety of messages.
Error mounting location: DBus error org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

DBus error org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)
Select a different viewer, try again.

On an updated Oneiric the issue is fixed. Just connected without any further package installations via Nautilus -> connect to server, flawless.

Revision history for this message
Sebastien Bacher (seb128) wrote :

The upstream bug has been closed and they believe it's fixed, does anyone here still get the issue in newer Ubuntu versions?

Changed in gvfs (Ubuntu):
status: Triaged → Incomplete
Revision history for this message
Sam_ (and-sam) wrote :

No issue on 18.04.2 - closing as fixed.

Changed in gvfs (Ubuntu):
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.