After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 740354 - webdav doesn't work out of box
webdav doesn't work out of box
Status: RESOLVED DUPLICATE of bug 730444
Product: gnome-user-share
Classification: Core
Component: webdav
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-user-share maintainers
gnome-user-share maintainers
Depends on:
Blocks:
 
 
Reported: 2014-11-19 10:40 UTC by Ondrej Holy
Modified: 2014-11-19 11:59 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ondrej Holy 2014-11-19 10:40:00 UTC
I've set up "Personal file sharing" using the Sharing panel, but it fails when I try to connect using gvfs:

$ gvfs-mount dav://linux.local
Error mounting location: HTTP Error: Could not connect: Connection refused

Ok, httpd isn't running. Start httpd manually:
$ sudo service httpd start
Redirecting to /bin/systemctl start  httpd.service

$ gvfs-mount dav://linux.local
Error mounting location: Not a WebDAV enabled share

Server is misconfigured probably, because it doesn't answer with DAV header:

> OPTIONS / HTTP/1.1
> Soup-Debug-Timestamp: 1416392338
> Soup-Debug: SoupSession 1 (0x1044150), SoupMessage 1 (0x7fefd00058b0), SoupSocket 1 (0x7fefd8006e90)
> Host: linux.local
> Accept-Encoding: gzip, deflate
> User-Agent: gvfs/1.22.1
> Accept-Language: en-us, en;q=0.9
> Connection: Keep-Alive
  
< HTTP/1.1 200 OK
< Soup-Debug-Timestamp: 1416392339
< Soup-Debug: SoupMessage 1 (0x7fefd00058b0)
< Date: Wed, 19 Nov 2014 10:18:59 GMT
< Server: Apache/2.4.10 (Fedora) OpenSSL/1.0.1j-fips
< Allow: OPTIONS,GET,HEAD,POST,TRACE
< Content-Length: 0
< Keep-Alive: timeout=5, max=100
< Connection: Keep-Alive
< Content-Type: httpd/unix-directory

However "All DAV compliant resources MUST return the DAV header on all OPTIONS responses." (RFC 2518)

Or am I doing something wrong?
Comment 1 Bastien Nocera 2014-11-19 11:59:06 UTC
(In reply to comment #0)
> I've set up "Personal file sharing" using the Sharing panel, but it fails when
> I try to connect using gvfs:
> 
> $ gvfs-mount dav://linux.local
> Error mounting location: HTTP Error: Could not connect: Connection refused

Wrong port. See bug 730444.

> Ok, httpd isn't running. Start httpd manually:
> $ sudo service httpd start
> Redirecting to /bin/systemctl start  httpd.service

You just started the system-wide httpd.

> $ gvfs-mount dav://linux.local
> Error mounting location: Not a WebDAV enabled share
> 
> Server is misconfigured probably, because it doesn't answer with DAV header:

Yes, the system-wide http server probably isn't set up as a DAV server. But I doubt that's relevant.

*** This bug has been marked as a duplicate of bug 730444 ***