GVFS fails to connect to cpdavd via WebDAV

Bug #1002968 reported by Dmitry Kopytov
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gvfs
Expired
Medium
gvfs (Ubuntu)
Triaged
Low
Unassigned

Bug Description

Cpdavd is a WebDAV daemon in very popular hosting solution WHM/cPanel. It is not possible to connect to it via GVFS.

GVFS sends two requests to the WebDAV service: the first - without credentials, the second - with credentials. When it sends the first request, cpdavd sends the response "Authorization Required" and closes the connection. After that GVFS sends the second request via the closed connection and server sends a TCP-packet with RST flag as a response. As a result GVFS generates an error "Not a WebDAV enabled share".

I think GVFS must check the connection before it sends the second request and reinitialize the connection if it has been closed by server.

To reproduce the problem just try to open address "dav://cpanel1.fozzy.com:2077" in Nautilus with any username and password.

You can see full tcpdump output in the attachment.

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

Thank you for taking the time to report this bug and helping to make Ubuntu better. The issue you are reporting is an upstream one and it would be nice if somebody having it could send the bug to the developers of the software by following the instructions at https://wiki.ubuntu.com/Bugs/Upstream/GNOME. If you have done so, please tell us the number of the upstream bug (or the link), so we can add a bugwatch that will inform us about its status. Thanks in advance.

Changed in gvfs (Ubuntu):
importance: Undecided → Low
Revision history for this message
Dmitry Kopytov (kopytov) wrote :

Hello Sebastien. I have created the ticket in upstream - #676582 (https://bugzilla.gnome.org/show_bug.cgi?id=676582).

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

Thanks

Changed in gvfs (Ubuntu):
status: New → Triaged
Changed in gvfs:
importance: Unknown → Medium
status: Unknown → New
Changed in gvfs:
status: New → Expired
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.