TLS Version parity Windows vs. Linux (vs. Android)

Tldr: The Windows build of Anki doesn’t support TLSv1.3.

I run my own sync server behind an Apache2 proxy for TLS termination, and I noticed while sharing that it wouldn’t work only on Windows devices.

After a couple of hours of searching and finally capturing the requests via Wireshark, I noticed that the TLS-handshake failed because TLSv1.2 wasn’t enabled on the server (only TLSv1.3). This wasn’t an issue on Linux and Android.

Enabling TLSv1.2 made it work for the Windows side as well.

IMO the Windows version of Anki should also support TLSv1.3 connections, restoring parity between the different platform-specific builds.

Thanks for looking at this report!

As far as I know, Windows native TSL support is used in Anki, and apparently 1.3 is only officially supported starting from Windows 11: Support TLS 1.3? · Issue #140 · sfackler/rust-native-tls · GitHub

1 Like

I should have specified: this was on Windows 11 and tests via a browser and openssh both connect with TLSv1.3.

Just wanted to chip in: this bug is still present in Anki 25.09.2 on Windows 11 24H2. My server worked on Linux/Android, but not Windows, until I re-enabled TLSv1.2. The error message was also quite confusing: “Error details: ⁨error sending request for url ()⁩“