XFinity TVE can't login to some channels

Diagnostic logs: a2c5c68f-04f4-41f9-b640-91775cdf0749

I'm running Channels DVR version 2024.10.11.0334 on Ubuntu 24.04. After some previous buffoonery on my part, I changed my system to stop blocking ads (and therefore some authentication) on my Pi-hole.

I have a separate user "channels1992" setup with Xfinity without 2FA, and I've enabled auto authentication as suggested.

When I go to this page to check HISTORY (for example), it allows me to view live TV. However, scanning on the Channels DVR machine fails. To ensure no leftovers remained from my previous DNS issues, I deleted TVE and rescanned. When it tries HISTORY, this is the result (even while HISTORY is running live in a different tab as suggested elsewhere):

2024/10/12 04:58:49.619709 [TVE] action=auth mvpd=Comcast_SSO requestor=HISTORY
2024/10/12 04:58:49.621154 [TVE] action=xvfb display=:807
2024/10/12 04:58:50.511739 [TVE] action=version product=Chrome/129.0.6668.89 jsVersion=12.9.202.24 protocol=1.3 revision=@951c0b97221f8d4ba37cf97d324505c832251cf9
2024/10/12 04:58:50.512529 [TVE] action=page_ready chromeVersion=129
2024/10/12 04:58:50.513199 [TVE] action=navigate url=https://sp.auth.adobe.com/adobe-services/authenticate/saml?noflash=true&mso_id=Comcast_SSO&requestor_id=HISTORY&no_iframe=true&domain_name=adobe.com&redirect_url=https%3A%2F%2Fsp.auth.adobe.com%2Fadobe-services%2FcompletePassiveAuthentication
2024/10/12 04:58:50.516106 [TVE] action=request type=Document method=GET url=https://sp.auth.adobe.com/adobe-services/authenticate/saml
2024/10/12 04:58:50.655300 [TVE] action=request type=Document method=GET url=https://oauth.xfinity.com/oauth/authorize redirected_from=https://sp.auth.adobe.com/adobe-services/authenticate/saml
2024/10/12 04:58:50.826824 [TVE] action=request type=Document method=GET url=https://login.xfinity.com/login redirected_from=https://oauth.xfinity.com/oauth/authorize
2024/10/12 04:58:50.826862 [TVE] action=auth_domain domain=login.xfinity.com
2024/10/12 04:58:51.370559 [TVE] action=request type=Document method=GET url=https://idm.xfinity.com/myaccount/security-check redirected_from=https://login.xfinity.com/login
2024/10/12 04:58:51.370590 [TVE] action=interstitial
2024/10/12 04:58:51.624065 [TVE] action=request type=Document method=GET url=https://idm.xfinity.com/myaccount/token redirected_from=https://idm.xfinity.com/myaccount/security-check
2024/10/12 04:58:51.726476 [TVE] action=request type=Document method=GET url=https://oauth.xfinity.com/oauth/authorize redirected_from=https://idm.xfinity.com/myaccount/token
2024/10/12 04:58:51.771263 [TVE] action=request type=Document method=GET url=https://login.xfinity.com/login redirected_from=https://oauth.xfinity.com/oauth/authorize
2024/10/12 04:58:52.438077 [TVE] action=request type=Document method=GET url=https://oauth.xfinity.com/oauth/authorize redirected_from=https://login.xfinity.com/login
2024/10/12 04:58:52.492504 [TVE] action=request type=Document method=GET url=https://idm.xfinity.com/myaccount/token redirected_from=https://oauth.xfinity.com/oauth/authorize
2024/10/12 04:58:53.249923 [TVE] action=request type=Document method=GET url=https://idm.xfinity.com/myaccount/security-check redirected_from=https://idm.xfinity.com/myaccount/token
2024/10/12 04:58:53.249955 [TVE] action=interstitial
2024/10/12 04:58:53.708644 [TVE] action=request type=Document method=GET url=https://idm.xfinity.com/myaccount/security-check redirected_from=https://idm.xfinity.com/myaccount/security-check
2024/10/12 04:58:53.708681 [TVE] action=interstitial
2024/10/12 04:58:53.793159 [TVE] action=wait_for_page
2024/10/12 04:58:58.382849 [TVE] action=error_response type=Fetch error=net::ERR_ABORTED url=https://ingest.quantummetric.com/horizon/comcast ip=34.134.85.232
2024/10/12 04:58:58.476666 [TVE] action=error_response type=Fetch error=net::ERR_ABORTED url=https://ingest.quantummetric.com/horizon/comcast ip=34.134.162.16
2024/10/12 04:58:58.543898 [TVE] action=error_response type=Fetch error=net::ERR_ABORTED url=https://ingest.quantummetric.com/horizon/comcast ip=34.135.178.72
2024/10/12 04:58:59.919325 [TVE] action=page_ready
2024/10/12 04:58:59.919408 [TVE] action=wait_for_page done=true reason=page_ready
2024/10/12 04:58:59.929704 [TVE] action=click_interstitial
2024/10/12 04:58:59.935649 [TVE] action=tvejs msg="xfinityApprove fallback: submitButton"
2024/10/12 04:59:00.100382 [TVE] action=wait_for_interstitial timeout=12s
2024/10/12 04:59:00.112863 [TVE] action=request type=Document method=POST url=https://idm.xfinity.com/myaccount/security-check
2024/10/12 04:59:00.112905 [TVE] action=interstitial
2024/10/12 04:59:00.179294 [TVE] action=error_response type=Fetch error=net::ERR_ABORTED url=https://ingest.quantummetric.com/horizon/comcast ip=34.134.162.16
2024/10/12 04:59:00.247149 [TVE] action=error_response type=Fetch error=net::ERR_ABORTED url=https://ingest.quantummetric.com/horizon/comcast ip=34.135.178.72
2024/10/12 04:59:05.462152 [TVE] action=page_ready
2024/10/12 04:59:05.462232 [TVE] action=wait_for_interstitial done=true reason=page_ready
2024/10/12 04:59:05.472509 [TVE] action=click_interstitial
2024/10/12 04:59:05.476707 [TVE] action=tvejs msg="xfinityApprove not found"
2024/10/12 04:59:05.476762 [TVE] action=wait_for_interstitial timeout=12s
2024/10/12 04:59:17.477689 [TVE] action=wait_for_interstitial err=timeout
2024/10/12 04:59:17.981384 [TVE] action=fill_form u=channels1992
2024/10/12 04:59:17.981443 [TVE] action=wait_for_auth timeout=24s
2024/10/12 04:59:17.988253 [TVE] action=fill_form state=done err=&runtime.ExceptionDetails{ExceptionID:1, Text:"Uncaught (in promise)", LineNumber:0, ColumnNumber:0, ScriptID:"", URL:"", StackTrace:(*runtime.StackTrace)(nil), Exception:(*runtime.RemoteObject)(0xc000a88f30), ExecutionContextID:0, ExceptionMetaData:easyjson.RawMessage(nil)}
2024/10/12 04:59:17.988333 [TVE] action=screenshot
2024/10/12 04:59:18.121830 [TVE] action=screenshot size=33673
2024/10/12 04:59:18.122066 [TVE] action=capture_html
2024/10/12 04:59:18.145586 [TVE] action=capture_html size=303072
2024/10/12 04:59:18.146432 [TVE] action=script_error err=no login form found
2024/10/12 04:59:18.346157 [TVE] Channel scan 24/159 HISTORY failed: no login form found

After running a full scan with no ad blocking on the Ubuntu server, I can access 81 of 159 available channels. Errors range from no login form found to mtvn cAccessToken: no login form found to Cable provider authentication failed.

Frustratingly some of the channels initially failed but then worked on a manual rescan. These seemed to all be adobe auth reg code: no login form found channels.

It's not critical as I already have a good scan on my HDHomerun channels. It would be nice to get these rescanned like they used to be. Anything else I should try?

Run Support > Troubleshooting from the DVR web UI and make sure all green checkmarks.

What does the error screenshot look like?
http://127.0.0.1:8089/providers/tve/error_screenshot.png (replace 127.0.0.1:8089 with the IP address and port of your dvr server)

What happens when you link Xfinity as your provider here MVPD Picker
Does Xfinity just ask for username and password and send you to NBC, or is Xfinity "holding you hostage" and asking you to do something additional?

This is pretty much what I do when having issues TVE Troubleshooting tips

Thanks for the quick reply. I got all green checks on the Troubleshooting tab.

This is the most recent error screenshot:

Last night during the multiple troubleshooting steps, nearly all the " adobe auth reg code: no login form found" channels worked, but today this is what I am getting. I've been trying some individual channels and authenticating a few successfully, but many are remaining in an error status.

Clicking the link to the MVD picker took me to a page that showed I was being automatically logged in (because I selected that option earlier) and then to a " TV Provider Linked!" page.

Your troubleshooting tips is where I've gotten many of my attempted fixes. At one time I got as high as 90 channels authenticated, but as of now I'm sitting at 81.

Another troubleshooting step I tried was to manually use 9.9.9.9 DNS to be sure my Pi-hole/unbound setup wasn't somehow blocking the authentication even with the Channels server sitting in the "Bypass" group with no ad blocking. While the box itself had a good connection with 9.9.9.9 DNS, the DNS troubleshooter reported an error. I switched back to using my normal DNS with no Pi-hole ad blocking.

I should also add that randomly I get the following error when just trying to log in to Xfinity normally in a browser:

This site can’t be reached
oauth.xfinity.com took too long to respond.

That error will remain for hours and then vanish without any action on my part. So it's possible my authentication failures are in part due to an error on Xfinity's end.

Any other ideas?

Change your password at Xfinity, then update it on the DVR server.
Xfinity seems to have gotten much slower doing authentication.

Thank you, that seems to be helping. I changed the channels user password in Feb after my most recent TVE trouble, but apparently it needed to be changed again. Initial results are that I was able to quickly rescan one "no login form" and one "adobe auth" channel. I'll keep trying the others.

EDIT: I'm seeing improvement, but it's a mixed bag. Some are authorizing, others time out with no login found or cable provider authentication failed. I'll keep plugging away to see if I can get at least the ones I know I record from frequently.

I ran into too many issues with Xfinity auto-auth turned on, so I turned it off months ago.

I'll give it a shot. I took the troubleshooting article to mean I should have it on since I use the same login for both TV and internet. I'll go turn it off and see if anything changes.

So do I. But it works better for me when it's turned off.

Turning off auto authentication and re-entering the password before scanning again hasn't made a difference. I'm going to quit for awhile to see if Xfinity authorization starts working later. I appreciate your efforts!

Now that you turned off Xfinity auto-auth, try this again and see what happens.

Even though auto-auth is turned off, it still logged in automatically when I went to the MVPD Picker. I cleared cookies and site data, tried again, selected Xfinity, and again was automatically logged in.

Weird :man_shrugging:
It sends me to Xfinity to login.

Strange. Anyway, today I tried logging in to Xfinity as the channels user. Where it didn't do this yesterday, today it made me add an email address to the channels user for password recovery, even though the main Xfinity user has access to change that password. After I did that, I rescanned and got 150 channels! The only ones that didn't work were a handful of "not in subscription" channels.

1 Like