Xfinity TVE failing to auth

Started with a channel with expired token not reauthing.
Any channels with expired tokens failed to reauth.
Remove and re-add Xfinity TVE fails.

Tried everything in the book here

plus using a new secondary view only account.

Logs have been submitted as 763255b0-ed3f-46c5-ba74-761c98ebd518

Negkected to say where in the logs the problem started. It was this recordingg on NatGeo.

2022/08/23 17:58:00.001577 [DVR] Starting job 1661302680-70 Primal Survivor on ch=[6070]
2022/08/23 17:58:00.271787 [TVE] action=auth mvpd=Comcast_SSO requestor=dtci
1 Like

I started having the same problem last night. I suspect they might have changed their login flow (I think it used to be Login + Password on the same page) and now the server doesn't know how to deal with it.

That's just a guess though, hoping they get it working again.

Strange thing is that I have another Xfinity TVE Channels server on my older NAS and it's not having the issue (yet). In fact it reauthed Magnolia channel earlier today due to expired token. And I just made it reauth another channel due to expired token and it worked.

Both are running from a Synology package and are at the same version.

And to add to the stangeness, the channel I just played that had to reauth is showing an error, even though it worked (HISTORY) and plays live,

Failed to start stream for ch6044: TVE: Cable provider authentication failed
2022/08/24 17:33:45.623222 [TVE] action=auth mvpd=Comcast_SSO requestor=HISTORY
2022/08/24 17:33:47.115766 [TVE] action=error_response type=Other error=net::ERR_UNKNOWN_URL_SCHEME url= 
2022/08/24 17:33:47.119580 [TVE] action=version product=Chrome/89.0.4389.114 jsVersion=8.9.255.24 protocol=1.3 revision=@1ea76e193b4fadb723bfea2a19a66c93a1bc0ca6
2022/08/24 17:33:47.190369 [TVE] action=mock
2022/08/24 17:33:47.204796 [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
2022/08/24 17:33:47.207592 [TVE] action=request type=Document method=GET url=https://sp.auth.adobe.com/adobe-services/authenticate/saml
2022/08/24 17:33:47.478795 [TVE] action=request type=Document method=GET url=https://oauth.xfinity.com/oauth/authorize
2022/08/24 17:33:47.846552 [TVE] action=request type=Document method=GET url=https://login.xfinity.com/login
2022/08/24 17:33:47.846613 [TVE] action=auth_domain domain=login.xfinity.com
2022/08/24 17:33:48.147012 [TVE] action=wait_for_page
2022/08/24 17:33:56.606367 [TVE] action=page_ready
2022/08/24 17:33:56.606534 [TVE] action=wait_for_page done=true reason=page_ready
2022/08/24 17:33:57.225304 [TVE] action=fill_form u=USERNAME
2022/08/24 17:33:57.241569 [TVE] action=tvejs msg="xfinityLogin: wait"
2022/08/24 17:33:57.283610 [TVE] action=retry_form
2022/08/24 17:33:58.025234 [TVE] action=wait_for_auth
2022/08/24 17:33:58.080831 [TVE] action=request type=Document method=POST url=https://login.xfinity.com/login
2022/08/24 17:34:01.391425 [HLS] Couldn't generate stream playlist for ch6044-dANY-ip192.168.1.8: Timeout waiting for session to start after 8s
2022/08/24 17:34:01.391535 [HLS] Stopping transcoder session ch6044-dANY-ip192.168.1.8
2022/08/24 17:34:02.323193 [TVE] action=auth mvpd=Comcast_SSO requestor=HISTORY
2022/08/24 17:34:02.676212 [TVE] action=error_response type=Other error=net::ERR_UNKNOWN_URL_SCHEME url= 
2022/08/24 17:34:02.680822 [TVE] action=version product=Chrome/89.0.4389.114 jsVersion=8.9.255.24 protocol=1.3 revision=@1ea76e193b4fadb723bfea2a19a66c93a1bc0ca6
2022/08/24 17:34:02.682295 [TVE] action=mock
2022/08/24 17:34:02.697749 [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
2022/08/24 17:34:02.700355 [TVE] action=request type=Document method=GET url=https://sp.auth.adobe.com/adobe-services/authenticate/saml
2022/08/24 17:34:02.925293 [TVE] action=request type=Document method=GET url=https://oauth.xfinity.com/oauth/authorize
2022/08/24 17:34:03.275237 [TVE] action=request type=Document method=GET url=https://login.xfinity.com/login
2022/08/24 17:34:03.275328 [TVE] action=auth_domain domain=login.xfinity.com
2022/08/24 17:34:03.611732 [TVE] action=wait_for_page
2022/08/24 17:34:05.647304 [TVE] action=page_ready
2022/08/24 17:34:05.647387 [TVE] action=retry_form step=auth_form count=1
2022/08/24 17:34:06.274402 [TVE] action=fill_form u=USERNAME
2022/08/24 17:34:07.123426 [TVE] action=wait_for_auth
2022/08/24 17:34:07.169977 [TVE] action=request type=Document method=POST url=https://login.xfinity.com/login
2022/08/24 17:34:08.090625 [TVE] action=request type=Document method=GET url=https://oauth.xfinity.com/oauth/authorize
2022/08/24 17:34:08.411611 [TVE] action=request type=Document method=GET url=https://sp.auth.adobe.com/adobe-services/oauth2
2022/08/24 17:34:09.600035 [TVE] action=request type=Document method=GET url=https://sp.auth.adobe.com/adobe-services/completePassiveAuthentication
2022/08/24 17:34:09.600091 [TVE] action=authed
2022/08/24 17:34:09.605695 [TVE] action=cookies num_domains=2 num_cookies=19
2022/08/24 17:34:09.613717 [TVE] action=error_response type=Document error=net::ERR_ABORTED url=https://sp.auth.adobe.com/adobe-services/completePassiveAuthentication 
2022/08/24 17:34:12.071029 [TVE] stream timestamps: history: start_at=2022-08-24T17:33:04-07:00 current_at=2022-08-24T17:33:46-07:00 end_at=2022-08-24T17:33:58-07:00
2022/08/24 17:34:12.071137 [TNR] Opened connection to TVE-Comcast_SSO for ch6044 HISTORY
2022/08/24 17:34:12.072526 [HLS] Starting live stream for channel 6044 from 192.168.1.8 (bitrate=4143)
2022/08/24 17:34:12.074489 [TNR] Closed connection to TVE-Comcast_SSO for ch6044 HISTORY
2022/08/24 17:34:18.244360 [HLS] Couldn't generate stream playlist for ch6044-dANY-ip192.168.1.8: Timeout waiting for session to start after 8s
2022/08/24 17:34:18.244470 [HLS] Stopping transcoder session ch6044-dANY-ip192.168.1.8
2022/08/24 17:34:19.372173 [TVE] stream timestamps: history: start_at=2022-08-24T17:33:16-07:00 current_at=2022-08-24T17:33:58-07:00 end_at=2022-08-24T17:34:10-07:00
2022/08/24 17:34:19.372257 [TNR] Opened connection to TVE-Comcast_SSO for ch6044 HISTORY
2022/08/24 17:34:19.373649 [HLS] Starting live stream for channel 6044 from 192.168.1.8 (bitrate=4143)
2022/08/24 17:34:20.051484 [HLS] ffmpeg: ch6044-dANY-ip192.168.1.8-remux:  [hls @ 0x7ffd780] Timestamps are unset in a packet for stream 1. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
2022/08/24 17:34:20.100139 [TVE] action=page_ready
2022/08/24 17:34:20.100542 [TVE] action=wait_for_page done=true reason=page_ready
2022/08/24 17:34:20.298384 [HLS] Probed live stream in 924.404537ms: h264 1920x1080 progressive 3899834bps
2022/08/24 17:34:20.345158 [HLS] Session ch6044-dANY-ip192.168.1.8 started in 1.080211665s
2022/08/24 17:34:20.352072 [HLS] Session ch6044-dANY-ip192.168.1.8 started in 1.08712921s
2022/08/24 17:34:21.327327 [TVE] action=fill_form u=USERNAME
2022/08/24 17:34:21.332914 [TVE] action=tvejs msg="xfinityLogin: wait"
2022/08/24 17:34:21.332988 [TVE] action=retry_form
2022/08/24 17:34:22.182064 [TVE] action=wait_for_auth
2022/08/24 17:34:22.235049 [TVE] action=request type=Document method=POST url=https://login.xfinity.com/login
2022/08/24 17:34:22.647604 [TVE] action=error_response type=Image error=net::ERR_ABORTED url=https://www.google.com/pagead/1p-user-list/1023869955/ 
2022/08/24 17:34:25.214164 [HLS] Stopping transcoder session ch6044-dANY-ip192.168.1.8 (out: 0s, finished: false)
2022/08/24 17:34:25.281769 [TNR] Closed connection to TVE-Comcast_SSO for ch6044 HISTORY
2022/08/24 17:34:25.285350 [SNR] Buffer statistics for ch6044 HISTORY: buf=0% drop=0%
2022/08/24 17:34:30.107325 [TVE] action=page_ready
2022/08/24 17:34:30.107405 [TVE] action=retry_form step=auth_form count=1
2022/08/24 17:34:30.891344 [TVE] action=fill_form u=USERNAME
2022/08/24 17:34:30.895076 [TVE] action=tvejs msg="xfinityLogin: wait"
2022/08/24 17:34:30.895151 [TVE] action=retry_form
2022/08/24 17:34:31.693398 [TVE] action=wait_for_auth
2022/08/24 17:34:31.740577 [TVE] action=request type=Document method=POST url=https://login.xfinity.com/login
2022/08/24 17:34:39.439320 [TVE] action=page_ready
2022/08/24 17:34:39.439409 [TVE] action=retry_form step=auth_form count=2
2022/08/24 17:34:40.287331 [TVE] action=fill_form u=USERNAME
2022/08/24 17:34:40.291039 [TVE] action=tvejs msg="xfinityLogin: wait"
2022/08/24 17:34:40.291102 [TVE] action=retry_form
2022/08/24 17:34:41.163815 [TVE] action=wait_for_auth
2022/08/24 17:34:41.214462 [TVE] action=request type=Document method=POST url=https://login.xfinity.com/login
2022/08/24 17:34:48.846320 [TVE] action=page_ready
2022/08/24 17:34:48.846405 [TVE] action=retry_form step=auth_form count=3
2022/08/24 17:34:50.002316 [TVE] action=fill_form u=USERNAME
2022/08/24 17:34:50.017556 [TVE] action=tvejs msg="xfinityLogin: wait"
2022/08/24 17:34:50.061675 [TVE] action=retry_form
2022/08/24 17:34:50.843439 [TVE] action=wait_for_auth
2022/08/24 17:34:50.889091 [TVE] action=request type=Document method=POST url=https://login.xfinity.com/login
2022/08/24 17:34:58.378319 [TVE] action=page_ready
2022/08/24 17:34:58.378398 [TVE] action=retry_form_failed
2022/08/24 17:34:58.378427 [TVE] action=screenshot
2022/08/24 17:34:58.707376 [TVE] action=screenshot size=35564
2022/08/24 17:34:58.730911 [TVE] action=capture_html
2022/08/24 17:34:58.751719 [TVE] action=capture_html size=115191
2022/08/24 17:34:58.971546 [ERR] Failed to start stream for ch6044: TVE: Cable provider authentication failed
1 Like

I got the following error on a recording this evening. I was able to stream it directly via the guide. I did run through re-scanning the discovery channels.

Failed to start stream on channel 6100 via TVE-Comcast_SSO: TVE: authn: 401 : Data not found

Was the recording interrupted, or it just didn't record?

Have you tried updating chrome/chromium?

Or even downgrade to the other nas chrome version

The Synology package version runs 89.0.4389.114

2022/08/24 16:21:27.264525 registry.ping url=https://registry-1.docker.io/v2/
2022/08/24 16:21:28.432721 registry.manifest.get url=https://registry-1.docker.io/v2/chromedp/headless-shell/manifests/89.0.4389.114 repository=chromedp/headless-shell reference=89.0.4389.114
2022/08/24 16:21:30.100128 registry.blob.download url=https://registry-1.docker.io/v2/chromedp/headless-shell/blobs/sha256:1633fec4c8941cfbdde74459550ed95d255878d91ee08fb5894627cdf046fca0 repository=chromedp/headless-shell digest=sha256:1633fec4c8941cfbdde74459550ed95d255878d91ee08fb5894627cdf046fca0
2022/08/24 16:21:32.507157 registry.blob.download url=https://registry-1.docker.io/v2/chromedp/headless-shell/blobs/sha256:f04fd593031a9b736187fbfac2f8e72fbe68bc9d65ca2eaeedf9f618e255d658 repository=chromedp/headless-shell digest=sha256:f04fd593031a9b736187fbfac2f8e72fbe68bc9d65ca2eaeedf9f618e255d658
2022/08/24 16:21:33.391488 registry.blob.download url=https://registry-1.docker.io/v2/chromedp/headless-shell/blobs/sha256:71120124a9d579b544ff09506c59a81f5548dd2f19b278622307af04ef29e189 repository=chromedp/headless-shell digest=sha256:71120124a9d579b544ff09506c59a81f5548dd2f19b278622307af04ef29e189
2022/08/24 16:21:37.086602 registry.blob.download url=https://registry-1.docker.io/v2/chromedp/headless-shell/blobs/sha256:5af79d440e20791028323fc0d80605674d6442a23dc49909a362e9f94b22cae4 repository=chromedp/headless-shell digest=sha256:5af79d440e20791028323fc0d80605674d6442a23dc49909a362e9f94b22cae4
2022/08/24 16:21:37.835080 [TVE] action=version product=Chrome/89.0.4389.114 jsVersion=8.9.255.24 protocol=1.3 revision=@1ea76e193b4fadb723bfea2a19a66c93a1bc0ca6

So you can’t pull betas then with synology?

Beta of what? Can't tell from your screenshot.
I'm running Channels DVR server

The synology package installer just pulls the latest released version and you have to update to pre-release from the DVR web UI like all other OS's.
The headless chrome is downloaded by the DVR server on a Synology, it's not like other OS's where it uses your version of headless chrome you have installed.

Got ya

Curious if you use Xfinity TVE and can duplicate what I see with the errors here.
It seems that there are processes or threads not communicating to each other and Channels DVR auths a channel and plays it, but then it keeps trying to auth the channel and fails with an error.

Pick a channel that needs TVE auth that you never watch (I record History from my HDHR Prime source) and watch it live from the grid guide in the web UI, while looking at the DVR log in another browser tab. It tries to auth the channel and your video player will close, then say reconnecting and finally you'll hear audio (no video since the player window closed) and if you look at the log it should be like mine that shows it streaming, but Channels DVR is still trying to auth the channel.

I had 4 recordings 2 hgvt 2 ID interrupted yesterday between 6-8 pm MT. The love it or list it on OWN and another recording at the same time on TLC 6pm mt recorded but started late still finished today.

If it's the same issue I brought up about auth, you would see in the DVR log during those interrupted recordings that it was reauthing the channel. Most likely not the same issue.
Take a look at the DVR log during the time of the recordings.
An auth issue usually manifests itself when the recording starts. Not in the middle of it.

And today it works.
Was able to add Xfinity TVE and all channels are back.
Not sure if new diagnostics will help the devs see any differences, but in case they do, here they are after it was just added.
Logs have been submitted as 1a652497-698a-4f28-8270-9f2bc812270f

Happened again, same thing, same way. I don't know why Channels can't auth w/NBC to add TVE back. I have no problem authing at the NBC and other TVE wesbites. Don't know if it's related, but when going to nbc/live it always shows the wrong local station and changes callsign each time I refresh the browser until it finally gets it right.

Just tried again while posting this and got this error
[TVE] Auth failed for Comcast_SSO: authn: 401 : Data not found
Tried again and now it's scanning channels.

I don't know if diagnostics will help, but I'll send them and update this post when it's done scanning.
Logs have been submitted as 0731e9d1-14f1-475f-9ded-82c9970183c7
And after rescanning a bunch of channels that errored out and rescanning the locals, they're all back.

Since it happened again and I'm no longer the only one with the issue, I'm closing this one and following up on the official provider thread