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

Issue parsing JSON response from Radicale #151

Closed
JPDVM2014 opened this issue Feb 13, 2024 · 1 comment
Closed

Issue parsing JSON response from Radicale #151

JPDVM2014 opened this issue Feb 13, 2024 · 1 comment

Comments

@JPDVM2014
Copy link

I was having an issue logging into radicale, but have fixed that. Now, i'm getting a JSON parsing error. Based on the radicale logs, it looks like login is successful.

MMDL Error
Screenshot_20240212_220321_Mull.jpg

MMDL Log

10:24:44 PM
Executing (default): SELECT `caldav_accounts_id`, `username`, `password`, `url`, `userid`, `name`, `authMethod` FROM `caldav_accounts` AS `caldav_accounts` WHERE `caldav_accounts`.`username` = 'test' AND `caldav_accounts`.`url` = 'http://192.168.100.88:5232/' LIMIT 1;
10:24:44 PM
res null
10:24:44 PM
TypeError: Cannot read properties of undefined (reading 'words')

Radicale Log

03:15:08 AM
[2024-02-12 22:15:08 -0500] [7/Thread-24 (process_request_thread)] [DEBUG] 'test' has write access to collection 'test'
03:15:08 AM
[2024-02-12 22:15:08 -0500] [7/Thread-24 (process_request_thread)] [DEBUG] Response content:
03:15:08 AM
<?xml version="1.0"?>
03:15:08 AM
<multistatus xmlns="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav" xmlns:CS="http://calendarserver.org/ns/" xmlns:ICAL="http://apple.com/ns/ical/">
03:15:08 AM
  <response>
03:15:08 AM
    <href>/test/</href>
03:15:08 AM
    <propstat>
03:15:08 AM
      <prop>
03:15:08 AM
        <C:calendar-description />
03:15:08 AM
        <C:calendar-timezone />
03:15:08 AM
        <displayname />
03:15:08 AM
        <ICAL:calendar-color />
03:15:08 AM
        <CS:getctag />
03:15:08 AM
        <C:supported-calendar-component-set />
03:15:08 AM
        <sync-token />
03:15:08 AM
      </prop>
03:15:08 AM
      <status>HTTP/1.1 404 Not Found</status>
03:15:08 AM
    </propstat>
03:15:08 AM
    <propstat>
03:15:08 AM
      <prop>
03:15:08 AM
        <resourcetype>
03:15:08 AM
          <principal />
03:15:08 AM
          <collection />
03:15:08 AM
        </resourcetype>
03:15:08 AM
      </prop>
03:15:08 AM
      <status>HTTP/1.1 200 OK</status>
03:15:08 AM
    </propstat>
03:15:08 AM
  </response>
03:15:08 AM
</multistatus>
03:15:08 AM
03:15:08 AM
[2024-02-12 22:15:08 -0500] [7/Thread-24 (process_request_thread)] [INFO] PROPFIND response status for '/test/' with depth '1' in 0.182 seconds: 207 Multi-Status
@JPDVM2014
Copy link
Author

Seems to be working now. i think it was an issue with my reverse proxy config.

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

No branches or pull requests

1 participant