FreeTube icon indicating copy to clipboard operation
FreeTube copied to clipboard

[Bug]: (PiHole misconfiguration) Videos not playing, Error: Error invoking remote method 'generate-po-token': Error: Failed to fetch

Open AndyShade opened this issue 3 weeks ago • 17 comments

Maintainer edit

If you are getting this error make sure your PiHole isn't erroneously blocking YouTube's integrity check domain jnn-pa.googleapis.com.

Guidelines

  • [x] I have encountered this bug in the latest release of FreeTube.
  • [x] I have encountered this bug in the official downloads of FreeTube.
  • [x] I have searched the issue tracker for open and closed issues that are similar to the bug report I want to file, without success.
  • [x] I have searched the documentation for information that matches the description of the bug I want to file, without success.
  • [x] This issue contains only one bug.

Describe the bug

  1. Open freetube
  2. Try to play a video
  3. Video will not play
  4. Presented with a popup error
  5. Error: Error invoking remote method 'generate-po-token': Error: Failed to fetch

Console output

Details

renderer.js:2 using static file for invidious instances fetchInvidiousInstances @ renderer.js:2 renderer.js:2 Local API, poToken generation failed Error: Error invoking remote method 'generate-po-token': Error: Failed to fetch at IpcRenderer.invoke (node:electron/js2c/renderer_init:2:7076) at async ZY (renderer.js:2:1826697) at async r.getVideoInformationLocal (renderer.js:2:2290381) ZY @ renderer.js:2 renderer.js:2 Error: Error invoking remote method 'generate-po-token': Error: Failed to fetch at IpcRenderer.invoke (node:electron/js2c/renderer_init:2:7076) at async ZY (renderer.js:2:1826697) at async r.getVideoInformationLocal (renderer.js:2:2290381) getVideoInformationLocal @ renderer.js:2 renderer.js:2 MediaImage src can only be of http/https/data/blob scheme: app://bundle/index.html mounted @ renderer.js:2 renderer.js:2 Player Error (category and code explainations here: https://shaka-player-demo.appspot.com/docs/api/shaka.util.Error.html) Video ID: "hfgllf1L9_4" FreeTube player context: "loading dash/audio manifest and setting default quality in mounted"

Severity: CRITICAL (2) Category: NETWORK (1) Code: UNSUPPORTED_SCHEME (1000) Stack trace: Error: Shaka Error 1000 at new Ee (app://bundle/renderer.js:2:24640) at la (app://bundle/renderer.js:2:97084) at app://bundle/renderer.js:2:101205 at app://bundle/renderer.js:2:99035 at app://bundle/renderer.js:2:99276

shaka-player Data: Array(1) VQ @ renderer.js:2 renderer.js:2 Unable to play DASH formats. Reverting to legacy formats... handlePlayerError @ renderer.js:2 9Chrome is moving towards a new experience that allows users to choose to browse without third-party cookies.

example link: https://youtu.be/hfgllf1L9_4

Expected Behavior

Open freetube and play a video without issues.

Issue Labels

API issue

FreeTube Version

v0.23.1 Beta

Operating System Version

Microsoft Windows [Version 10.0.19045.4046]

Installation Method

.zip / .7z

Issue occurs for:

Local API Invidious API

Issue occurs for:

Proxy Videos Through Invidious off Proxy Videos Through Invidious on

Last Known Working FreeTube Version (If Any)

v0.22.0 Beta Portable is the last known working version

Additional Information

No response

Nightly Build

I have encountered this bug in the latest [nightly build]

AndyShade avatar Feb 01 '25 07:02 AndyShade