using evolution with google suite?

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

using evolution with google suite?

Kristian Rink
Folks;

in our company people are about to introduce Google Suite (paid GMail)
for business mail and calendaring communication. I do have an account
for one of these (with a mail address that is not gmail.com but actually
 @<our-company-tld>), and I am trying to connect evolution to this. 

IMAP access is enabled in the Google Mail web application, however I
fail to connect evolution to that. After configuring the account, I am
prompted with that login window where I have to enter my gmail login
name and (in the next screen) my password. After entering my password, I
just see something like "an error has occured" in the web view for a
fraction of a second and then the web part of that login screen turns
white. I can't get that account online in evolution.

Any way to figure out what's wrong there? Any way to work around this?
evolution is 3.24.2 on arch.

TIA,
Kristian
_______________________________________________
evolution-list mailing list
[hidden email]
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: using evolution with google suite?

Ralf Mardorf-3
On Thu, 2017-04-27 at 13:18 +0200, Kristian Rink wrote:
> evolution is 3.24.2 on arch.

Hi,

for the moment you need to post the output of

  pacman -Q evolution evolution-data-server

instead of what is shown by  Help > About  or  evolution -v .

Arch Linux maintainers build _all_ GNOME packages from git commits, see
https://bugs.archlinux.org/task/53840#comment157176 .

Regards,
Ralf

_______________________________________________
evolution-list mailing list
[hidden email]
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: using evolution with google suite?

Kristian Rink
Hi;

Am Donnerstag, den 27.04.2017, 14:30 +0200 schrieb Ralf Mardorf:
>
> for the moment you need to post the output of
>
>   pacman -Q evolution evolution-data-server

Ah ok, thanks. Let's see then:

evolution 3.24.1+6+gfc6d11eb4a-1
evolution-data-server 3.24.1+5+g98589a27b-2

Strange thing here is that evolution does work well with my personal
GMail account, but I didn't set this up anew recently so I don't know
whether it generally doesn't work or whether it's just the login/oauth2
process that misbehaves.

Cheers,
Kristian

_______________________________________________
evolution-list mailing list
[hidden email]
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: using evolution with google suite?

Milan Crha
In reply to this post by Kristian Rink
On Thu, 2017-04-27 at 13:18 +0200, Kristian Rink wrote:
> (with a mail address that is not gmail.com but
> actually @<our-company-tld>), and I am trying to connect evolution to
> this.

        Hi,
that's possible too and works fine here (I'm not on such a bleeding
edge as Arch Linux is with respect of evolution dependencies, but I'm
on the development version of evolution itself - nothing changed in
this regard between your and mine version). One catch-up with GMail
without gmail.com domain is to let autodetect settings using a fake
gmail.com address, then press Previous button and change the e-mail
addresses and user names as appropriate, while keeping server address
and such as they are. That's one option for lazy folks like me. You
seem to manage this fine.

> IMAP access is enabled in the Google Mail web application, however I
> fail to connect evolution to that. After configuring the account,

One thing, did you configure the account in Evolution or in GNOME
Online Accounts? I guess it was in Evolution, but just in case.

> I just see something like "an error has occured" in the web view for
> a fraction of a second and then the web part of that login screen
> turns white.

Regardless of the two methods, the widget is WebKitGTK+ web view and
from what you see I'd guess that WebKitWebProcess crashed for some
reason. Either you've something what can catch such crashes and it logs
somewhere what and where (backtrace) crashed, or we've a bad luck with
this. Anyway, WebKitGTK+, the same as evolution-ews, uses libsoup. It
turned out that libsoup 2.58.0 has some regression [1], thus try to
downgrade it to 2.56.0 first. Maybe it'll help, maybe not.

If it won't help, then I'd try to configure a Google account in GNOME
Online Accounts (gnome-control-center->Online Accounts), as I believe
you have the account configured directly in Evolution right now.

You can even try to downgrade WebKitGTK+ itself. I do not know what
package name it is on Arch Linux. The current upstream version is
2.16.1 (released ~3 weeks ago), where I'd try to step even further,
like to 2.14.6. Try this only as the last resort, it can break other
things due to (not only build) dependencies (I've a feeling the libsoup
downgrade will do the trick, though).

Otherwise not much idea, a backtrace of the crash would be needed to
know what actually happened, or at least to have a clue. You can run
evolution from a terminal, which can print something on console too.
        Bye,
        Milan

[1] https://bugzilla.gnome.org/show_bug.cgi?id=781590
_______________________________________________
evolution-list mailing list
[hidden email]
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: using evolution with google suite?

Kristian Rink
Hi there;

thanks loads for your feedback.

Am Donnerstag, den 27.04.2017, 14:52 +0200 schrieb Milan Crha:
>
> One thing, did you configure the account in Evolution or in GNOME
> Online Accounts? I guess it was in Evolution, but just in case.

Yes, I tried this in evolution. Tried the same again in an older
(antergos, GNOME 3.22) live iso with evolution and with Online Accounts
in GNOME, just to be sure. Outcome:

- Even in the older version, in evolution the behaviour is the same -
there's an "error" message in the login window for a fraction of a
moment before the window turns all white. The error, though, seems not
caused by anything "local" - it rather looks like a server-sided error
message retrieved after submitting the password.

- Trying to register the account through Online Accounts, the window
turns simply white immediately after submitting the password.


I have played with server-sided stuff in the Google account, such as
allowing "less safe" applications and enabling IMAP in GMail, but I'm
unsure where the problem really is. I'll also bug the person in charge
of administrering the Google Suite subscription but I'm pretty clueless
by now... :/

Cheers,
Kristian
_______________________________________________
evolution-list mailing list
[hidden email]
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: using evolution with google suite?

Milan Crha
On Thu, 2017-04-27 at 15:36 +0200, Kristian Rink wrote:
> The error, though, seems not caused by anything "local" - it rather
> looks like a server-sided error message retrieved after submitting
> the password.

        Hi,
I see. That's better and worse at the same time.

Try to open the below URL (yes, it's that long) in a web browser, only
change the end of it, which references [hidden email], instead of your
address. Just keep the '@' escaped with '%40' there. That's what
evolution opens in that web view. You can skip that 'login_hint'
entirely, but then it would not be the same as what evolution does.

You should get the same result, hopefully without being redirected too
quickly, to get some diagnoses about the server response.

        Hope it helps,
        Milan

https://accounts.google.com/o/oauth2/auth?response_type=code&client_id=590402290962-2i0b7rqma8b9nmtfrcp7fa06g6cf7g74.apps.googleusercontent.com&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&scope=https%3A%2F%2Fmail.google.com%2F+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fcalendar+https%3A%2F%2Fwww.google.com%2Fm8%2Ffeeds%2F+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fcarddav+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Ftasks&include_granted_scopes=false&login_hint=user%40gmail.com

_______________________________________________
evolution-list mailing list
[hidden email]
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: using evolution with google suite?

Kristian Rink
Hi;

Am Donnerstag, den 27.04.2017, 16:09 +0200 schrieb Milan Crha:
>
> You should get the same result, hopefully without being redirected too
> quickly, to get some diagnoses about the server response.
>

No. Actually following this link flawlessly works: I am prompted to
grant the application access to calendar, mail, contacts, and then I see
an application key that can be copied. Rather strange... So at least
it's not a server-sided thing here. Can I somehow dig deeper into what
evolution does in that Webkit view?

Cheers,
Kristian
_______________________________________________
evolution-list mailing list
[hidden email]
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: using evolution with google suite?

Patrick O'Callaghan
In reply to this post by Kristian Rink
On Thu, 2017-04-27 at 14:41 +0200, Kristian Rink wrote:

> Hi;
>
> Am Donnerstag, den 27.04.2017, 14:30 +0200 schrieb Ralf Mardorf:
> >
> > for the moment you need to post the output of
> >
> >   pacman -Q evolution evolution-data-server
>
> Ah ok, thanks. Let's see then:
>
> evolution 3.24.1+6+gfc6d11eb4a-1
> evolution-data-server 3.24.1+5+g98589a27b-2
>
> Strange thing here is that evolution does work well with my personal
> GMail account, but I didn't set this up anew recently so I don't know
> whether it generally doesn't work or whether it's just the login/oauth2
> process that misbehaves.

Evo 2.22 works flawlessly with G-suite IMAP (on Fedora), if that's any
help.

poc
_______________________________________________
evolution-list mailing list
[hidden email]
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: using evolution with google suite?

Milan Crha
In reply to this post by Kristian Rink
On Thu, 2017-04-27 at 16:24 +0200, Kristian Rink wrote:
> Can I somehow dig deeper into what evolution does in that Webkit
> view?

        Hi,
evolution only waits for the end of the "wizard" and lefts everything
on the WebKitGTK+. Try to repeat the process in epiphany, which is a
WebKitGTK+ browser. WebKit itself provides also a MiniBrowser, as a
simple test application, but it doesn't use to be installed always, and
some distributions can even disable to build it, as it's an optional
debugging tool. I do not know whether your distro provides it or not,
thus the epiphany test might be easier to do.

By the way, did you downgrade the libsoup already?
        Bye,
        Milan
_______________________________________________
evolution-list mailing list
[hidden email]
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: using evolution with google suite?

Kristian Rink
Hi there;

Am Donnerstag, den 27.04.2017, 16:31 +0200 schrieb Milan Crha:
>
> some distributions can even disable to build it, as it's an optional
> debugging tool. I do not know whether your distro provides it or not,
> thus the epiphany test might be easier to do.
>

Strange enough, I just was about to install epiphany to give it a try,
and after powering on my laptop again, GNOME prompted me with the oauth
dialog for this account again - and this time it worked. Totally unsure
what to think of that, I tried even rebooting the device twice this
afternoon.

No real idea. It's working now so I guess this issue is "resolved", but
I have no clue what is different now...

Thanks for your help anyway, greatly appreciated! :)
Kristian
_______________________________________________
evolution-list mailing list
[hidden email]
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list
Loading...