Skip to content

HTTP parsing error #72

Open
Open

Description

@Akshad135

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

Activity

  1. phpbg commented on Jan 17, 2026

    @phpbg
    Owner

    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...

  2. nblock commented on May 30, 2026

    @nblock

    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.

  3. phpbg commented on May 31, 2026

    @phpbg
    Owner

    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"
    
  4. nblock commented on Jun 2, 2026

    @nblock

    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"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions