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

Fail to connect to baikal #76169

Closed
eyalcha opened this issue Aug 3, 2022 · 2 comments
Closed

Fail to connect to baikal #76169

eyalcha opened this issue Aug 3, 2022 · 2 comments

Comments

@eyalcha
Copy link

eyalcha commented Aug 3, 2022

The problem

Fail to connect to baikal

What version of Home Assistant Core has the issue?

2022.07

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Container

Integration causing the issue

No response

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

2022-08-04 00:47:00 ERROR (MainThread) [homeassistant.components.calendar] caldav: Error on device update!
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 446, in _async_add_entity
    await entity.async_device_update(warning=False)
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 702, in async_device_update
    await task
  File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/src/homeassistant/homeassistant/components/caldav/calendar.py", line 144, in update
    self.data.update()
  File "/usr/src/homeassistant/homeassistant/util/__init__.py", line 192, in wrapper
    result = method(*args, **kwargs)
  File "/usr/src/homeassistant/homeassistant/components/caldav/calendar.py", line 203, in update
    results = self.calendar.date_search(start_of_today, start_of_tomorrow)
  File "/usr/local/lib/python3.10/site-packages/caldav/objects.py", line 750, in date_search
    objects = self.search(root, comp_class)
  File "/usr/local/lib/python3.10/site-packages/caldav/objects.py", line 812, in search
    (response, objects) = self._request_report_build_resultlist(xml, comp_class)
  File "/usr/local/lib/python3.10/site-packages/caldav/objects.py", line 779, in _request_report_build_resultlist
    response = self._query(xml, 1, 'report')
  File "/usr/local/lib/python3.10/site-packages/caldav/objects.py", line 167, in _query
    raise error.exception_by_method[query_method](errmsg(ret))
caldav.lib.error.ReportError: ReportError at '500 Internal Server Error

b'<?xml version="1.0" encoding="utf-8"?>\n<d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">\n  <s:sabredav-version>4.3.1</s:sabredav-version>\n  <s:exception>Sabre\\VObject\\ParseException</s:exception>\n  <s:message>This parser only supports VCARD and VCALENDAR files</s:message>\n</d:error>\n'', reason no reason


### Additional information

Baikal is running locally on same machine
@probot-home-assistant
Copy link

caldav documentation
caldav source
(message by IssueLinks)

@eyalcha
Copy link
Author

eyalcha commented Aug 4, 2022

More info:

Patching the php file (sabre-io/dav#1318 (comment)) solved th eissue, altough I hope it will be fixed in the integration itself

@github-actions github-actions bot added the stale label Sep 3, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Oct 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants