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 738287 - After short period, evo asks for the exchange password and reports each time that it is incorrect
After short period, evo asks for the exchange password and reports each time ...
Status: RESOLVED DUPLICATE of bug 735197
Product: evolution-ews
Classification: Other
Component: Miscellaneous / EWS Core
3.10.x
Other Linux
: Normal major
: ---
Assigned To: Evolution EWS maintainer(s)
Evolution EWS maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2014-10-10 10:55 UTC by Freek
Modified: 2015-09-03 16:45 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
debug trace with ews_debug=2 showing the authentication requests (393.62 KB, application/gzip)
2014-10-10 10:57 UTC, Freek
Details

Description Freek 2014-10-10 10:55:02 UTC
A couple of minutes (10-15) after starting evolution, I get an authentication request box for my exchange account.
When I type in my password, it immediately responds back with "invalid password", while the password is certainly correct.

When leaving untouched for a longer period and then entering the password, the authentication takes a long time, but succeeds.

Although I had sometimes the same issue on 3.8, it became very severe after upgrading to 3.10. On 3.8 it happened not so frequently and it passed after a couple of retries.

I have created a debug trace with EWS_DEBUG=2.
2 things I notices where that when the authentication box is shown, there is no longer an entry for this account the gnome keyring and secondly the trace seems to show that the expiry date of the cookie is the same or 1 second after the current date
Comment 1 Freek 2014-10-10 10:57:36 UTC
Created attachment 288206 [details]
debug trace with ews_debug=2 showing the authentication requests

gzipped due to size restrictions
Comment 2 Freek 2014-11-01 11:42:38 UTC
It appears that this is only when I'm working remote (exchange-anywhere).
When I'm at the office, I stay authenticated.
No changes are done between working remote or from the office
Comment 3 Milan Crha 2014-11-13 17:30:26 UTC
Thanks for a bug report. The log shows that a request against the server had been tried, but the server returned Unauthorized, which repeated several times. I'm wondering how much this is related to bug #703181. I was thinking also about bug #707655, but that produced a different error message.
Comment 4 Freek 2014-12-14 08:48:48 UTC
Hi,

Yes, I think the problem is with libsoup.
From the bugs I understand that a work-around has been created in evolution-ews.
Unfortunately this fix does not seem to exist for evolution 3.10.
I'm currently on linux mint 17.1, which does not pack evolution 3.12 (as I understand 3.12 is depending on gnome 3 ?).

I have increased the frequency for checking new mail to every 2 minutes and now the password remains remembered, but the problem of not recovering after giving a wrong password remains.

Are there any plans to backport the work-around to 3.10?
Do you now of a bug fix in libsoup?

Kind regards,

Freek
Comment 5 Milan Crha 2014-12-22 13:18:01 UTC
(In reply to comment #4)
> I'm currently on linux mint 17.1, which does not pack evolution 3.12 (as I
> understand 3.12 is depending on gnome 3 ?).

Evolution 3.x depends on gtk 3.x (not the whole GNOME).

> Are there any plans to backport the work-around to 3.10?

I'm not aware of any workaround for this in evolution(-ews). Do you have a pointer to it, please?

> Do you now of a bug fix in libsoup?

Not off head, I'm sorry. I would search libsoup bugs for anything similar.
Comment 6 Freek 2015-01-03 14:49:52 UTC
In the bug reference they speak about a fix in remark 41: https://bugzilla.gnome.org/show_bug.cgi?id=703181#c41

Is there a separate ppa for 3.12?
I'm only finding a testing ppa for 3.13
Comment 7 Milan Crha 2015-01-05 18:05:18 UTC
I'm sorry, PPA is not a GNOME thing, it's a distro thing. And as I do not use it I cannot answer it.
Comment 8 Milan Crha 2015-09-03 16:45:40 UTC
There had been done one libsoup fix, as stated in a downstream bug report mentioned in bug #735197. According to the reporters in the downstream bug report the fix fixed it. As I expect this being the same issue, I'm marking this as a duplicate of the older bug report.

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