[Akonadi] [Bug 480770] Regression: EWS Server might require HTTP 1.1

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

Carl Schwan  changed:

   What|Removed |Added

 Status|REPORTED|RESOLVED
 Resolution|--- |FIXED

-- 
You are receiving this mail because:
You are watching all bug changes.

[Akonadi] [Bug 480770] Regression: EWS Server might require HTTP 1.1

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

--- Comment #9 from Carl Schwan  ---
Git commit 6ffee26847277d6077596a3b7c547a8d06fa98a7 by Carl Schwan.
Committed on 16/02/2024 at 10:29.
Pushed by carlschwan into branch 'master'.

Allow to specify http1 only

M  +4-0src/kioworkers/http/http.cpp

https://invent.kde.org/frameworks/kio/-/commit/6ffee26847277d6077596a3b7c547a8d06fa98a7

-- 
You are receiving this mail because:
You are watching all bug changes.

[Akonadi] [Bug 480770] Regression: EWS Server might require HTTP 1.1

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

--- Comment #8 from Carl Schwan  ---
Git commit cca3d3b1cb5672f7a528c23a46b1ce559d0257ad by Carl Schwan.
Committed on 16/02/2024 at 10:45.
Pushed by carlschwan into branch 'release/24.02'.

ews: Use http1 for ews requests


(cherry picked from commit c7b139dd8d337407e64b8a20aa1574b2402e83d6)

M  +1-0resources/ews/ewsclient/ewspoxautodiscoverrequest.cpp
M  +1-0resources/ews/ewsclient/ewsrequest.cpp

https://invent.kde.org/pim/kdepim-runtime/-/commit/cca3d3b1cb5672f7a528c23a46b1ce559d0257ad

-- 
You are receiving this mail because:
You are watching all bug changes.

[Akonadi] [Bug 480770] Regression: EWS Server might require HTTP 1.1

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

--- Comment #7 from Carl Schwan  ---
Git commit c7b139dd8d337407e64b8a20aa1574b2402e83d6 by Carl Schwan.
Committed on 16/02/2024 at 10:30.
Pushed by carlschwan into branch 'master'.

ews: Use http1 for ews requests

M  +1-0resources/ews/ewsclient/ewspoxautodiscoverrequest.cpp
M  +1-0resources/ews/ewsclient/ewsrequest.cpp

https://invent.kde.org/pim/kdepim-runtime/-/commit/c7b139dd8d337407e64b8a20aa1574b2402e83d6

-- 
You are receiving this mail because:
You are watching all bug changes.

[Akonadi] [Bug 480770] Regression: EWS Server might require HTTP 1.1

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

Antonio Rojas  changed:

   What|Removed |Added

 CC||aro...@archlinux.org

--- Comment #6 from Antonio Rojas  ---
Thanks, this fixes the resource not working at all for me since beta2. I still
get disconnected after a couple of hours and need to relogin constantly, any
ideas? https://bugs.kde.org/show_bug.cgi?id=478033

-- 
You are receiving this mail because:
You are watching all bug changes.

[Akonadi] [Bug 480770] Regression: EWS Server might require HTTP 1.1

2024-02-07 Thread Igor Poboiko
https://bugs.kde.org/show_bug.cgi?id=480770

--- Comment #5 from Igor Poboiko  ---
Happy to help! Proposed patches now fix both issues for me.

-- 
You are receiving this mail because:
You are watching all bug changes.

[Akonadi] [Bug 480770] Regression: EWS Server might require HTTP 1.1

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

--- Comment #4 from Carl Schwan  ---
(In reply to Igor Poboiko from comment #3)
> Thanks for the quick response! I've applied both patches and tested it.
> 
> Autodiscovery still doesn't work -- but now it fails with error
> "org.kde.pim.ews.client: Failed to process EWS request: Access denied to
> [URL]".
> (line 120 of ewspoxautodiscoverrequest.cpp:
> https://invent.kde.org/pim/kdepim-runtime/-/blob/master/resources/ews/
> ewsclient/ewspoxautodiscoverrequest.cpp?ref_type=heads#L120)
> However, the job error code is 115 (which is  KIO::ERR_ACCESS_DENIED),
> instead of 401 Unauthorized, so it doesn't try authenticating with password
> (line 90 of ewsautodiscoveryjob.cpp: 
> https://invent.kde.org/pim/kdepim-runtime/-/blob/master/resources/ews/
> ewsautodiscoveryjob.cpp?ref_type=heads#L90). Adding manual check for
> ERR_ACCESS_DENIED there solved this for me, and autodiscovery works. 
> 
> However, the resource still doesn't work because all other requests also
> fail with the same "HTTP/1.1 should be used" meassage. 
> Adding the same line (set "HttpVersion" to "http1") to ewsrequest.cpp solved
> this for me as well, and resource now also works.

Thanks for the helpful input. I adopted my kdepim-runtime patch.

-- 
You are receiving this mail because:
You are watching all bug changes.

[Akonadi] [Bug 480770] Regression: EWS Server might require HTTP 1.1

2024-02-07 Thread Igor Poboiko
https://bugs.kde.org/show_bug.cgi?id=480770

--- Comment #3 from Igor Poboiko  ---
Thanks for the quick response! I've applied both patches and tested it.

Autodiscovery still doesn't work -- but now it fails with error
"org.kde.pim.ews.client: Failed to process EWS request: Access denied to
[URL]".
(line 120 of ewspoxautodiscoverrequest.cpp:
https://invent.kde.org/pim/kdepim-runtime/-/blob/master/resources/ews/ewsclient/ewspoxautodiscoverrequest.cpp?ref_type=heads#L120)
However, the job error code is 115 (which is  KIO::ERR_ACCESS_DENIED), instead
of 401 Unauthorized, so it doesn't try authenticating with password
(line 90 of ewsautodiscoveryjob.cpp: 
https://invent.kde.org/pim/kdepim-runtime/-/blob/master/resources/ews/ewsautodiscoveryjob.cpp?ref_type=heads#L90).
Adding manual check for ERR_ACCESS_DENIED there solved this for me, and
autodiscovery works. 

However, the resource still doesn't work because all other requests also fail
with the same "HTTP/1.1 should be used" meassage. 
Adding the same line (set "HttpVersion" to "http1") to ewsrequest.cpp solved
this for me as well, and resource now also works.

-- 
You are receiving this mail because:
You are watching all bug changes.

[Akonadi] [Bug 480770] Regression: EWS Server might require HTTP 1.1

2024-02-07 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=480770

--- Comment #2 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/pim/kdepim-runtime/-/merge_requests/146

-- 
You are receiving this mail because:
You are watching all bug changes.

[Akonadi] [Bug 480770] Regression: EWS Server might require HTTP 1.1

2024-02-07 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=480770

--- Comment #1 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/frameworks/kio/-/merge_requests/1546

-- 
You are receiving this mail because:
You are watching all bug changes.

[Akonadi] [Bug 480770] Regression: EWS Server might require HTTP 1.1

2024-02-03 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=480770

Bug Janitor Service  changed:

   What|Removed |Added

   Keywords||qt6

-- 
You are receiving this mail because:
You are watching all bug changes.