Gnome Online Accounts fails to sign in Exchange emails

Bug #1825580 reported by Kevin L.
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-online-accounts
New
Unknown
gnome-online-accounts (Ubuntu)
Triaged
Low
Unassigned

Bug Description

After upgrading from 18.10 and/or on fresh install, a known-working Exchange email setup fails to sign in, giving "Error 7: Unexpected response from server". Tested the same settings and credentials on a new install of 18.10 and it worked.

I have Evolution and Evolution-ews installed on all instances, working in 18.10, not in 19.04.

ProblemType: Bug
DistroRelease: Ubuntu 19.04
Package: gnome-online-accounts 3.32.0-1ubuntu1
ProcVersionSignature: Ubuntu 5.0.0-13.14-generic 5.0.6
Uname: Linux 5.0.0-13-generic x86_64
ApportVersion: 2.20.10-0ubuntu27
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Fri Apr 19 16:38:32 2019
InstallationDate: Installed on 2018-03-24 (391 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Alpha amd64 (20180208)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: gnome-online-accounts
UpgradeStatus: Upgraded to disco on 2019-03-12 (38 days ago)

Revision history for this message
Kevin L. (demon1109) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report. Could you add your journalctl log after getting the issue?

Changed in gnome-online-accounts (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Kevin L. (demon1109) wrote :

Added journalctl full log on a new install. Let me know if there's more specific info I can look up or provide.

Revision history for this message
Kevin L. (demon1109) wrote :

Added a log filtered for "goa-" items. Let me know if there's more specific info I can look up or provide.

Revision history for this message
Kevin L. (demon1109) wrote :

Also seeing this:

Apr 23 19:43:57 kevin-Dell-17 gnome-control-c[5696]: goa_ews_client_autodiscover() failed: 401 — Unauthorized
Apr 23 19:44:52 kevin-Dell-17 gnome-control-c[5696]: goa_ews_client_autodiscover() failed: 401 — Unauthorized
Apr 23 19:45:52 kevin-Dell-17 gnome-control-c[5696]: goa_ews_client_autodiscover() failed: 7 — Could not connect: Socket I/O timed out

Revision history for this message
Sebastien Bacher (seb128) wrote :

thanks

Changed in gnome-online-accounts (Ubuntu):
status: Incomplete → New
Revision history for this message
Sebastien Bacher (seb128) wrote :

Could you provide some extra details on what you are doing exactly. Is the account reporting an error in the settings/online account panel? Or in evolution?
Where is "Error 7: Unexpected response from server" displayed?
What version of exchange/server are you using?

Revision history for this message
Kevin L. (demon1109) wrote :

The error is in the Online Accounts menu from the settings panel. The Error 7 appears as a red box over the account sign in window after I enter the same credentials and server address I used in 18.10. I tested this on Majaro, Pop_OS and Ubuntu with Gnome 3.32 and it happens on all of them, so seems to be related to Gnome itself.

I believe we're on Exchange 2010 still. The account doesn't show up at all in Evolution since it never gets added to Online Accounts or Seahorse due to the error.

Revision history for this message
Kevin L. (demon1109) wrote :

And on the one machine, the install of 18.10 had the EWS account working, then on upgrade it wouldn't connect--kept asking for the password even after entering multiple times. I deleted the account and tried to set up again, but it failed with this same error.

On all of my installs (even fresh installs) the Microsoft Exchange option on Online Accounts appears with a red icon instead of the Exchange icon.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks, it does sound like an upstream issue indeed and should be reported upstream on https://gitlab.gnome.org/GNOME/gnome-online-accounts/. Could you do that or would you prefer us to resubmit it there for you?

Revision history for this message
Kevin L. (demon1109) wrote :

I have submitted upstream: GNOME/gnome-online-accounts#60

Thanks for your attention to this!

Revision history for this message
Kevin L. (demon1109) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks!

Changed in gnome-online-accounts (Ubuntu):
status: New → Triaged
Changed in gnome-online-accounts:
status: Unknown → New
Revision history for this message
Sebastien Bacher (seb128) wrote :

could you try if that's still an issue in newer Ubuntu series?

Revision history for this message
Kevin L. (demon1109) wrote : Re: [Bug 1825580] Re: Gnome Online Accounts fails to sign in Exchange emails

Still seeing it on Ubuntu 20.04: Code 6: Unexpected response from server.

We did upgrade the version of Exchange used at my work within the last
year, but the odd part is setup and use works when I'm on the work network,
but not when I work from home (where it used to in versions of Gnome prior,
and in the Exchange version prior).

Not sure if it is a server issue on my employer's side, a network
configuration issue, or a Gnome issue, at this point.

On Mon, May 11, 2020 at 6:01 AM Sebastien Bacher <email address hidden> wrote:

> could you try if that's still an issue in newer Ubuntu series?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1825580
>
> Title:
> Gnome Online Accounts fails to sign in Exchange emails
>
> Status in gnome-online-accounts:
> New
> Status in gnome-online-accounts package in Ubuntu:
> Triaged
>
> Bug description:
> After upgrading from 18.10 and/or on fresh install, a known-working
> Exchange email setup fails to sign in, giving "Error 7: Unexpected
> response from server". Tested the same settings and credentials on a
> new install of 18.10 and it worked.
>
> I have Evolution and Evolution-ews installed on all instances, working
> in 18.10, not in 19.04.
>
> ProblemType: Bug
> DistroRelease: Ubuntu 19.04
> Package: gnome-online-accounts 3.32.0-1ubuntu1
> ProcVersionSignature: Ubuntu 5.0.0-13.14-generic 5.0.6
> Uname: Linux 5.0.0-13-generic x86_64
> ApportVersion: 2.20.10-0ubuntu27
> Architecture: amd64
> CurrentDesktop: ubuntu:GNOME
> Date: Fri Apr 19 16:38:32 2019
> InstallationDate: Installed on 2018-03-24 (391 days ago)
> InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Alpha amd64
> (20180208)
> ProcEnviron:
> TERM=xterm-256color
> PATH=(custom, no user)
> XDG_RUNTIME_DIR=<set>
> LANG=en_US.UTF-8
> SHELL=/bin/bash
> SourcePackage: gnome-online-accounts
> UpgradeStatus: Upgraded to disco on 2019-03-12 (38 days ago)
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/gnome-online-accounts/+bug/1825580/+subscriptions
>

Revision history for this message
Kevin L. (demon1109) wrote :

Looking around some more, it seems it may be related to this: https://bugs.launchpad.net/ubuntu/+source/evolution/+bug/1866974

I did add the suggested item to the /etc/gnutls and the account successfully is added to GOA now, but still isn't letting me download email due to a different error, but it does seem that it could be related to the TLS key length issue cited above.

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.