Auto-night mode doesn't switch back to light theme
Auto-night mode does not work as intended when set to either system default, or adaptive, or schduled by time, or scheduled by sunrise/sunset time. In both cases Telegram switch to dark mode, following…
https://t.me/proxy?server=cloud.shulyaka.org.ru&port=8443&secret=dd587c7b78fe5b8b303ba20b06c972b797
1. Connected to VPN and then enabled the proxy. The proxy works.
2. Disconnected VPN. The proxy continues to work.
3. Restarted app. The proxy does not work
4. Connected to VPN while proxy still enabled. The proxy does not work.
It looks like the issue is with IPv6.
My proxy is accessible on both IPv4 and IPv6 (at least with netcat or telnet). My home network is dual-stack, however my VPN provider is IPv4-only. So when I enable the proxy while connected to VPN, it looks up an IPv4 address and it works. However when I enable it being disconnected, it resolves the IPv6 address but fails to use it.
I have also noticed that the desktop client falls back to IPv4. The android client probably fails to fallback to IPv4.
So we probably have two different issues:
1. Can't use MTProxy over IPv6 (I will report that separately)
2. Android client fails to fall back to IPv4 if IPv6 proxy fails (the desktop client manages to do it)
For further tests you can also try to disable IPv6 through your router. I think that’s a gold standard to completely make sure.