Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reporting 200 OK instead of 207 Multi-Status #615

Closed
perguth opened this issue Oct 16, 2016 · 7 comments
Closed

reporting 200 OK instead of 207 Multi-Status #615

perguth opened this issue Oct 16, 2016 · 7 comments
Labels

Comments

@perguth
Copy link

perguth commented Oct 16, 2016

I currently experience a problem quite similar to owncloud/core#24041

I run the latest DavDroid with the latest baikal an get at.bitfire.dav4android.exception.InvalidDavResponseException: Expected 207 Multi-Status, got 200 OK from DavDroid.

This could be something baikal needs to differently!?

@evert
Copy link
Member

evert commented Oct 16, 2016

Hi @pguth ,

It's a bit hard to tell without more information. If you received a 200 OK then this probably means there is something interesting in the response body that better describes a potential problem. You are right though that this should respond with a 207.

If you can get the full HTTP response from sabre/dav I can help you further, otherwise this will be hard.

@evert evert added the question label Oct 16, 2016
@rfc2822
Copy link

rfc2822 commented Oct 17, 2016

This usually happens when you update Baikal and it shows the update message. In this case, just visit it with a browser, complete the update it at works again.

@fred777
Copy link

fred777 commented Feb 24, 2019

I have started to see this error out of nowhere (baikal not updated, I'm on latest git master). It's not telling anything about pending update in the browser. Can log into admin interface normally, everything looks as expected.

Using davdroid and thunderbird/lightning as clients.

Can't see any errors in nginx logs.

Any suggestions?

@evert
Copy link
Member

evert commented Apr 27, 2019

Can you upgrade to the latest version and see if the issue persists? If it does, re-open this issue

@evert evert closed this as completed Apr 27, 2019
@MalakymR
Copy link

I upgraded to 0.5.1 and 0.5.2 with the same issue.

The error on the page its trying to reach (dav.php/calendar/...)

ErrorException: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /usr/share/webapps/baikal/vendor/sabre/dav/lib/CalDAV/ICSExportPlugin.php:321
Stack trace:
#0 /usr/share/webapps/baikal/vendor/composer/ClassLoader.php(444): Baikal\Framework::exception_error_handler(2, '"continue" targ...', '/usr/share/weba...', 321, Array)
#1 /usr/share/webapps/baikal/vendor/composer/ClassLoader.php(444): include()
#2 /usr/share/webapps/baikal/vendor/composer/ClassLoader.php(322): Composer\Autoload\includeFile('/usr/share/weba...')
#3 [internal function]: Composer\Autoload\ClassLoader->loadClass('Sabre\CalDAV\IC...')
#4 /usr/share/webapps/baikal/Core/Frameworks/Baikal/Core/Server.php(170): spl_autoload_call('Sabre\CalDAV\IC...')
#5 /usr/share/webapps/baikal/Core/Frameworks/Baikal/Core/Server.php(112): Baikal\Core\Server->initServer()
#6 /usr/share/webapps/baikal/html/dav.php(59): Baikal\Core\Server->__construct(true, true, 'Digest', 'BaikalDAV', Object(PDO), '/dav.php/')
#7 {main}

@staabm staabm reopened this Apr 29, 2019
@ByteHamster
Copy link
Member

@MalakymR sounds like you are using php 7.3. We currently only support php 7.2. Support for 7.3 was requested in #764

@MalakymR
Copy link

Ah yes, I saw the 7.3 issue and got mixed up after a while as I had only just upgraded to PHP7 - then thought this was that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants