easysync icon indicating copy to clipboard operation
easysync copied to clipboard

HTTP parsing error

Open Akshad135 opened this issue 11 months ago • 3 comments

I have taildrive webdav setup. After entering the server details clicking on sync gives a parsing error:

Error: Text 'HTTP/1.1 200 OK' could not be parsed at index 0

I assume code 200 means it is able to connect to server but there's some parsing error here.........

Details I entered: Url : http://100.100.100.100:8080 Path: /path/to/folder

Akshad135 avatar Dec 12 '25 05:12 Akshad135

Hi, sorry for the delay. there is maybe something wrong with the path. Did you try to put / for the path ?

Or maybe try to mount http://100.100.100.100:8080 on a computer to see what happens. Windows, MacOS and Linux all provide a way to mount webdav servers...

phpbg avatar Jan 17 '26 15:01 phpbg

I have the same issue with Taildrive, URLs/path combinations tried:

URL Path
http://100.100.100.100:8080/$DOMAIN/$SERVER/$SHARE /
http://100.100.100.100:8080 /$DOMAIN/$SERVER/$SHARE
http://100.100.100.100:8080/$DOMAIN /$SERVER/$SHARE
http://100.100.100.100:8080/$DOMAIN/$SERVER /$SHARE

The URL http://100.100.100.100:8080/$DOMAIN/$SERVER/$SHARE works fine in dav5x.

nblock avatar May 30 '26 06:05 nblock

Hi,

can you dump the result for (please adjust values):

curl -i -X PROPFIND http://100.100.100.100:8080/$DOMAIN/$SERVER/$SHARE \
  -u "username:password" \
  -H "Depth: 1"

phpbg avatar May 31 '26 13:05 phpbg

can you dump the result for (please adjust values):

$ curl -i -X PROPFIND -H "Depth: 1" http://100.100.100.100:8080/headscale.example.com/n1/a
HTTP/1.1 207 Multi-Status
Content-Type: text/xml; charset=utf-8
Date: Tue, 02 Jun 2026 06:37:47 GMT
Content-Length: 1968

<?xml version="1.0" encoding="UTF-8"?><D:multistatus xmlns:D="DAV:"><D:response><D:href>/headscale.example.com/n1/a/</D:href><D:propstat><D:prop><D:resourcetype><D:collection xmlns:D="DAV:"/></D:resourcetype><D:supportedlock><D:lockentry xmlns:D="DAV:"><D:lockscope><D:exclusive/></D:lockscope><D:locktype><D:write/></D:locktype></D:lockentry></D:supportedlock><D:displayname></D:displayname><D:getlastmodified>Tue, 02 Jun 2026 06:37:06 GMT</D:getlastmodified></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat><D:propstat><D:prop><D:creationdate></D:creationdate></D:prop><D:status>HTTP/1.1 404 Not Found</D:status></D:propstat></D:response><D:response><D:href>/headscale.example.com/n1/a/doc.txt</D:href><D:propstat><D:prop><D:getcontenttype>text/plain; charset=utf-8</D:getcontenttype><D:getetag>"18b5301a8fea108c13"</D:getetag><D:resourcetype></D:resourcetype><D:supportedlock><D:lockentry xmlns:D="DAV:"><D:lockscope><D:exclusive/></D:lockscope><D:locktype><D:write/></D:locktype></D:lockentry></D:supportedlock><D:displayname>doc.txt</D:displayname><D:getcontentlength>19</D:getcontentlength><D:getlastmodified>Tue, 02 Jun 2026 06:35:18 GMT</D:getlastmodified></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat><D:propstat><D:prop><D:creationdate></D:creationdate></D:prop><D:status>HTTP/1.1 404 Not Found</D:status></D:propstat></D:response><D:response><D:href>/headscale.example.com/n1/a/test/</D:href><D:propstat><D:prop><D:displayname>test</D:displayname><D:getlastmodified>Tue, 02 Jun 2026 06:35:09 GMT</D:getlastmodified><D:resourcetype><D:collection xmlns:D="DAV:"/></D:resourcetype><D:supportedlock><D:lockentry xmlns:D="DAV:"><D:lockscope><D:exclusive/></D:lockscope><D:locktype><D:write/></D:locktype></D:lockentry></D:supportedlock></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat><D:propstat><D:prop><D:creationdate></D:creationdate></D:prop><D:status>HTTP/1.1 404 Not Found</D:status></D:propstat></D:response></D:multistatus>
  • Changed the hostname to headscale.example.com
  • No username/password supplied as Tailscale requires no authentication.

EDIT: supplying any credentials also works and yields the same result, e.g. -u "foo:bar"

nblock avatar Jun 02 '26 06:06 nblock