Accepting an invitation failed with Status 804a000a

Bug #823783 reported by bikeridercz
72
This bug affects 14 people
Affects Status Importance Assigned to Milestone
Exchange Data Provider for Lightning
New
Undecided
Unassigned

Bug Description

Dear,

seems the I was successfully connected to exchange server a my user name was successfully verified. However, I'm not able to accept any message, or to create a new calendar event. When accepting a message an error occurs - "Processing message failed. Status 804a000a."

Note, that when I'm switching back to local Calendar, the is no problem with any calendar event. i'm using Thunderbird for more than two years on Ubuntu linux platform (Lucid).

Thanks for help.

Error console says:
Chyba: Assert failed: undefined
2: [file:///home/kolek/.thunderbird/bblhbk2x.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/modules/calAuthUtils.jsm:149] calPasswordManagerGet
3: [file:///home/kolek/.thunderbird/bblhbk2x.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/modules/calUtils.jsm -> file:///home/kolek/.thunderbird<email address hidden>/js/calExchange.js:979] anonymous
4: [file:///home/kolek/.thunderbird/bblhbk2x.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/modules/calUtils.jsm -> file:///home/kolek/.thunderbird<email address hidden>/js/calExchange.js:201] anonymous
5: [file:///home/kolek/.thunderbird/bblhbk2x.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/modules/calUtils.jsm -> file:///home/kolek/.thunderbird<email address hidden>/js/calExchange.js:188] setTimeout_notify

Zdrojový soubor: file:///home/kolek/.thunderbird/bblhbk2x.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/modules/calUtils.jsm -> file:///home/kolek/.thunderbird/bblhbk2x.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calUtils.js
Řádek: 973

Revision history for this message
Gary B (gar37bic) wrote :

Trying different things, I found that I can not create a meeting in my company (Exchange) calendar, or change a meeting in my home calendar to the company calendar - it silently fails. So this may be related. I have not determined if this is an authentication problem or something else.

Revision history for this message
Simon Schubert (corecode) wrote :

Can you please capture a debug log and attach it? If the debug output is different, please open a new bug.

Revision history for this message
Gary B (gar37bic) wrote :

Sorry, I didn't get the email. I found the bug again when I did a search :)

I haven't turned actual debug logging on yet (still looking that up) but I found this in the error console when I clicked 'Accept' on a new event invitation (slightly anonymized):

Error: Assert failed: error on iTIP processing
2: [resource://calendar/modules/calItipUtils.jsm:923] ItipOpListener_onOperationComplete
3: [resource://calendar/modules/calUtils.jsm -> file:///home/myname/.thunderbird<email address hidden>/js/calExchange.js:439] null
4: [resource://calendar/modules/calUtils.jsm -> file:///home/myname/.thunderbird<email address hidden>/js/calExchange.js:401] null
5: [resource://calendar/modules/calUtils.jsm -> file:///home/myname/.thunderbird<email address hidden>/js/calExchange.js:384] null
6: [resource://calendar/modules/calUtils.jsm -> file:///home/myname/.thunderbird<email address hidden>/js/calExchange.js:275] null

Source File: resource://calendar/modules/calUtils.jsm -> file:///home/myname/.thunderbird/qdxxxxxx.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calUtils.js
Line: 980

Revision history for this message
Gary B (gar37bic) wrote :

I subscribed to the email, so I should get postings henceforth.

Revision history for this message
Gary B (gar37bic) wrote :

I used this script to start tbird with debug logging (found at http://wiki.dovecot.org/Debugging/Thunderbird)
  #!/bin/sh

  TB_PATH=`which thunderbird`
  # or for MacOSX:
  #TB_PATH="/Applications/Thunderbird.app/Contents/MacOS/thunderbird-bin"

  MYDATE=`date "+%Y%m%d_%H%M%S"`
  NSPR_LOG_MODULES=IMAP:5
  NSPR_LOG_FILE=/tmp/thunderbird_${MYDATE}.log
  export NSPR_LOG_MODULES NSPR_LOG_FILE

  $TB_PATH &
  exit $?

There was nothing in the log that pertained to this, so I tried 'tail -f' on the log, and no new data appeared when I tested this problem. Is there a better way to do the logging?

Revision history for this message
Gary B (gar37bic) wrote :

OK, I changed 'IMAP' to 'all' in the above script, and got some possibly useful data. I have attached it. I tried to reduce the length as much as possible without leaving out anything useful, but of course I don't have any strong idea of what's useful. The result is 403 lines.

Revision history for this message
Simon Schubert (corecode) wrote :

Thanks for your effort! That's the wrong debug log however. Please follow the instructions on the wiki: <https://gitorious.org/lightning-exchange-provider/pages/Debugging>. Thanks!

Revision history for this message
dtorgy (dtorgy) wrote :
Download full text (6.0 KiB)

I am having the same problem and followed the wiki's instructions for debug output... Here is what I got

getInterfaces called

getInterfaces called

getInterfaces called

getInterfaces called

getInterfaces called

getInterfaces called

getInterfaces called

getInterfaces called

getInterfaces called

getInterfaces called

getInterfaces called

ccd67502-4c01-4133-8952-e11d83a96573/Exchange: adding item

ccd67502-4c01-4133-8952-e11d83a96573/Exchange: queueRequest

ccd67502-4c01-4133-8952-e11d83a96573/Exchange: setup req to https://LDS\<email address hidden>/EWS/Exchange.asmx user LDS\torgersondl

getInterfaces called

ccd67502-4c01-4133-8952-e11d83a96573/Exchange: Sending: <?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages">
  <soap:Header>
    <t:RequestServerVersion Version="Exchange2007_SP1"/>
  </soap:Header>
  <soap:Body>
    <m:CreateItem SendMeetingInvitations="SendToNone">
      <m:SavedItemFolderId>
        <t:DistinguishedFolderId Id="calendar"/>
      </m:SavedItemFolderId>
      <m:Items>
        <t:CalendarItem>
          <t:Subject>CCNA class part 2</t:Subject>
          <t:Body BodyType="Text"/>
          <t:ReminderIsSet>true</t:ReminderIsSet>
          <t:ReminderMinutesBeforeStart>-345</t:ReminderMinutesBeforeStart>
          <t:ExtendedProperty>
            <t:ExtendedFieldURI DistinguishedPropertySetId="Common" PropertyId="34144" PropertyType="SystemTime"/>
            <t:Value>2011-05-23T05:45:00Z</t:Value>
          </t:ExtendedProperty>
          <t:UID>56e1228d-a421-452b-9e73-03db5bd3b32e</t:UID>
          <t:Start>2011-05-23T00:00:00-00:00</t:Start>
          <t:End>2011-05-28T00:00:00-00:00</t:End>
          <t:IsAllDayEvent>true</t:IsAllDayEvent>
          <t:Location>West Vally - New Horizons</t:Location>
          <t:RequiredAttendees>
            <t:Attendee>
              <t:Mailbox>
                <t:Name>Michael Buck</t:Name>
                <t:EmailAddress><email address hidden></t:EmailAddress>
              </t:Mailbox>
              <t:ResponseType>Unknown</t:ResponseType>
            </t:Attendee>
            <t:Attendee>
              <t:Mailbox>
                <t:Name/>
                <t:EmailAddress><email address hidden></t:EmailAddress>
              </t:Mailbox>
              <t:ResponseType>Accept</t:ResponseType>
            </t:Attendee>
          </t:RequiredAttendees>
        </t:CalendarItem>
      </m:Items>
    </m:CreateItem>
  </soap:Body>
</soap:Envelope>

ccd67502-4c01-4133-8952-e11d83a96573/Exchange: getInterface

ccd67502-4c01-4133-8952-e11d83a96573/Exchange: IID: {d974c99e-4148-4df9-8d98-de834a2f6462}

ccd67502-4c01-4133-8952-e11d83a96573/Exchange: reply

ccd67502-4c01-4133-8952-e11d83a96573/Exchange: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
  <s:Body>
    <s:Fault>
      <faultcode xmlns:a="http://schemas.microsoft.com/exchange/services/2006/types">a:ErrorSchemaValidation</faultcode>
      <faultstring xml:lang="en-US">The request failed schema valida...

Read more...

Revision history for this message
Mark Howard (mh-tildemh) wrote :

I'm having the same problem. The debug logs are indicating that ReferenceItemID is set to null...

It's sending:
    <m:CreateItem SendMeetingInvitations="SendToNone" MessageDisposition="SendAndSaveCopy">
      <m:Items>
        <t:AcceptItem>
          <t:ReferenceItemId Id="null" ChangeKey="2"/> ...

And getting the following error back:
<m:CreateItemResponseMessage ResponseClass="Error">
          <m:MessageText>Id is malformed.</m:MessageText>
          <m:ResponseCode>ErrorInvalidIdMalformed</m:ResponseCode>
          <m:DescriptiveLinkKey>0</m:DescriptiveLinkKey>
          <m:Items/>

My emails are being read from imap via a proxy - not sure if that could be a problem?

Revision history for this message
John Pilgrim (pilgrim-john) wrote :

Has a resolution, or cause to this problem been found. I've been experiencing this error code also.

Revision history for this message
Gary B (gar37bic) wrote :

My workaround was to not use the Company calendar at all. I put everything in my personal calendar. I'm still running Lucid and Tbird 7.01 so maybe a newer version fixes this?

Revision history for this message
sfunk1x (sfunk1x) wrote :

Just ran into this, too. In 2017...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.