Bug #2743
webdav not working anymore ?
Status: | Fixed | Start date: | 06/30/2015 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | % Done: | 100% | ||
Category: | Bookmarks | |||
Target version: | - | |||
Found in version: | 4.10 | Platform: | OS X |
Description
Hello,
I'm trying to configure a webdav server with the bookmarks, and both : http://myhost/webdav and webdav://myhost/webdav did not work (and this webdav share worked with Mac OS X finder and debian cadaver)
Movian return the error :
Unable to open resource Unable to open file: Unable to probe file: Invalid data found when processing input
I'm using Movian 4.10, on Mac OS X
Thanks
Associated revisions
httpclient: Add missing debug output for webdav
refs #2743
httpclient: Add missing debug output for webdav
refs #2743
webdav: Fix broken client
After XML refactoring the webdav code could no longer distinguish between
files and directories
Fixes #2743
httpclient: Add missing debug output for webdav
refs #2743
webdav: Fix broken client
After XML refactoring the webdav code could no longer distinguish between
files and directories
Fixes #2743
History
#1
Updated by Andreas Smas almost 8 years ago
- Status changed from New to Need feedback
I havent tested webdav in a while, but AFAIK nothing's there have changed so maybe something else is messed up or it's just incompatible.
Which webdav server do you use?
Can you also turn on HTTP log (open settings:dev in search bar) and attach log
#2
Updated by Anthony Dahanne almost 8 years ago
Andreas Öman wrote:
Which webdav server do you use?
Apache2 with mod_dav
Can you also turn on HTTP log (open settings:dev in search bar) and attach log
here it is :
09:00:21.742: navigator [INFO ]: Opening webdav://94.X.59.70/webdav/ 09:00:22.012: HTTP [DEBUG]: Reusing connection to 94.X.59.70:80 (cid=191) 09:00:22.012: HTTP-201 [DEBUG]: Sending open request for webdav://94.X.59.70/webdav/ (cid=191) 09:00:22.012: HTTP-201 [DEBUG]: > GET /webdav/ HTTP/1.1 09:00:22.012: HTTP-201 [DEBUG]: > Range: bytes=0-4095 09:00:22.012: HTTP-201 [DEBUG]: > Authorization: Basic XXXXXXXXXX 09:00:22.012: HTTP-201 [DEBUG]: > User-Agent: Movian Apple 4.10.6.g444f67 09:00:22.012: HTTP-201 [DEBUG]: > Connection: keep-alive 09:00:22.012: HTTP-201 [DEBUG]: > Accept: */* 09:00:22.012: HTTP-201 [DEBUG]: > Accept-Encoding: identity 09:00:22.013: HTTP-201 [DEBUG]: > Host: 94.242.59.70 09:00:22.157: HTTP-201 [DEBUG]: webdav://94.242.59.70/webdav/: Response: 09:00:22.157: HTTP-201 [DEBUG]: < HTTP/1.1 206 Partial Content 09:00:22.157: HTTP-201 [DEBUG]: < Date: Tue, 30 Jun 2015 13:11:42 GMT 09:00:22.158: HTTP-201 [DEBUG]: < Server: Apache/2.4.7 (Ubuntu) 09:00:22.158: HTTP-201 [DEBUG]: < Vary: Accept-Encoding 09:00:22.158: HTTP-201 [DEBUG]: < Content-Range: bytes 0-2940/2941 09:00:22.158: HTTP-201 [DEBUG]: < Content-Length: 2941 09:00:22.158: HTTP-201 [DEBUG]: < Keep-Alive: timeout=5, max=99 09:00:22.158: HTTP-201 [DEBUG]: < Connection: Keep-Alive 09:00:22.158: HTTP-201 [DEBUG]: < Content-Type: text/html;charset=UTF-8 09:00:22.158: HTTP-201 [DEBUG]: <
Wasn't movian supposed to issue a PROPFIND request ?
#3
Updated by Anthony Dahanne over 7 years ago
Ping ?
#4
Updated by Andreas Smas over 7 years ago
Sorry, forgot about this.
I looked into it and it seems that debug output is broken for the PROPFIND
Since you are running on osx I assume you build form source, can you please checkout the webdav-debug-fixes branch from git and try again.
Since this just adds back debug output it won't solve the issue but might shed some light on what's going wrong.
#5
Updated by Anthony Dahanne over 7 years ago
Andreas Öman wrote:
Sorry, forgot about this.
np !
I looked into it and it seems that debug output is broken for the PROPFIND
Since you are running on osx I assume you build form source, can you please checkout the webdav-debug-fixes branch from git and try again.
Since this just adds back debug output it won't solve the issue but might shed some light on what's going wrong.
okee, there it goes :
23:17:23.490: HTTP [DEBUG]: Disconnected from 94.242.59.70:80 (cid=16) Request destroyed 23:17:28.503: navigator [INFO ]: Opening webdav://94.242.59.70/webdav 23:17:28.503: HTTP [DEBUG]: Connecting to 94.242.59.70:80 23:17:28.632: HTTP [DEBUG]: Connected to 94.242.59.70:80 (cid=17) 23:17:28.632: HTTP-16 [DEBUG]: Webdav sending request for webdav://94.242.59.70/webdav (cid=17) 23:17:28.632: HTTP-16 [DEBUG]: > PROPFIND /webdav/ HTTP/1.1 23:17:28.632: HTTP-16 [DEBUG]: > Depth: 0 23:17:28.632: HTTP-16 [DEBUG]: > Authorization: Basic XXXXXXXXX 23:17:28.632: HTTP-16 [DEBUG]: > User-Agent: Movian Apple 4.10.22.gb13df 23:17:28.632: HTTP-16 [DEBUG]: > Connection: keep-alive 23:17:28.632: HTTP-16 [DEBUG]: > Accept: */* 23:17:28.632: HTTP-16 [DEBUG]: > Accept-Encoding: identity 23:17:28.632: HTTP-16 [DEBUG]: > Host: 94.242.59.70 23:17:28.762: HTTP-16 [DEBUG]: webdav://94.242.59.70/webdav: Response: 23:17:28.762: HTTP-16 [DEBUG]: < HTTP/1.1 207 Multi-Status 23:17:28.762: HTTP-16 [DEBUG]: < Date: Mon, 06 Jul 2015 03:28:37 GMT 23:17:28.762: HTTP-16 [DEBUG]: < Server: Apache/2.4.7 (Ubuntu) 23:17:28.762: HTTP-16 [DEBUG]: < Content-Length: 838 23:17:28.762: HTTP-16 [DEBUG]: < Keep-Alive: timeout=5, max=100 23:17:28.762: HTTP-16 [DEBUG]: < Connection: Keep-Alive 23:17:28.762: HTTP-16 [DEBUG]: < Content-Type: text/xml; charset="utf-8" 23:17:28.762: HTTP-16 [DEBUG]: < 23:17:28.763: HTTP [DEBUG]: Disconnected from 94.242.59.70:80 (cid=17) Request destroyed 23:17:28.764: HTTP [DEBUG]: Connecting to 94.242.59.70:80 23:17:28.891: HTTP [DEBUG]: Connected to 94.242.59.70:80 (cid=18) 23:17:28.891: HTTP-17 [DEBUG]: Sending open request for webdav://94.242.59.70/webdav (cid=18) 23:17:28.891: HTTP-17 [DEBUG]: > GET /webdav/ HTTP/1.1 23:17:28.891: HTTP-17 [DEBUG]: > Range: bytes=0-4095 23:17:28.891: HTTP-17 [DEBUG]: > Authorization: Basic XXXXXXX 23:17:28.891: HTTP-17 [DEBUG]: > User-Agent: Movian Apple 4.10.22.gb13df 23:17:28.891: HTTP-17 [DEBUG]: > Connection: keep-alive 23:17:28.891: HTTP-17 [DEBUG]: > Accept: */* 23:17:28.891: HTTP-17 [DEBUG]: > Accept-Encoding: identity 23:17:28.892: HTTP-17 [DEBUG]: > Host: 94.242.59.70 23:17:29.029: HTTP-17 [DEBUG]: webdav://94.242.59.70/webdav: Response: 23:17:29.029: HTTP-17 [DEBUG]: < HTTP/1.1 206 Partial Content 23:17:29.029: HTTP-17 [DEBUG]: < Date: Mon, 06 Jul 2015 03:28:38 GMT 23:17:29.029: HTTP-17 [DEBUG]: < Server: Apache/2.4.7 (Ubuntu) 23:17:29.029: HTTP-17 [DEBUG]: < Vary: Accept-Encoding 23:17:29.029: HTTP-17 [DEBUG]: < Content-Range: bytes 0-2940/2941 23:17:29.029: HTTP-17 [DEBUG]: < Content-Length: 2941 23:17:29.029: HTTP-17 [DEBUG]: < Keep-Alive: timeout=5, max=100 23:17:29.029: HTTP-17 [DEBUG]: < Connection: Keep-Alive 23:17:29.029: HTTP-17 [DEBUG]: < Content-Type: text/html;charset=UTF-8 23:17:29.029: HTTP-17 [DEBUG]: <
All I can say is that a bunch of webdav clients can connect with no problems (OS X finder, Linux cmd line client, an android client, etc.)
Thanks for looking into this Andreas !
Anthony
#6
Updated by Andreas Smas over 7 years ago
- Status changed from Need feedback to Fixed
- % Done changed from 0 to 100
Applied in changeset git|d22249960ce8a589204d0bad655647ece961041d.
#7
Updated by Andreas Smas over 7 years ago
Fixes are in the testing branch
#8
Updated by Anthony Dahanne over 7 years ago
Andreas Öman wrote:
Fixes are in the testing branch
nice, that works fine now !
thank you !