Yahoo calendar CALDAV sync is not working



  • Hi there,
    I use DAVdroid for a couple of years already. I have HTC One M8-Verizon with Android 5.0.1, HTC Sense 6.0. I use it with my free Yahoo Mail (US) calendar account.
    Yahoo CALDAV sync stopped working a couple of weeks ago. I've uninstalled-reinstalled the DAVdroid via Google Play - no go. An error says "Server error while downloading remote entries". I've collected 'DAVdroid Exception Details', will post upon request.
    Any ideas or fix ETA?
    Thank you,
    -Mike.


  • admin

    Hello,

    yes, please post the exceptions here. We will try to reproduce the problem then.



  • SYNCHRONIZATION INFO
    Synchronization phase: 9
    Account name: Yahoo!Calendar
    Authority: com.android.calendar
    
    HTTP REQUEST:
    REPORT https://caldav.calendar.yahoo.com/dav/vedmedik/Calendar/Mike_Rozentsvayg/
    Authorization: Basic XXXXXXXXXXX
    Content-Length: 2434
    Content-Type: application/xml; charset=utf-8
    
    <?xml version='1.0' encoding='UTF-8' ?><CAL:calendar-multiget xmlns="DAV:" xmlns:CAL="urn:ietf:params:xml:ns:caldav"><prop><getcontenttype /><getetag /><CAL:calendar-data /></prop><href>/dav/vedmedik/Calendar/Mike_Rozentsvayg/mj6IlzRWiMeHoUma19aeDBuI.Hl5xH4IEOuE%2540calendar.yahoo.com.ics</href>…<CAL:calendar-multiget /></CAL:calendar-multiget>
    
    HTTP RESPONSE:
    http/1.1 400 Bad Request
    Age: 2
    Cache-Control: must-revalidate,no-cache,no-store
    Connection: keep-alive
    Content-Type: text/html;charset=utf-8
    Date: Tue, 10 Nov 2015 20:15:09 GMT
    OkHttp-Received-Millis: 1447186510212
    OkHttp-Selected-Protocol: http/1.1
    OkHttp-Sent-Millis: 1447186509592
    Server: ATS
    Set-Cookie: rememberMe=deleteMe; Path=/; Max-Age=0; Expires=Mon, 09-Nov-2015 20:15:10 GMT
    Transfer-Encoding: chunked
    Vary: Accept-Encoding
    Via: http/1.1 calgate066.cal.bf1.yahoo.com (ApacheTrafficServer)
    WSHost: tardis31.cal.gq1.yahoo.com
    
    <!doctype html public "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">[LF]
    <html>[LF]
    <head>[LF]
       <title>Yahoo! - Error report</title>[LF]
       <style>[LF]
    …
    
    STACK TRACE:
    at.bitfire.dav4android.exception.HttpException: 400 Bad Request
    at.bitfire.dav4android.exception.HttpException: 400 Bad Request
    at at.bitfire.dav4android.DavResource.checkStatus(DavResource.java:281)
    at at.bitfire.dav4android.DavResource.checkStatus(DavResource.java:286)
    at at.bitfire.dav4android.DavCalendar.multiget(DavCalendar.java:122)
    at at.bitfire.davdroid.syncadapter.CalendarSyncManager.downloadRemote(CalendarSyncManager.java:156)
    at at.bitfire.davdroid.syncadapter.SyncManager.performSync(SyncManager.java:182)
    at at.bitfire.davdroid.syncadapter.CalendarsSyncAdapterService$SyncAdapter.onPerformSync(CalendarsSyncAdapterService.java:58)
    at android.content.AbstractThreadedSyncAdapter$SyncThread.run(AbstractThreadedSyncAdapter.java:259)
    
    SOFTWARE INFORMATION
    DAVdroid version: 0.9.1 (84) Tue Nov 10 15:15:13 EST 2015
    Installed from: com.android.vending
    JB Workaround installed: yes
    
    CONFIGURATION
    System-wide synchronization: automatically
    Account: Yahoo!Calendar
     Address book sync. interval: —
     Calendar     sync. interval: 1440 min
     OpenTasks    sync. interval: —
    
    SYSTEM INFORMATION
    Android version: 5.0.1 (LRX22C release-keys)
    Device: HTC HTC6525LVW (htc_m8wl)
    

  • developer

    Hello,

    Thanks for the report. It seems like DAVdroid sends two <calendar-multiget> elements by mistake. I can send you a modified .apk to test the fix, if you want.



  • @rfc2822 yes, please!



  • @vedmedik It's working perfectly! Thank you so much!


Log in to reply
 

Looks like your connection to Bitfire App Forums was lost, please wait while we try to reconnect.