younesaassila / ttv-lol-pro

TTV LOL PRO removes most livestream ads from Twitch. This is free, don't expect it to be perfect.
GNU General Public License v3.0
1.43k stars 29 forks source link

[v2 Beta 7] Impossible to sign-in on Twitch, website broken (Related to Kaspersky?) #149

Closed Makezu90 closed 1 year ago

Makezu90 commented 1 year ago

I noticed ttv lol pro not work any other browsers than firefox right now. I wanted try beta on firefox how well its work and also i noticed it blocked log in when i tried log in twitch (fresh installI). Needed disable extension firstly and then log in worked. it said browser currently not supported.

younesaassila commented 1 year ago

Can't reproduce. Please copy and paste debug info (found in extension popup)

Makezu90 commented 1 year ago

TTV LOL PRO v2.0.0.7

however looks like it one time thing because when i log out and log in no problem. Then i decide to do fresh install then it happened again.

//edit. probably i forgot last time update page when enable extension again so yeah this blocks log in everytime when log out because now i tried that and it block. this is only one extension what im using.

NickelWW commented 1 year ago

I'm having the same issue. (I think) when trying to log into twitch, this happens: image

I'm using Firefox developer edition, so that the extension can be permanently installed.

debug information: TTV LOL PRO v2.0.0.7

thinkpad4 commented 1 year ago

Question, can you disable the extension, login, then enable it again and it's fine?

Makezu90 commented 1 year ago

also want add so ttv lol pro Beta 7 blocks everything, nothing loads when its enabled so i guess beta works only in US example and not my region (Europe/Finland). Right? On Opera GX i used ttv lol pro normally when its worked.

video: https://streamable.com/kldy8a

NickelWW commented 1 year ago

Question, can you disable the extension, login, then enable it again and it's fine?

When it DOES load (when I use the temp method on normal firefox), streams just never load. (I think OP is having the same issue)

younesaassila commented 1 year ago

Question, can you disable the extension, login, then enable it again and it's fine?

When it DOES load (when I use the temp method on normal firefox), streams just never load. (I think OP is having the same issue)

Could you please load the extension temporarily and send a screenshot of your browser's console (F12) when a stream loads indefinitely?

Twitch makes me mad, it works perfectly for some users and for others it completely breaks.


Also for anyone encountering a similar problem, please don't use Firefox Nightly. We're aware the script injection doesn't work there which breaks everything. Sorry!

younesaassila commented 1 year ago

also want add so ttv lol pro Beta 7 blocks everything, nothing loads when its enabled so i guess beta works only in US example and not my region (Europe/Finland). Right? On Opera GX i used ttv lol pro normally when its worked.

video: https://streamable.com/kldy8a

Hey thanks for sharing a video! Could you try to clear cache & cookies after enabling the extension and see if that resolves the problem? If not, please open the browser console (F12) and take a screenshot of it (when the page is broken). That way I can see if there's an error caused by the extension

Makezu90 commented 1 year ago

also want add so ttv lol pro Beta 7 blocks everything, nothing loads when its enabled so i guess beta works only in US example and not my region (Europe/Finland). Right? On Opera GX i used ttv lol pro normally when its worked. video: https://streamable.com/kldy8a

Hey thanks for sharing a video! Could you try to clear cache & cookies after enabling the extension and see if that resolves the problem? If not, please open the browser console (F12 and take a screenshot of it (when the page is broken). That way I can see if there's an error caused by the extension

firefox_MlehL7cdna

not sure if you meant this and say if you want better image,. but i think what can cause that is Kaspersky antivirus but i have enabled it normally and no any issues with opera gx and ttv lol pro is enabled also. Also it is enabled fully without any extension installed on firefox and twitch works normally. could kaspersky somehow block something in ttv lol pro folder 🤔

yeah i think kaspersky block something.. not sure why.. it very interesting. i disabled manually all what that app can check - not helped same issue. when i fully closed kaspersky - twitch works normally with ttv lol pro and that only happens on firefox.. very weird.

younesaassila commented 1 year ago

Hmm I see. Alright see how in the console there's a "Network" tab up there? Select it. Then in the text box to filter requests, put "gql". Then refresh the page.

GQL requests that fail will appear in red. Click on them (a section will appear near bottom with "Response" tab, click it). Take a screenshot (or screen recorder if many fails)

Makezu90 commented 1 year ago

firefox_0xfDKJmaWM

well.. im am 90% sure what can cause that, its not extension problem or somehow little can be + kaspersky.

Firefox:

Kaspersky setting: Inject script into web traffic to interact with web pages is enabled. Then open browser - add extension.. go to twitch site.. nothing loads. Going to kaspersky setting turn off it - site works normally with ttv lol pro also i can turn off it all works normally. However when i open browser again - need to add this extension and going to twitch site - nothing loads.

Opera GX:

Twitch site works normally with that setting on or off and i did same thing what i did with firefox so uninstall ttv lol pro extension and then when i open browser again going to add it and going to twitch site no any issues.

So it must be that setting what can cause that so yeah solution is that keep turn off but i do not understand why on opera there is no any issues with that setting but with firefox/ttv lol pro beta 7 is. So it can block something (however kaspersky reports not say anything is basically blocked). Only what i would want test newest beta on opera if its this beta version issue but sadly can't :D

im very sure you cant do nothing to that and its kaspersky issue. Very weird.

younesaassila commented 1 year ago

Interesting thanks! Would you mind clicking on one of these requests, and in the little section at the bottom that appears when you click a request to select the "Response" tab and screenshot what it says? Just for one of the 400 requests

Makezu90 commented 1 year ago

Interesting thanks! Would you mind clicking on one of these requests, and in the little section at the bottom that appears when you click a request to select the "Response" tab and screenshot what it says? Just for one of the 400 requests firefox_6LJIBtMxIn

younesaassila commented 1 year ago

And you confirm that Kaspersky option enabled and TTV LOL PRO disabled Twitch works normally?

Makezu90 commented 1 year ago

yes. this video show (all things what i said already, but clearly shows what is issue what can cause that). sorry i tried change kaspersky language but did not find any setting so thats why its finnish but setting is that: Inject script into web traffic to interact with web pages (also i have no any idea what it does) but most likely i can keep it turn off safely. also sorry if i showed too many times same things but wanted showed it clearly :D video: https://streamable.com/5sk6t0

younesaassila commented 1 year ago

Thanks for the video! Kaspersky is definitely doing some weird stuff. I'll try to see if I can replicate on my side

juliocoliveira commented 1 year ago

Same for me: image TTV LOL PRO v2.0.0.7

juliocoliveira commented 1 year ago

With the Kaspersky Script Injection disabled the page loads normally, but it shows "Not Proxied": image It flashes from being proxied and not proxied several times then stays at "Not Proxied"

juliocoliveira commented 1 year ago

The option that is conflicting its this one: image It is on Security Tab -> First Gear Icon-> Scroll to the Bottom -> Network Settings -> Inject script into web traffic to interact with web pages

younesaassila commented 1 year ago

Thanks @juliocoliveira for confirming this bug is related to Kaspersky's script injection

younesaassila commented 1 year ago

@juliocoliveira Are you on TTV LOL's Discord server so I can add you as friend? I'd like to try a potential fix by sending you a small build to test

sn-o-w commented 1 year ago

@younesaassila It wouldn't be surprising if Twitch restricted access to their website based on browser extensions. I remember having trouble logging into my Twitch account a few months ago and seeing the identical "integrity failed" error, and the reason for that was that I had enabled Ruffle (a Flash Player emulator written in Rust). I reported the problem to Twitch devs, which got fixed after several days.

younesaassila commented 1 year ago

@younesaassila It wouldn't be surprising if Twitch restricted access to their website based on browser extensions. I remember having trouble logging into my Twitch account a few months ago and seeing the identical "integrity failed" error, and the reason for that was that I had enabled Ruffle (a Flash Player emulator written in Rust). I reported the problem to Twitch devs, which got fixed after several days.

Yeah I don't know… Kaspersky removes a bunch of non-standard headers that Twitch uses when used with TTV LOL PRO it seems. Web dev is a mess…

juliocoliveira commented 1 year ago

Beta 8 seems to have it fixed, It is working fine, but still shows "Not Proxied" image

younesaassila commented 1 year ago

@juliocoliveira The "Not proxied" message is expected since requests are being optimized.

@Makezu90 Can you confirm that beta 8 fixes the bug for you too?

Makezu90 commented 1 year ago

@juliocoliveira The "Not proxied" message is expected since requests are being optimized.

@Makezu90 Can you confirm that beta 8 fixes the bug for you too?

yes i can confirm, beta 8 fixed that bug 👍

younesaassila commented 1 year ago

Awesome!