Authentication Errors with Discovery Channels (YTTV)

HGTV stopped working. We use YouTube TV for TV Everywhere.

I rescanned the channels and all the Discovery Channels failed to authenticate.

I tried authenticating for live TV at the HGTV website using my YouTube id/pw and it worked.

Is there any way to fix?

My DVR version is 2022.06.30.0107.

This is a great guide to follow

Also look at the YTTV topic. Unfortunately not a lot of good news there lately.

A lot of good info but none of it helps. The only thing I haven't done is create a new Google account and use that for YTTV.

I have the latest prerelease and green checkmarks. Channels is running on a Synology 219+. As I said, all the Discovery channels have worked for as long as I've had YTTV (over a year). I don't understand why one day it works and the next day it doesn't. I didn't change anything on my end.

I did look at the logs and three things jump out:

2022/07/05 10:29:52.883523 [TVE] action=wait_for_auth
2022/07/05 10:29:55.373872 [TVE] action=tvejs msg="googleLoginPassword browser or app may not be secure"
2022/07/05 10:30:16.883696 [TVE] action=auth_timed_out

I do not have 2FA turned on for my YTTV Google account which might explain the warning message. I'm guessing the Channels authentication process needs to do something in response to this message because the next thing that happens is the Time Out.

Will turning on 2FA fix this problem?

2FA will make things worse.

Sounds like Google is rejecting logins from NAS devices because it thinks they are insecure

Any idea why it worked one day and not the next? Does channels re authenticate every time a stream is accessed? Or does authentication work for some period of time (e.g., 3 months) and then Discovery asks for id/pw again?

Yes the authentication works for some period of time, which depends on the channel. Any where from 24 hours to 4 weeks.

I seem to be having this issue as well, but it is affecting Fox also. I'm running on Windows 11, so I'm not sure this is only a NAS issue. I don't know if I'm getting the same auth error, but I do know those channels aren't available on my DVR. I would be glad to check with some help on where to look.

If I understand this correctly...

Only the Discovery channels are not working. Other streams using google YTTV id/pw continue to work. At some point, the streams that are working will decide it needs to reauthenticate and then I will run into the same problem and those streams will die.

As others have suggested, I will see if another Google account works. I guess worse case is changing providers.

I've been getting the same errors since Friday on a Mac Mini (no NAS, no 2FA) Everything had been working fine for about 2 months and now only on the Discovery family of channels -- Discovery, HGTV, Food Network, etc. -- are having issues. It looks like Discovery doesn't trust headless chrome for some reason.

HeadlessChrome/103.0.5060.114

DevTools listening on ws://127.0.0.1:55299/devtools/browser/d309c394-917b-4d14-a8ce-6957748b7fa8
dyld: warning, LC_RPATH @executable_path/ in /Applications/Google Chrome.app/Contents/Frameworks/Google Chrome Framework.framework/Versions/103.0.5060.114/Libraries/libGLESv2.dylib being ignored in restricted program because of @executable_path
dyld: warning, LC_RPATH @executable_path/ in /Applications/Google Chrome.app/Contents/Frameworks/Google Chrome Framework.framework/Versions/103.0.5060.114/Libraries/libEGL.dylib being ignored in restricted program because of @executable_path
dyld: warning, LC_RPATH @executable_path/ in /Applications/Google Chrome.app/Contents/Frameworks/Google Chrome Framework.framework/Versions/103.0.5060.114/Libraries/libEGL.dylib being ignored in restricted program because of @executable_path
dyld: warning, LC_RPATH @executable_path/ in /Applications/Google Chrome.app/Contents/Frameworks/Google Chrome Framework.framework/Versions/103.0.5060.114/Libraries/libGLESv2.dylib being ignored in restricted program because of @executable_path
dyld: warning, LC_RPATH @executable_path/ in /Applications/Google Chrome.app/Contents/Frameworks/Google Chrome Framework.framework/Versions/103.0.5060.114/Libraries/libGLESv2.dylib being ignored in restricted program because of @executable_path
dyld: warning, LC_RPATH @executable_path/ in /Applications/Google Chrome.app/Contents/Frameworks/Google Chrome Framework.framework/Versions/103.0.5060.114/Libraries/libGLESv2.dylib being ignored in restricted program because of @executable_path
dyld: warning, LC_RPATH @executable_path/ in /Applications/Google Chrome.app/Contents/Frameworks/Google Chrome Framework.framework/Versions/103.0.5060.114/Libraries/libGLESv2.dylib being ignored in restricted program because of @executable_path
[0705/163640.308160:ERROR:gl_utils.cc(319)] [.WebGL-0x1100033ce00]GL Driver Message (OpenGL, Performance, GL_CLOSE_PATH_NV, High): GPU stall due to ReadPixels
[0705/163640.348907:ERROR:gl_utils.cc(319)] [.WebGL-0x1100033ce00]GL Driver Message (OpenGL, Performance, GL_CLOSE_PATH_NV, High): GPU stall due to ReadPixels
[0705/163640.436347:ERROR:gl_utils.cc(319)] [.WebGL-0x1100033ce00]GL Driver Message (OpenGL, Performance, GL_CLOSE_PATH_NV, High): GPU stall due to ReadPixels
[0705/163640.455356:ERROR:gl_utils.cc(319)] [.WebGL-0x1100033ce00]GL Driver Message (OpenGL, Performance, GL_CLOSE_PATH_NV, High): GPU stall due to ReadPixels (this message will no longer repeat)
[0705/163641.145438:INFO:CONSOLE(366)] "autoStart is true", source: https://auth.sciencechannel.com/vendors~main.5e865fc066ac6a5bc8a7.bundle.js (366)
[0705/163648.290115:INFO:CONSOLE(94)] "tvejs scienceSelect: path=/login-affiliates", source: tveinterhelper.js (94)
[0705/163650.044166:INFO:CONSOLE(1)] "redirecting to "https://api.auth.adobe.com/api/v1/authenticate?reg_code=NJM6GYV&domain_name=discovery.com&mso_id=YouTubeTV&noflash=true&requestor_id=discovery&redirect_url=https%3A%2F%2Fus1-prod.disco-api.com%2Fv1%2Fgauth%2Fcallback%2F9da4ba7f-5364-4a3c-a93b-112a99f9c479"", source: https://auth.sciencechannel.com/main.6067033b75ffdb51b0cd.bundle.js (1)
2022-07-05 16:36:51.933 Google Chrome[95143:3444743] Exception NSInvalidArgumentException thrown while decoding IOBluetoothSDPServiceRecord
2022-07-05 16:36:51.936 Google Chrome[95143:3444743] Exception NSInvalidArgumentException thrown while decoding IOBluetoothSDPServiceRecord
[0705/163652.508542:ERROR:web_contents_delegate.cc(232)] WebContentsDelegate::CheckMediaAccessPermission: Not supported.
[0705/163652.508575:ERROR:web_contents_delegate.cc(232)] WebContentsDelegate::CheckMediaAccessPermission: Not supported.
[0705/163657.284884:INFO:CONSOLE(225)] "tvejs googleLogin", source: tveloginhelper.js (225)
[0705/163657.763156:ERROR:web_contents_delegate.cc(232)] WebContentsDelegate::CheckMediaAccessPermission: Not supported.
[0705/163657.763201:ERROR:web_contents_delegate.cc(232)] WebContentsDelegate::CheckMediaAccessPermission: Not supported.
[0705/163659.836340:INFO:CONSOLE(174)] "tvejs googleLoginPassword browser or app may not be secure", source: tveloginhelper.js (174)

See Provider - YouTube TV - #778