Git Product home page Git Product logo

Comments (6)

autoantwort avatar autoantwort commented on May 30, 2024 1

I have finally found the "Bug": My server uses https (or the proxy), but i used http://Verwaltung:***@***.de/remote.php/dav/calendars/verwaltung/' as url. If I change that to httpsI don't get errors.

from server.

autoantwort avatar autoantwort commented on May 30, 2024 1

The question is if that is intended behavior and if no, who is to blame.

from server.

joshtrichards avatar joshtrichards commented on May 30, 2024 1

According to this part of the stack trace, the body sent with the REPORT HTTP request is empty (i.e. the first argument is empty):

            {
                "file": "/var/www/html/3rdparty/sabre/dav/lib/DAV/CorePlugin.php",
                "line": 685,
                "function": "parse",
                "class": "Sabre\\Xml\\Service",
                "type": "->",
                "args": [
                    "",
                    "/remote.php/dav/calendars/verwaltung/veranstaltungen/",
                    null
                ]
            },

And I don't see any indications that we modify it or anything before that. That's the first time we try to retrieve it. So maybe that library and the http versus https handling resulted in only a partial HTTP transaction. The ParseException saying The input element to parse is empty. Do not attempt to parse is just a reflection of the body being empty.

from server.

autoantwort avatar autoantwort commented on May 30, 2024

Same error with 28.0.3

from server.

autoantwort avatar autoantwort commented on May 30, 2024

Maybe https://github.com/nextcloud/all-in-one does the redirection wrong or the caldav python lib forgets to resend the body after redirection.

from server.

autoantwort avatar autoantwort commented on May 30, 2024

I have debugged the code and caldav uses python requests to make the http requests. Nextcloud return 301 Found for the http url and request with follow_redirects does not send the body again after the redirect

from server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.