https://bugs.kde.org/show_bug.cgi?id=480770
Bug ID: 480770 Summary: Regression: EWS Server might require HTTP 1.1 Classification: Frameworks and Libraries Product: Akonadi Version: 5.240.95 Platform: Gentoo Packages OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: EWS Resource Assignee: kdepim-b...@kde.org Reporter: igor.pobo...@gmail.com CC: c...@carlschwan.eu, kri...@op.pl Target Milestone: --- SUMMARY When testing 6th MegaRelease, and trying to configure Akonadi Microsoft Exchange Server (EWS) resource for my workplace, server autodiscovery fails with message "Failed to read POX response XML". Logs reveal suspicious message: > org.kde.pim.ews.client.proto: "<?xml version=\"1.0\"?><Autodiscover > xmlns=\"http://schemas.microsoft.com/exchange/autodiscover/outlook/requestschema/2006\"><Request><EMailAddress>[MAIL]</EMailAddress><AcceptableResponseSchema>http://schemas.microsoft.com/exchange/autodiscover/outlook/responseschema/2006a</AcceptableResponseSchema></Request></Autodiscover>\n" > org.kde.pim.ews.client.request: Starting POX Autodiscovery request (url: > QUrl(https://[SERVER]/autodiscover/autodiscover.xml) , email: [MAIL] > qt.network.http2: stream 3 finished with error: "Server requires that > HTTP/1.1 be used instead of HTTP/2." > org.kde.pim.ews.client.proto: data KIO::TransferJob(0x564a2890da90) "" > org.kde.pim.ews.client.proto: response dumped to > "/tmp/akonadi-ews-XIiXnid/ews_xmldump_kVvvsjS.xml" > org.kde.pim.ews.client: Failed to read POX response XML Corresponding XML file it refers to it empty. According to https://doc.qt.io/qt-6/network-changes-qt6.html, it seems like Qt 6 enabled HTTP/2 by default, which might be the cause of this regression. Older KMail 23.08 at the same time with the same server works. Moreover, it provides with the URL via autodiscovery, which can then be entered manually in the newer 24.02 version. Nevertheless the newer version cannot connect with the message "Failed to read EWS request XML" and same "Server requires that HTTP/1.1 be used instead of HTTP/2." in logs. Operating System: Gentoo Linux 2.14 KDE Plasma Version: 5.93.0 KDE Frameworks Version: 5.249.0 KDE PIM Version: 5.240.95 rc2 (24.01.95) Qt Version: 6.6.1 Graphics Platform: Wayland -- You are receiving this mail because: You are watching all bug changes.