Menu

#647 ErrorCalendarInvalidTimeZone TimeZone is invalid.

v3.6.5
closed-works-for-me
nobody
timezone (2)
5
2018-05-15
2017-04-29
No

I'm adding calendar entries from an Android phone (with "CalDAV Sync Adapter" app) and upon sync I get these errors on the davmail log:

davmail.exchange.ExchangeSession - Unable to get VTIMEZONE info: davmail.exchange.ews.EWSException: ErrorCalendarInvalidTimeZone TimeZone is invalid.

I think the relevant entry is this one:
<t:calendaritem><t:meetingtimezone timezonename="Europe/Berlin"></t:meetingtimezone></t:calendaritem>

What can be going wrong ?

The /usr/share/zoneinfo/Europe/Berlin file exists in the host running davmail.

Discussion

  • Mickael Guessant

    DavMail tries various ways to detect current user timezone settings, in your case it detects Europe/Berlin, which is not an Exchange time zone name and fails
    => should be W. Europe Standard Time

    Did you force davmail.timezoneId in DavMail settings ?

     
  • Sandro Santilli

    Sandro Santilli - 2017-05-09

    Yes I did set timezoneId to "Europe/Berlin" at one point, but mostly because the lack of a timezoneId setting was also giving troubles. Wher can I find a list of valid timezoneId values to use ?

     
  • Sandro Santilli

    Sandro Santilli - 2017-05-10

    There, after unsetting timezoneId I can see the error message again:

    2017-05-10 14:04:34,793 WARN [CaldavConnection-50336] davmail.exchange.ExchangeSession - Unable to get user timezone, using GMT Standard Time. Set davmail.timezoneId setting to override this.

    This is on a Debian 8 server. Is it supposed to successfully determine timezone ?
    And, which timezone should I be setting, the one of the upper Exchange server or the local timezone ?

     
  • Mickael Guessant

    You need to timezone id to an Exchange valid value for your location (the one you set in OWA user settings).

    A full standard to Exchange timezone id map is now available at:
    https://svn.code.sf.net/p/davmail/code/trunk/src/java/exchtimezones.properties

     
  • Mickael Guessant

    • status: open --> pending-works-for-me
     
  • Mickael Guessant

    • status: pending-works-for-me --> closed-works-for-me
     
  • Mickael Guessant

    Please try again with 4.8.5, and provide the timezone value on the client side and after DavMail translation

     

Log in to post a comment.

MongoDB Logo MongoDB