[Akonadi] [Bug 478033] EWS accounts unusable - constantly lose authentication

2024-05-29 Thread agapp11
https://bugs.kde.org/show_bug.cgi?id=478033

--- Comment #26 from agap...@hotmail.com  ---
(In reply to Antonio Rojas from comment #23)
> (In reply to agap...@hotmail.com from comment #22)
> > I cannot login due to the following error:
> > 
> >  https://imgur.com/a/ijkCirL
> > 
> > I will add the error I get with my main hotmail account next time it shows 
> > up
> 
> You're still using the EWS resource, not IMAP

Here is the issue I get with IMAP hotmail constantly crashing. I tried
reinstalling Kmail but it keeps showing up:

https://imgur.com/a/kG1rDfu

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 478033] EWS accounts unusable - constantly lose authentication

2024-05-29 Thread agapp11
https://bugs.kde.org/show_bug.cgi?id=478033

--- Comment #25 from agap...@hotmail.com  ---
(In reply to Antonio Rojas from comment #23)
> (In reply to agap...@hotmail.com from comment #22)
> > I cannot login due to the following error:
> > 
> >  https://imgur.com/a/ijkCirL
> > 
> > I will add the error I get with my main hotmail account next time it shows 
> > up
> 
> You're still using the EWS resource, not IMAP

So for IMAP OAUTH support, it doesn't work for my organization due to the way
its set up. It gives the error "Needs Admin Approval" and IT does not want to
give due to not knowing what Kmail. They say to just switch to outlook. EWS
(where you login from external page) used to work fine, but now it doesn't.

https://imgur.com/a/xSIIgtO

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 478033] EWS accounts unusable - constantly lose authentication

2024-05-29 Thread agapp11
https://bugs.kde.org/show_bug.cgi?id=478033

--- Comment #24 from agap...@hotmail.com  ---
(In reply to Antonio Rojas from comment #23)
> (In reply to agap...@hotmail.com from comment #22)
> > I cannot login due to the following error:
> > 
> >  https://imgur.com/a/ijkCirL
> > 
> > I will add the error I get with my main hotmail account next time it shows 
> > up
> 
> You're still using the EWS resource, not IMAP

Oh. Is it possible to use EWS with IMAP? I am trying to login to my work EWS
account and am getting this error.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 478033] EWS accounts unusable - constantly lose authentication

2024-05-29 Thread Antonio Rojas
https://bugs.kde.org/show_bug.cgi?id=478033

--- Comment #23 from Antonio Rojas  ---
(In reply to agap...@hotmail.com from comment #22)
> I cannot login due to the following error:
> 
>  https://imgur.com/a/ijkCirL
> 
> I will add the error I get with my main hotmail account next time it shows up

You're still using the EWS resource, not IMAP

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 478033] EWS accounts unusable - constantly lose authentication

2024-05-29 Thread agapp11
https://bugs.kde.org/show_bug.cgi?id=478033

--- Comment #22 from agap...@hotmail.com  ---
(In reply to Antonio Rojas from comment #21)
> (In reply to agap...@hotmail.com from comment #20)
> > (In reply to Antonio Rojas from comment #11)
> > > With https://invent.kde.org/pim/kdepim-runtime/-/merge_requests/149 *only*
> > > things do indeed look better: running two hours now without 
> > > reauthenticating.
> > 
> > Kmail doesn't work at all now.
> > 
> > After some time I get my IMAP hotmail account giving an error it can't
> > authenticate the account any longer (though it works initially) and EWS is
> > just broken and can't authenticate the account (gives an "access is denied"
> > error when it did not previously).
> > 
> > Can it be fixed please? Kmail is a nice client for linux and is almost the
> > only one that has EWS working for my organization.
> 
> 24.05 comes with IMAP OAUTH support for Outlook, works great for me.

I cannot login due to the following error:

 https://imgur.com/a/ijkCirL

I will add the error I get with my main hotmail account next time it shows up

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 478033] EWS accounts unusable - constantly lose authentication

2024-05-29 Thread Antonio Rojas
https://bugs.kde.org/show_bug.cgi?id=478033

--- Comment #21 from Antonio Rojas  ---
(In reply to agap...@hotmail.com from comment #20)
> (In reply to Antonio Rojas from comment #11)
> > With https://invent.kde.org/pim/kdepim-runtime/-/merge_requests/149 *only*
> > things do indeed look better: running two hours now without 
> > reauthenticating.
> 
> Kmail doesn't work at all now.
> 
> After some time I get my IMAP hotmail account giving an error it can't
> authenticate the account any longer (though it works initially) and EWS is
> just broken and can't authenticate the account (gives an "access is denied"
> error when it did not previously).
> 
> Can it be fixed please? Kmail is a nice client for linux and is almost the
> only one that has EWS working for my organization.

24.05 comes with IMAP OAUTH support for Outlook, works great for me.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 478033] EWS accounts unusable - constantly lose authentication

2024-05-28 Thread agapp11
https://bugs.kde.org/show_bug.cgi?id=478033

--- Comment #20 from agap...@hotmail.com  ---
(In reply to Antonio Rojas from comment #11)
> With https://invent.kde.org/pim/kdepim-runtime/-/merge_requests/149 *only*
> things do indeed look better: running two hours now without reauthenticating.

Kmail doesn't work at all now.

After some time I get my IMAP hotmail account giving an error it can't
authenticate the account any longer (though it works initially) and EWS is just
broken and can't authenticate the account (gives an "access is denied" error
when it did not previously).

Can it be fixed please? Kmail is a nice client for linux and is almost the only
one that has EWS working for my organization.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 478033] EWS accounts unusable - constantly lose authentication

2024-05-03 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=478033

wheniwasatrues...@gmail.com changed:

   What|Removed |Added

 CC||wheniwasatrues...@gmail.com

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 478033] EWS accounts unusable - constantly lose authentication

2024-03-27 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=478033

--- Comment #19 from m.orl...@gmail.com ---
(In reply to Martin Tlustos from comment #18)
> I can confirm that akonadi ews resource keeps growing in memory usage,
> although it's not that big for me - only from 25mb to 87 mb in 6 hours or
> so...

I also confirm the memory leak. In my case it's much serious, I have two EWS
accounts for my organization and they reach over 1 GB after 1 hour.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 478033] EWS accounts unusable - constantly lose authentication

2024-03-27 Thread Martin Tlustos
https://bugs.kde.org/show_bug.cgi?id=478033

--- Comment #18 from Martin Tlustos  ---
I can confirm that akonadi ews resource keeps growing in memory usage, although
it's not that big for me - only from 25mb to 87 mb in 6 hours or so...

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 478033] EWS accounts unusable - constantly lose authentication

2024-03-26 Thread Paolo Pedroni
https://bugs.kde.org/show_bug.cgi?id=478033

--- Comment #17 from Paolo Pedroni  ---
Basic functionality now (24.02.1) works, but:
- it keeps spamming the system log with "org.kde.pim.ews.client: Failed to
process EWS request:" messages
- it leaks memory and after a few hours it fills RAM and swap space and then
the PC freezes until the OOM killer kicks in.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 478033] EWS accounts unusable - constantly lose authentication

2024-03-24 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=478033

m.orl...@gmail.com changed:

   What|Removed |Added

 CC||m.orl...@gmail.com

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 478033] EWS accounts unusable - constantly lose authentication

2024-03-21 Thread agapp11
https://bugs.kde.org/show_bug.cgi?id=478033

--- Comment #16 from agap...@hotmail.com  ---
(In reply to Antonio Rojas from comment #13)
> After running overnight on two machines, I confirm that
> https://invent.kde.org/pim/kdepim-runtime/-/merge_requests/149 fixes the
> authentication problems.
> 
> Mail push doesn't work though, I need to manually check for new mail. Still
> it's a big improvement, and makes it sort of usable again.

Thanks for fixing it! Now a new error shows up:

https://imgur.com/a/nBXa1Vq

`Email sending failed: Failed to get D-Bus interface of mailfilteragent` 

Not sure if its important but I thought i'd mention it.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 478033] EWS accounts unusable - constantly lose authentication

2024-03-15 Thread agapp11
https://bugs.kde.org/show_bug.cgi?id=478033

--- Comment #15 from agap...@hotmail.com  ---
(In reply to Antonio Rojas from comment #13)
> After running overnight on two machines, I confirm that
> https://invent.kde.org/pim/kdepim-runtime/-/merge_requests/149 fixes the
> authentication problems.
> 
> Mail push doesn't work though, I need to manually check for new mail. Still
> it's a big improvement, and makes it sort of usable again.

I tried adding a coredump, but it failed:

sudo DEBUGINFOD_URLS="https://debuginfod.archlinux.org/; coredumpctl gdb
akonadi_ews_res
   PID: 81739 (akonadi_ews_res)
   UID: 1000 (user)
   GID: 984 (users)
Signal: 11 (SEGV)
 Timestamp: Thu 2024-03-14 19:27:58 EDT (14h ago)
  Command Line: /usr/bin/akonadi_ews_resource --identifier
akonadi_ews_resource_1
Executable: /usr/bin/akonadi_ews_resource
 Control Group:
/user.slice/user-1000.slice/user@1000.service/app.slice/app-\x2fusr\x2fbin\x2fkalendarac-bf46d99cd787466cbfd9b076903ccf41.scope
  Unit: user@1000.service
 User Unit:
app-\x2fusr\x2fbin\x2fkalendarac-bf46d99cd787466cbfd9b076903ccf41.scope
 Slice: user-1000.slice
 Owner UID: 1000 (user)
   Boot ID: 18aad9b1c5644cd0814cdb935d9f46a3
Machine ID: afcb8c18015840e78cafef756964cd31
  Hostname: user-archbox
   Storage: none
   Message: Process 81739 (akonadi_ews_res) of user 1000 terminated
abnormally without generating a coredump.

Coredump entry has no core attached (neither internally in the journal nor
externally on disk).

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 478033] EWS accounts unusable - constantly lose authentication

2024-03-14 Thread agapp11
https://bugs.kde.org/show_bug.cgi?id=478033

--- Comment #14 from agap...@hotmail.com  ---
(In reply to Antonio Rojas from comment #13)
> After running overnight on two machines, I confirm that
> https://invent.kde.org/pim/kdepim-runtime/-/merge_requests/149 fixes the
> authentication problems.
> 
> Mail push doesn't work though, I need to manually check for new mail. Still
> it's a big improvement, and makes it sort of usable again.

With the update to Plasma 6.0.2 things have gotten worse. Now the
authentication breaks even during use of the computer (not after sleep like
before) and sends the notification "Resource is broken. Authentication failed"

https://imgur.com/a/7xXNSWU

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 478033] EWS accounts unusable - constantly lose authentication

2024-03-12 Thread Antonio Rojas
https://bugs.kde.org/show_bug.cgi?id=478033

--- Comment #13 from Antonio Rojas  ---
After running overnight on two machines, I confirm that
https://invent.kde.org/pim/kdepim-runtime/-/merge_requests/149 fixes the
authentication problems.

Mail push doesn't work though, I need to manually check for new mail. Still
it's a big improvement, and makes it sort of usable again.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 478033] EWS accounts unusable - constantly lose authentication

2024-03-11 Thread agapp11
https://bugs.kde.org/show_bug.cgi?id=478033

--- Comment #12 from agap...@hotmail.com  ---
(In reply to Antonio Rojas from comment #11)
> With https://invent.kde.org/pim/kdepim-runtime/-/merge_requests/149 *only*
> things do indeed look better: running two hours now without reauthenticating.

Authentication usually breaks after sleeping and waking up for me.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 478033] EWS accounts unusable - constantly lose authentication

2024-03-11 Thread Antonio Rojas
https://bugs.kde.org/show_bug.cgi?id=478033

--- Comment #11 from Antonio Rojas  ---
With https://invent.kde.org/pim/kdepim-runtime/-/merge_requests/149 *only*
things do indeed look better: running two hours now without reauthenticating.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 478033] EWS accounts unusable - constantly lose authentication

2024-03-11 Thread Antonio Rojas
https://bugs.kde.org/show_bug.cgi?id=478033

Antonio Rojas  changed:

   What|Removed |Added

Version|5.240.81|6.0.0

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 478033] EWS accounts unusable - constantly lose authentication

2024-03-11 Thread Paolo Pedroni
https://bugs.kde.org/show_bug.cgi?id=478033

--- Comment #10 from Paolo Pedroni  ---
(In reply to Carl Schwan from comment #8)
> So with https://invent.kde.org/pim/kdepim-runtime/-/merge_requests/148 and
> https://invent.kde.org/pim/kdepim-runtime/-/merge_requests/149 the situation
> looks quite a bit better here. Testing and code review welcome

Now authentication does not work anymore. At all. :(((

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 478033] EWS accounts unusable - constantly lose authentication

2024-03-11 Thread Antonio Rojas
https://bugs.kde.org/show_bug.cgi?id=478033

--- Comment #9 from Antonio Rojas  ---
(In reply to Carl Schwan from comment #8)
> So with https://invent.kde.org/pim/kdepim-runtime/-/merge_requests/148 and
> https://invent.kde.org/pim/kdepim-runtime/-/merge_requests/149 the situation
> looks quite a bit better here. Testing and code review welcome

With these I can't even authenticate once.

org.kde.pim.ews.client: Failed to retrieve authentication data
org.kde.pim.ews.client: Failed to retrieve authentication data
org.kde.pim.ews: Authentication failed:  Access token request failed
org.kde.pim.ews.client: Failed to process EWS request: 
org.kde.pim.ews: requestAuthFailed - going offline
org.kde.pim.ews.client: Failed to process EWS request: 
org.kde.pim.ews: requestAuthFailed - going offline
Please register the custom scheme 'urn' via
QWebEngineUrlScheme::registerScheme() before installing the custom scheme
handler.
org.kde.pim.ews.client: Starting OAuth2 authentication
org.kde.pim.ews.client: Launching browser for authentication
org.kde.pim.ews.client: PKeyAuth certificates not found
org.kde.pim.ews.client: Authentication succeeded
Please register the custom scheme 'urn' via
QWebEngineUrlScheme::registerScheme() before installing the custom scheme
handler.
org.kde.pim.ews: Authentication failed:  Access token request failed

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 478033] EWS accounts unusable - constantly lose authentication

2024-03-11 Thread Carl Schwan
https://bugs.kde.org/show_bug.cgi?id=478033

--- Comment #8 from Carl Schwan  ---
So with https://invent.kde.org/pim/kdepim-runtime/-/merge_requests/148 and
https://invent.kde.org/pim/kdepim-runtime/-/merge_requests/149 the situation
looks quite a bit better here. Testing and code review welcome

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 478033] EWS accounts unusable - constantly lose authentication

2024-03-10 Thread Nicky726
https://bugs.kde.org/show_bug.cgi?id=478033

Nicky726  changed:

   What|Removed |Added

 CC||nicky...@gmail.com

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 478033] EWS accounts unusable - constantly lose authentication

2024-03-10 Thread Antonio Rojas
https://bugs.kde.org/show_bug.cgi?id=478033

Antonio Rojas  changed:

   What|Removed |Added

 CC||martin.tlus...@gmail.com

--- Comment #7 from Antonio Rojas  ---
*** Bug 483116 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 478033] EWS accounts unusable - constantly lose authentication

2024-03-09 Thread agapp11
https://bugs.kde.org/show_bug.cgi?id=478033

--- Comment #6 from agap...@hotmail.com  ---
(In reply to Carl Schwan from comment #4)
> Ok finally managed to get the exact same error mesage too after a reboot :(
> 
> Failed to process EWS request: Access denied to
> https://outlook.office365.com/EWS/Exchange.asmx.

It seems like its not authenticating properly - ie it can't store/use the
credentials you previously used.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 478033] EWS accounts unusable - constantly lose authentication

2024-03-09 Thread Antonio Rojas
https://bugs.kde.org/show_bug.cgi?id=478033

Antonio Rojas  changed:

   What|Removed |Added

 CC||agap...@hotmail.com

--- Comment #5 from Antonio Rojas  ---
*** Bug 483004 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 478033] EWS accounts unusable - constantly lose authentication

2024-03-04 Thread Paolo Pedroni
https://bugs.kde.org/show_bug.cgi?id=478033

Paolo Pedroni  changed:

   What|Removed |Added

 CC||paolo.pedr...@iol.it

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 478033] EWS accounts unusable - constantly lose authentication

2024-02-21 Thread Carl Schwan
https://bugs.kde.org/show_bug.cgi?id=478033

--- Comment #4 from Carl Schwan  ---
Ok finally managed to get the exact same error mesage too after a reboot :(

Failed to process EWS request: Access denied to
https://outlook.office365.com/EWS/Exchange.asmx.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 478033] EWS accounts unusable - constantly lose authentication

2024-02-20 Thread Antonio Rojas
https://bugs.kde.org/show_bug.cgi?id=478033

--- Comment #3 from Antonio Rojas  ---
(In reply to Carl Schwan from comment #2)
> I can sometimes confirm this issue. Just to be sure that the issue I have is
> the same as yours, do you have in kwalletmanager no entry for akonadi-ews?

I do have one

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 478033] EWS accounts unusable - constantly lose authentication

2024-02-20 Thread Carl Schwan
https://bugs.kde.org/show_bug.cgi?id=478033

Carl Schwan  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|REPORTED|CONFIRMED

--- Comment #2 from Carl Schwan  ---
I can sometimes confirm this issue. Just to be sure that the issue I have is
the same as yours, do you have in kwalletmanager no entry for akonadi-ews?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 478033] EWS accounts unusable - constantly lose authentication

2023-12-04 Thread Antonio Rojas
https://bugs.kde.org/show_bug.cgi?id=478033

--- Comment #1 from Antonio Rojas  ---
The log is constantly being spammed (few times a second) with

org.kde.pim.ews.client: Failed to process EWS request: Access denied to
https://outlook.office365.com/EWS/Exchange.asmx

messages.

-- 
You are receiving this mail because:
You are the assignee for the bug.