crackededed / Xtra

Xtra is a Twitch player and browser for Android.
GNU Affero General Public License v3.0
1.25k stars 48 forks source link

BUG: Ad blocking via HTTP Proxy doesn't seem to work anymore #516

Closed TiltedToast closed 4 months ago

TiltedToast commented 4 months ago

I noticed that the app stopped playing any streams for me today so I started to look into what the proxy (squid in this case) is actually receiving. I have to note that using the desktop website does still work perfectly fine, as you'd expect it.

Following is some of the traffic while both my PC and phone have the same stream open. Note that the PC corresponds to 213.109.200.22 and the phone is 45.130.105.55

1719398406.123  10031 45.130.105.55 TCP_TUNNEL/200 12984 CONNECT usher.ttvnw.net:443 toast HIER_DIRECT/3.164.68.67 -
1719398406.150   7202 45.130.105.55 TCP_TUNNEL/200 1229 CONNECT gql.twitch.tv:443 toast HIER_DIRECT/146.75.118.214 -
1719398406.257   6614 45.130.105.55 TCP_TUNNEL/200 7274 CONNECT usher.ttvnw.net:443 toast HIER_DIRECT/3.164.68.67 -
1719398568.396   5249 213.109.200.22 TCP_TUNNEL/200 33709 CONNECT video-weaver.hel03.hls.ttvnw.net:443 toast HIER_DIRECT/99.181.79.15 -
1719398592.535 610851 45.130.105.55 TCP_TUNNEL/200 1311 CONNECT gql.twitch.tv:443 toast HIER_DIRECT/146.75.118.214 -
1719398647.000 240386 45.130.105.55 TCP_TUNNEL/200 13186 CONNECT usher.ttvnw.net:443 toast HIER_DIRECT/3.164.68.67 -
1719398677.237 116257 213.109.200.22 TCP_TUNNEL/200 57278 CONNECT www.twitch.tv:443 toast HIER_DIRECT/146.75.118.167 -
1719398733.578 170896 213.109.200.22 TCP_TUNNEL/200 12840 CONNECT usher.ttvnw.net:443 toast HIER_DIRECT/3.164.206.81 -
1719398751.519 1240874 213.109.200.22 TCP_TUNNEL_ABORTED/200 309284 CONNECT gql.twitch.tv:443 toast HIER_DIRECT/146.75.118.214 -
1719398751.519 345558 45.130.105.55 TCP_TUNNEL_ABORTED/200 5839 CONNECT gql.twitch.tv:443 toast HIER_DIRECT/146.75.118.214 -
1719398816.406   4949 213.109.200.22 TCP_TUNNEL/200 33763 CONNECT video-weaver.hel03.hls.ttvnw.net:443 toast HIER_DIRECT/99.181.79.15 -
1719398926.052 116689 213.109.200.22 TCP_TUNNEL/200 57329 CONNECT www.twitch.tv:443 toast HIER_DIRECT/146.75.118.167 -
1719398982.095 171256 213.109.200.22 TCP_TUNNEL/200 12860 CONNECT usher.ttvnw.net:443 toast HIER_DIRECT/108.157.214.63 -
1719399044.652 235217 213.109.200.22 TCP_TUNNEL/200 131475 CONNECT gql.twitch.tv:443 toast HIER_DIRECT/146.75.118.214 -

The main thing here is that the PC keeps sending requests from video-weaver.hel03.hls.ttvnw.net:443, which as far as I'm aware, is the main request that's part of the actual ads?

Not sure if this not working is my fault, might very well be who knows. But the fact that this worked perfectly fine last night kind of leads me to believe otherwise. I do wonder if twitch changed some stuff perhaps?

crackededed commented 4 months ago

should be fixed now