-
Notifications
You must be signed in to change notification settings - Fork 344
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
Default addressbookserver.php not working in sabre 4 #1178
Comments
but an older version of sabre dav is used ;-)
Looks like an error in the sabre dav code. I assume you are running this in Apache? Can you please have a look in the error log for more details on the error. I'd expect to see some source code file and a line number. THX |
Sadly I there is no information in the apache log file. I had some problems with the sqlite database earlier that generated errors in the log file but I get nothing new in this case. Is there some setting in sabre to enable additional logging? |
this is a fatal php error - this results in a http status code 500 and apache is always logging this in the error log. |
sabre/dav does not log exceptions by default, even not fatal ones. That made debugging the error in #1169 hard. We added logging to Baikal a few days ago by using |
So, is there anything I can change to add log to the v4.0.0 I have installed or should i try with the trunk? |
You can add something like this where the server is set up: |
Ok, now i have the error log:
It seems it is a special case for thunderbird that assumes the SOGO connector plugin is being used. As I said before I am using CardBook. |
I changed the string "Thunderbird" for "SOGO" in the line 685 of Plugin.php and now it is working. Maybe the User-Agent check should check for SOGO explicitly. For example in my case the User-Agent says:
Maybe SOGO adds something unique that can be checked. |
I find this a little strange. Sogo and Cardbook are alternatives, and cardbook never had an issue before. Before this gets a fix here, also please try to report a bug at the source. Only if a client is unwilling to fix a bug we should consider adding workarounds on this side. |
Ok, reported here: https://gitlab.com/CardBook/CardBook/issues/661 |
The problem also occurs with other plugins that do not send a content type header. I think this is not a client side issue. Using strict_types in sabre/dav 4.0.0 has raised quite a few issues already and I guess this is one of them. There is a fix proposed in #1183 |
Are we talking about the content-type http header or something inside the carddav payload? CardBook sends content-type: application/xml in the http header. |
Something inside the carddav payload. |
Hi I'me the CardBook developper, and I'm facing a lot of users having this 503 issue, when will the fix be pushed ? or what should I add to CardBook to remove this issue ? |
I am testing the default addressbookserver.php with sabre 4.0.0. I can login and access the addressbook using a web browser with no errors. When I try using a cardDAV client (thunderbird CardBook plugin) I get this error:
Request:
Response:
Is it a bug with the client because it is sending empty parameters? The client works fine with an owncloud server (which I think also uses sabre)
The text was updated successfully, but these errors were encountered: