After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 498099 - "Lost connection to Evolution Exchange backend process"
"Lost connection to Evolution Exchange backend process"
Status: RESOLVED DUPLICATE of bug 522277
Product: evolution
Classification: Applications
Component: general
2.24.x (obsolete)
Other All
: Normal normal
: ---
Assigned To: Evolution Shell Maintainers Team
Evolution QA team
: 359834 420971 443591 496621 525837 528500 (view as bug list)
Depends on:
Blocks: 502515
 
 
Reported: 2007-11-19 07:14 UTC by simon.keys
Modified: 2009-07-20 08:20 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24



Description simon.keys 2007-11-19 07:14:07 UTC
Perpetual "Lost connection to Evolution Exchange backend process" error.

Have only had problem since upgrading to 64-bit Ubuntu 7.10 Gutsy Gibbon (worked fine with 7.04 also 64-bit). 

HP laptop, Intel dual core, 1.8 MHz, dual boot Ubuntu and XP Pro. I need Evolution to connect to Exchange Server 2003 to access work emails.

My home desktop (Intel Pentium 4, 3 GHz), which still runs Ubuntu 7.04, has no such problem.


Distribution: Ubuntu 7.10 (gutsy)
Gnome Release: 2.20.1 2007-10-19 (Ubuntu)
BugBuddy Version: 2.18.1
Comment 1 Andrew King 2007-11-21 04:42:06 UTC
I am also experiencing this problem.

At startup connection to evolution-exchange is lost, however evolution-exchange-storage is still running.

from evolution (CAMEL_DEBUG=all)
******************
* (truncated above this)

CamelStore('exchange://216489C;auth=NTLM@email.curtin.edu.au/;ad_server=exmsp3.perth.ad.curtin.edu.au;owa_path=/exchange;mailbox=Andrew.King@exchange.curtin.edu.au;owa_url=https://email.curtin.edu.au/;filter;save-passwd=true'):get_folder('personal/Inbox', 0) = 0x85ea2a0
< af69db90 >
POP3_STREAM_LINE(72): '+OK maildrop ready, 581 messages (73553142 octets) (73495554 2250768384)'
Got + response
POP3_STREAM_WRITE(6):
CAPA

POP3_STREAM_FILL(ERROR): 'Interrupted system call'
Thread b67c36b0 >
CamelStore('exchange://216489C;auth=N
(evolution:15147): evolution-mail-WARNING **: Error occurred while existing dialogue active:
Lost connection to Evolution Exchange backend process
TLM@email.curtin.edu.au/;ad_server=ad.curtin.edu.au;owa_path=/exchange;mailbox=username@exchange.curtin.edu.au;owa_url=https://email.curtin.edu.au/;filter;save-passwd=true'):get_folder('personal/Inbox', 1) = 0x85ea2a0
< b67c36b0 >
POP3_STREAM_WRITE(6):
LIST

POP3_STREAM_WRITE(6):
UIDL

POP3_STREAM_WRITE(6):
QUIT

POP3_STREAM_FILL(ERROR): 'Interrupted system call'
CamelException.setv(0xaf69d364, 2, 'Lost connection to Evolution Exchange backend process')
CamelException.set(0xb411e46c, 3, 'Canceled')
POP3_STREAM_WRITE(6):
QUIT

POP3_STREAM_FILL(ERROR): 'Interrupted system call'
CamelException.set(0x82431fc, 3, 'Canceled')
POP3_STREAM_WRITE(6):
QUIT

CamelException.setv(0x863aed4, 2, 'Lost connection to Evolution Exchange backend process')
Thread b67c36b0 >
***************

And from evolution exchange storage, 

***************
SEARCH /exchange/username@exchange.curtin.edu.au/Inbox/ HTTP/1.1
E2k-Debug: 0x81d54d8 @ 1195619650
Host: email.curtin.edu.au
Brief: t
Range: rows=400-499
User-Agent: Evolution/1.12.1
Cookie: sessionid=d90fd430-02d6-45aa-a914-f80e784261c4; cadata="4Ilu4GCgummDEZtc7pcgPXB7Ihjb1S08UtPtDccN/PjNRRZUFS/1DkEdLi4M="
Content-Type: text/xml

207 Multi-Status
E2k-Debug: 0x81d54d8 @ 1195619650
MS-WebStorage: 6.5.7638
MS-WebStorage: 6.5.7638
Accept-Ranges: rows
Date: Wed, 21 Nov 2007 04:35:31 GMT
X-Powered-By: ASP.NET
X-Powered-By: ASP.NET
Server: Microsoft-IIS/6.0
Transfer-Encoding: chunked
Content-Type: text/xml
Content-Range: rows 400-499; total=555

SEARCH /exchange/username@exchange.curtin.edu.au/Inbox/ HTTP/1.1
E2k-Debug: 0x81d5538 @ 1195619650
Host: email.curtin.edu.au
Brief: t
Range: rows=500-599
User-Agent: Evolution/1.12.1
Cookie: sessionid=d90fd430-02d6-45aa-a914-f80e784261c4; cadata="4Ilu4GCgummDEZtc7pcgPXB7Ihjb1S08UtPtDccN/PjNRRZUFS/1DkEdLi4M="
Content-Type: text/xml

207 Multi-Status
E2k-Debug: 0x81d5538 @ 1195619651
MS-WebStorage: 6.5.7638
MS-WebStorage: 6.5.7638
Accept-Ranges: rows
Date: Wed, 21 Nov 2007 04:35:32 GMT
X-Powered-By: ASP.NET
X-Powered-By: ASP.NET
Server: Microsoft-IIS/6.0
Transfer-Encoding: chunked
Content-Type: text/xml
Content-Range: rows 500-554; total=555
*************

Also on Ubuntu 7.10 (Gutsy) - 

(though neither evolution or evolution-exchange-storage have crashed) - they just wont talk to each other. Evolution is unusable in its current state.

Regards,
Andrew

Comment 2 Andrew King 2007-11-29 02:05:38 UTC
 I have managed to fix the exchange connector dropouts by changing the auth-type from NTLM to Basic.

ie. 

close evolution (evolution --force-shutdown).
use the gconf configuration editor and find the exchange account references.
(apps->evolution->calendar)
under the "sources" key, change any reference to auth=NTLM to auth=Basic.
(apps->evolution->mail)
the same as above though the key in this case is "accounts", again change any reference to auth=NTLM to auth=Basic.
also any of the <property name="auth-type" value="Basic"/> tags.


next (before starting evolution) I deleted the cached evolution data 

cd ~/.evolution
rm -r `find . -name "*exch*" -print`

After this evolution was started and has worked without a problem since.

Note: Unfortunately this is somewhat reminiscent of editing the registry. It should be possible to do this by editing the text files directly under the ~/.gconf directory, but most of the symbols are in html special characters (ie all &gt;s and &lt;s). This method is more of a pain, and it will probably be necessary to log out of gnome for the changes to be remembered.


Regards,
Andrew
Comment 3 André Klapper 2007-12-09 00:07:19 UTC
*** Bug 496621 has been marked as a duplicate of this bug. ***
Comment 4 André Klapper 2007-12-09 00:08:53 UTC
*** Bug 420971 has been marked as a duplicate of this bug. ***
Comment 5 André Klapper 2007-12-09 00:09:07 UTC
*** Bug 359834 has been marked as a duplicate of this bug. ***
Comment 6 André Klapper 2007-12-09 00:10:16 UTC
*** Bug 443591 has been marked as a duplicate of this bug. ***
Comment 7 André Klapper 2007-12-09 00:10:32 UTC
copying from bug 443591:

"I discovered E2K_DEBUG.  When I run evolution with it set, I see that the
backend process chugs merrily along and then suddenly I see "flush failed", and
that's when evolution stops being able to communicate with it, even though it's
still running.  Like this:

...
---
<<< 1
<<< 8937 bytes
<<< 0
>>> 9
>>> (personal/Archive)
>>> "000067212d49"
---
>>> 9
>>> (personal/Archive)
>>> "000067212d4a"
--- flush failed

I should mention that my Exchange server can be somewhat unreliable, so for all
I know the "flush failed" above means that my Exchange server closed the
connection or something, but shouldn't Evolution try to reconnect
automatically, like Outlook does?

Is there some way to get Evolution to reset the connection without exiting and
restarting?"
Comment 8 Zac Wheeler 2008-03-10 20:30:00 UTC
Please also see: https://bugs.launchpad.net/ubuntu/+source/evolution-exchange/+bug/34199

IMHO this bug should probably be upgraded in priority. It makes the already slow Exchange interface unusable for me and many others. I now use a VMWare image just for Outlook.
Comment 9 Matthew Barnes 2008-03-11 00:35:36 UTC
Bumping version to a stable release.
Comment 10 Valent Turkovic 2008-03-19 09:30:25 UTC
I also see this bug with current evolution on Fedora 8 that uses 2.12.x

Fedora 9 Beta that uses 2.20.x doesn't have this issue.
Comment 11 Valent Turkovic 2008-03-21 19:06:05 UTC
I did this:

1) evolution --force-shutdown
2) rm -rf ~/.evolution/exchange ~/.evolution/mail/exchange
3) Start evolution - it'll have to rebuild the indexes etc


and it works like a charm!
Comment 12 Susana 2008-04-23 22:38:30 UTC
*** Bug 525837 has been marked as a duplicate of this bug. ***
Comment 13 Susana 2008-04-23 22:38:42 UTC
*** Bug 528500 has been marked as a duplicate of this bug. ***
Comment 14 Valent Turkovic 2008-04-28 07:53:59 UTC
I can just confirm that it still works great on latest Fedora 9 (preview).
I'm a happy camper :)

Cheers!
Comment 15 jan2ary 2008-11-28 08:36:18 UTC
I have a question.
Does anybody test evolution or its components before release them? Looks like nobody.
Today I've got an update to 2.24.2.
For any mail I see

Unable to retrieve message
Lost connection to Evolution Exchange backend process

For any folder: Error while Refreshing folder.

WA from Comment #11 didn't help.

Thanks.
Andrey
Comment 16 chrispope 2009-07-19 03:41:36 UTC
This is caused by bug 522277. There's a patch attached to that bug, I can confirm it resolved this issue, though that bug is still open.

Please push for inclusion into the next release of evolution. This cripples Evolution for anyone whose got a large volume of mail in an OWA account.
Comment 17 Milan Crha 2009-07-20 08:20:04 UTC
OK, thanks for the info, I'm marking this as a duplicate of bug #522277, because, as you said, the later contains a patch for this.

*** This bug has been marked as a duplicate of 522277 ***