Closed RevAngel7 closed 2 years ago
Believe I have the same issue which started within this past hour also. YouTube likely changed something on their side.
I also have the same issue. Tried using a VPN, switching Invidious instances, and disabling firewall. @Victor239 is likely correct.
I am having the same issue with 17.0 and 16.0 however version 0.15.1 of freetube is working for me. am happily watching videos using that.
The issue started the same time as Victor239 mentioned. Note: I am running Manjaro and using the appimage for all three different versions.
Seems its an issue with ytdl-core's they have the same bug opened at the same time as this one: https://github.com/fent/node-ytdl-core/issues/1108
Here is the console log fyi:
Getting video info please wait...
renderer.js:2 evalmachine.<anonymous>:339
rma=function(a,b,c,d){var e=null;switch(b){case "JSON":try{var f=c.responseText}catch(h){throw d=Error("Error reading responseText"),d.params=a,bu(d),h;}a=c.getResponseHeader("Content-Type")||"";f&&0<=a.indexOf("json")&&(")]};Yka(ncode);
^^^^^^^^^^^^^^^^
SyntaxError: Invalid or unexpected token
at new Script (node:vm:100:7)
at Object.exports.decipherFormats (/tmp/.mount_freetuU0bpDH/resources/app.asar/node_modules/ytdl-core/lib/sig.js:116:51)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Promise.all (index 0)
at async exports.getInfo (/tmp/.mount_freetuU0bpDH/resources/app.asar/node_modules/ytdl-core/lib/info.js:401:17)
encountered the same issue starting today. I have been on the latest version since Aug 5th and had no issues until today..I'm sure YT has changed something on their end.
I get this same error when I try to 'fetch more results'. The first 2 or 3 fetches work, after that no more.
Guidelines
Describe the bug
v0.17.0 Beta On every video I click to play I get a Local Api Error: TypeError: Cannot read properties of null (reading '2') error now and it switches to Invidious API. It's strange, because I used the 17 Beta from release day on, and never encountered the error before, did not make any changes in configuration. Using this version from the .deb installation for Ubuntu 22.04.1 LTS using kernel 5.19.1.
Expected Behavior
Video should load over standard local youtube API
Issue Labels
API issue
FreeTube Version
v0.17.0 Beta
Operating System Version
Ubuntu 22.04.1 LTS using kernel 5.19.1
Installation Method
.deb
Primary API used
Local API
Last Known Working FreeTube Version (If Any)
-
Additional Information
No response
Nightly Build