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 347318 - Evolution Exchange does not fetch email more than once
Evolution Exchange does not fetch email more than once
Status: RESOLVED OBSOLETE
Product: Evolution Exchange
Classification: Deprecated
Component: Connector
2.6.0
Other Linux
: Normal major
: ---
Assigned To: Connector Maintainer
Ximian Connector QA
Depends on:
Blocks:
 
 
Reported: 2006-07-12 15:30 UTC by epablo
Modified: 2008-07-11 03:31 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14


Attachments
Evolution Debug with E2K_DEBUG=4 (16.82 KB, application/octet-stream)
2006-07-18 16:13 UTC, epablo
Details
Debug with E2k_DEBUG=4 (22.19 KB, text/plain)
2006-08-11 16:03 UTC, epablo
Details
New crash catched by bugbuddy (14.09 KB, application/octet-stream)
2006-08-11 18:35 UTC, epablo
Details

Description epablo 2006-07-12 15:30:03 UTC
Please describe the problem:
I setup an exchange account against a W2k3 server.  When Evo starts up it fetched all events and email.  After that the only way to see "I got mail" is to restart it.

I'm not sure if it is related to the fact that I haven't been able to make the GAL work so I have the email adresses.

Steps to reproduce:
1. Start Evo
2. Configure an exchange account
3. get mail
4. send yourself and email
5. You will not see it reflected in the evo incomming list until you restart (send and receive manually does not fetch any email)


Actual results:
I don't get any new emails or calendar updates

Expected results:
Recieve the email that I just sent myself.. I check it via OWA and it is there instantlly

Does this happen every time?
No, some times if I send the email quick enough I can do a send & recieve and get only the first email

Other information:
When activating the debug I see the following error:
GC: looking up info for username@example.com

GC: Connecting to ldap://ADC:3268/

** (evolution-2.6:12618): WARNING **: LDAP authentication failed (0x31)

(evolution-2.6:12618): camel-WARNING **: camel_exception_get_id called with NULL parameter.
libnm_glib_nm_state_cb: dbus returned an error.
  (org.freedesktop.DBus.Error.ServiceUnknown) The name org.freedesktop.NetworkManager was not provided by any .service files
GC: ldap_search auth failed>>> 0
Comment 1 Sushma Rai 2006-07-17 09:00:05 UTC
double clicking on Inbox, pressing send/recv mails key is also not getting 
all the new mails?

Your GC server access is failing, with the error "Invalid credentials".
That means, either your credentials or wrong or password is expired or
something similar..
Comment 2 Sankar P 2006-07-17 10:08:05 UTC
It is likely that your network manager applet is setting you to offline status. Evolution is integrated with network-manager and will fo offline when n/w manager status is not-connected.  

Can you start evolution from a terminal with E2K_DEBUG=4 set and give the traces when you press send/recv. (Dont forget to send a mail to urself before that) ?
Comment 3 epablo 2006-07-18 16:13:43 UTC
Created attachment 69128 [details]
Evolution Debug with E2K_DEBUG=4
Comment 4 epablo 2006-07-18 16:21:05 UTC
I attached the debuging of evolution, this time it took longer to block.

How do I check the network-manager status?  I started the network-manager applet, but it's all on my LAN so I can see if there is some intermitence.

I there a way of setting up a log for the network-manager?

Thanks for your help,
Pablo
Comment 5 Sushma Rai 2006-07-25 11:15:44 UTC
epablo, 
The debug traces indicate that you are not in offile mode.
But Server is retruning "401 Unauthorized" error,

Something related to this
http://support.microsoft.com/?kbid=899902

Which version exactly you are using? Is it 2.6.0 or 2.6.2?
Is your server having all the SPs?

Comment 6 epablo 2006-07-26 16:04:29 UTC
I checked the server and it's up to date (used MSBA v2.0)

I'm running Evolution 2.6.2 (evolution-2.6.2-1.fc5.5)

Let me look into the 401.  I had overlooked it.
Comment 7 epablo 2006-07-27 12:45:37 UTC
Sushma Rai, 

I read the info on the 401.  I'm not sure if I should apply the patch, I only get the 401 through evolution, OWA users don't have the problem.

any other ideas?
Comment 8 Hanno G. Steinke 2006-08-03 11:05:01 UTC
Hi again,

after getting evolution 2.6.3 going yesterday, I seem to get caught by the next
bug in the row right away :-/

I can confirm the described behaviour. I also have a 401 at the first try on
the exchange server, but I consider that a glitch since the second try (flaged
with the [restarted] tag) succeeeds.

What I noticed in common however, is the dbus error at the bottom of the trace.

It basically says, that there is no NetworkManager installed at epablos machine, which should not really be a Problem. I, however, have got one, so my trace ends with:

libnm_glib_nm_state_cb: dbus returned an error.
  (org.freedesktop.DBus.Error.AccessDenied) A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file (rejected message had interface "org.freedesktop.NetworkManager" member "state" error name "(unset)" destination "org.freedesktop.NetworkManager")

Note that this also comes from libnm_glib_nm_state_cb. I suspect that any
failure in this area puts evolution in offline mode, since any push on the
send/recv button does not give any further debug output (which it should, I
suppose?)

Well I try first to solve the access denied problem and report if it goes
away, then.

But is it practical to fall into offline mode, if your method of checking wether you are online just propably is the wrong one?

cu

Comment 9 Hanno G. Steinke 2006-08-04 10:20:13 UTC
I've got NetworkManager working (not for the Cisco-VPN I use, but for a currently unused 2nd ethernet port) and when I enable/disable Networking in nm-applet, the little plug icon in the bottom left corner of evolution (2.6:28594 for that matter) follows neatly. So far, so good.

If I now receive an EMail, the counter of unread mails at my inbox in the folder view increments, but the EMail is not shown in the Listbox until restart. This is yet another bug that has been reported here...

We need better debugging features. I can't tcpdump the cisco interface, because it lacks a promiscous mode. Is there any docs about those E2K_DEBUG values and such?
Comment 10 epablo 2006-08-11 16:03:03 UTC
Created attachment 70724 [details]
Debug with E2k_DEBUG=4
Comment 11 epablo 2006-08-11 16:04:27 UTC
I checked on the 401 problems.  

The hotfix was not necesary because I had all patches up2date.

I made some changes (http://bugzilla.gnome.org/show_bug.cgi?id=348804) on my config and fixed the LDAP problems that were on the debug.  Basically the change was on the OWA URL, I appended the username to the URL.

I retested and if I leave Evo alone for an half and hour or so it still turns useless.

I'm uploading a new trace file.
Comment 12 epablo 2006-08-11 18:35:44 UTC
Created attachment 70739 [details]
New crash catched by bugbuddy

While testing got a crash that was caught by the bug buddy.
Comment 13 Sushma Rai 2006-08-21 10:27:49 UTC
epablo ,

The Evolution version you are using is 2.6.3?
The crash you are observing is in 2.6.3?
On what operation you are getting the crash and how frequent it is?


Hanno G. Steinke,
Please see the bug #349413 for new mails problem.
Comment 14 Michael Kopp 2006-08-24 15:30:33 UTC
This seems to be identical to bug #347434.
BTW I found this bug in 2.6.2 and 2.6.3.
I switched back to 2.6.1 (while staying on 2.6.3 for Evolution and the Data Server) and the bug was gone.

So I think I can confirm that this originated in 2.6.2
Comment 15 epablo 2006-08-24 17:39:47 UTC
Hi Mike, 

Thanks for the workaround!

I can confirm that 2.6.1 doesn't have the bug.
I can also confirm that it is not related to the NetworkManager warning, I installed and configured the deamon and I was still having the problems.

Hanno:  the crash is occasional.  It happen just that one time.

Pablo
Comment 16 Michael Kopp 2006-09-29 13:38:32 UTC
The same happens for 2.8.
It is not usable with exchange.
Comment 17 Norbert Buchmuller 2006-11-03 11:59:20 UTC
See my comment in bug #347434 (BTW, bug #347434 seems to be a duplicate of this bug).
Comment 18 Michael Kopp 2006-11-22 06:58:47 UTC
Works in 2.8.2!
Comment 19 Veerapuram Varadhan 2007-08-22 10:27:58 UTC
(In reply to comment #18)
> Works in 2.8.2!
> 

Is it working with svn trunk?
Comment 20 Akhil Laddha 2008-07-10 06:04:49 UTC
It works fine for me, Can you please try in current stable 2.22.3,  thanks in advance.
Comment 21 epablo 2008-07-10 20:14:31 UTC
Works ok for me in 2.22.3 stable
Comment 22 Akhil Laddha 2008-07-11 03:31:57 UTC
Great !