Evolution-ews is not working

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Evolution-ews is not working

Антон Козловский
Hi,
I want to use Evolution to manage my work emails that is configured with Exchange.
So, here is the steps I am doing:
1. Install evolution (ver. 3.20.5) and evolution-ews.
2. Restarted the system.
3. Started evolution as a non-privileged user. Added exchange account.
4. Reboot
5. Run as a non-privileged user.

The application just asking me to provide a password.
Recently I was able to configure the evolution, but I have to run it as root.
Now, even if I'll run Evolution with sudo, the result will be the same.

I was tried many times to configure it and the result always different.
Sometimes it is working (but only under root) sometimes not. But when Evolution appears to work there is a problem that it just hangs while updating the folders.

OS Ubuntu 16.04.
 

_______________________________________________
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
|

Re: Evolution-ews is not working

Milan Crha
On Mon, 2017-02-20 at 21:00 +0300, Антон Козловский wrote:
> The application just asking me to provide a password.

        Hi,
I would try to debug what the evolution-source-registry does (it can be
one of the processes asking for the password), which you can do like
this from a terminal:

  $ EWS_DEBUG=2 /usr/libexec/evolution-source-registry

After that stop the evolution-calendar-factory, thus it is restarted
and talks to the manually run source registry. Similarly with other
evolution processes (ps ax | grep evolution). Simply stopping them is
enough, they will be started on demand.

Run evolution with the same debugging option from another terminal:

   $ EWS_DEBUG=2 evolution

See what there is.

I would also verify that you use appropriate authentication method, as
some servers can be configured to only support NTLM, while others can
prefer Basic or even other authentication method.

Talking about NTLM, unless you use it for anything else, try to rename
/usr/bin/ntlm_auth to some other file name, thus libsoup could not find
it. There was an issue with Camel (coming from evolution-data-server),
which could break connection to that process, though the issue itself
exhibited slightly differently.

Anyway, the log may show you some detailed information about the issue,
I hope (if provided by the server in the response). Also, run evolution
as a regular user, it's better for various reasons (and works here and
on many other machines/for other users).
        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
|

Re: Evolution-ews is not working

Patrick O'Callaghan
In reply to this post by Антон Козловский
On Mon, 2017-02-20 at 21:00 +0300, Антон Козловский wrote:
> Hi,
> I want to use Evolution to manage my work emails that is configured with
> Exchange.
> So, here is the steps I am doing:
> 1. Install evolution (ver. 3.20.5) and evolution-ews.
> 2. Restarted the system.
> 3. Started evolution as a non-privileged user. Added exchange account.
> 4. Reboot
> 5. Run as a non-privileged user.

Why did you restart and reboot? This is pointless.

> The application just asking me to provide a password.

An account password or a keyring password (for your local Gnome
keyring)?

> Recently I was able to configure the evolution, but I have to run it as
> root.

You definitely do *not* want to do this. It should never be necessary
under any circumstance.

> Now, even if I'll run Evolution with sudo, the result will be the same.
>
> I was tried many times to configure it and the result always different.
> Sometimes it is working (but only under root) sometimes not.

Sounds like a problem with gnome-keyring but without more information
it's hard to tell.

I suggest you create a new local user and try to set up Evolution while
logged in as that user. That will at least help to narrow down the
problem.

> But when
> Evolution appears to work there is a problem that it just hangs while
> updating the folders.

That sounds like a different problem.

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
|

Re: Evolution-ews is not working

Pete Biggs
In reply to this post by Антон Козловский

>
> The application just asking me to provide a password.
> Recently I was able to configure the evolution, but I have to run it as root.

You should never have to run Evo as root, nor should you ever, ever do
so.  If you need to run as root to do something, then it's a
permissions problem.  What I suspect is that you have run it as root
and that has created some files with the wrong owner and now it can't
function properly as the user.

> Now, even if I'll run Evolution with sudo, the result will be the same.

As Patrick said, create a new Linux user and configure the account from
that - login to it properly, don't su or sudo or whatever. That will
gibe you confirmation that Evolution is working properly. Then in your
real account you will need to scrub out all the configuration and files
that Evolution has created and start again.

>
> I was tried many times to configure it and the result always different.
> Sometimes it is working (but only under root) sometimes not. But when
> Evolution appears to work there is a problem that it just hangs while
> updating the folders.
>
You need to run Evolution from the command line to see any errors that
are being produced - if that doesn't say anything constructive, you
need to run with debugging enabled to see where the problem is.

P.
_______________________________________________
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
|

Re: Evolution-ews is not working

Антон Козловский
Hi all,
Thanks for the support.
First of all, I want to clarify why I used root to run the evolution and rebooted after the installation. There is a but in the launchpad that it describing this problem (https://bugs.launchpad.net/ubuntu/+source/evolution-ews/+bug/1061195). If you'll review the comments bellow the bug description you will find out that under root it supposed to be working. Also, there is a reference to the big in Gnome Bugzilla (https://bugzilla.gnome.org/show_bug.cgi?id=746900), in which one guy described why evolution and all evolution processes should be restarted.

Today I reinstalled Evilution and configured the Exchange account one more time. And it works! I think that there was a problem with the settings I provided.
I'll wait for a while to let Evolution to synchronize all the emails.

Again, thank you, guys.

2017-02-20 22:22 GMT+03:00 Pete Biggs <[hidden email]>:

>
> The application just asking me to provide a password.
> Recently I was able to configure the evolution, but I have to run it as root.

You should never have to run Evo as root, nor should you ever, ever do
so.  If you need to run as root to do something, then it's a
permissions problem.  What I suspect is that you have run it as root
and that has created some files with the wrong owner and now it can't
function properly as the user.

> Now, even if I'll run Evolution with sudo, the result will be the same.

As Patrick said, create a new Linux user and configure the account from
that - login to it properly, don't su or sudo or whatever. That will
gibe you confirmation that Evolution is working properly. Then in your
real account you will need to scrub out all the configuration and files
that Evolution has created and start again.

>
> I was tried many times to configure it and the result always different.
> Sometimes it is working (but only under root) sometimes not. But when
> Evolution appears to work there is a problem that it just hangs while
> updating the folders.
>
You need to run Evolution from the command line to see any errors that
are being produced - if that doesn't say anything constructive, you
need to run with debugging enabled to see where the problem is.

P.
_______________________________________________
evolution-list mailing list
[hidden email]
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


_______________________________________________
evolution-list mailing list
[hidden email]
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list