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

Igor Poboiko bugzilla_noreply at kde.org
Wed Feb 7 21:14:12 GMT 2024


https://bugs.kde.org/show_bug.cgi?id=480770

--- Comment #3 from Igor Poboiko <igor.poboiko at gmail.com> ---
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 the assignee for the bug.


More information about the Kdepim-bugs mailing list