Delta Chat fails to connect over a Hetzner VPN endpoint

I managed to reproduce this problem by installing Bitmask, adding Delta Chat to exceptions in “Advanced Settings” → “Exclude apps from VPN”. Then with “Always-on VPN” and “Block connections without VPN”, DC cannot connect and gets error 13 in the logs.

I suspect this is what happened in Have Delta Chat not bypass VPN on android 16 as well, DC was likely added to the exception list in Bitmask and this is why it got error 13 when “Block all connections not using VPN” is on and appeared to bypass the VPN with this setting off.