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

--- Comment #4 from Carl Schwan <c...@carlschwan.eu> ---
(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.

Reply via email to