[Bug]: Error invoking remote method 'generate-po-tokens': Error: VM operation timed out
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
- Play any video
- Local API have problems fetching the video
Expected Behavior
Can play video just fine
Issue Labels
API issue
FreeTube Version
Nightly Build 5746 0be976f015f5cacc8392fccea30c5d52a9387507
Operating System Version
macOS Sonoma 14.6.1
Installation Method
.dmg
Primary API used
Local API
Last Known Working FreeTube Version (If Any)
Nightly Build 5671 d95ddac6acbf64af1ac06aa29b5e728fbdeb1a62
Additional Information
This is my console log. I saw that the po-tokens got merged so I tried it out but appears to be having trouble loading videos.
I mainly tried music videos
https://youtu.be/RgKAFK5djSk
https://youtu.be/mNEUkkoUoIA
I downgraded after the filling of this issue
Nightly Build
- [x] I have encountered this bug in the latest nightly build.
Can you please provide a bit more information about your setup, as the issue is that it is hitting a timeout so it sounds like you must be using a slow setup? E.g. Which Mac model are you using? If it is an ARM one are you using the x64 build instead of the ARM one, if yes does the issue go away if you use the ARM build?
Which Mac model are you using?
m1 air 8gb
If it is an ARM one are you using the x64 build instead of the ARM one, if yes does the issue go away if you use the ARM build?
I use x64. After switching to the arm builds appears to have been solved. Sorry for the trouble and much thanks.
For the apple gatekeeper
xattr -d com.apple.quarantine /Applications/FreeTube.app
Reopening to track the problem, as we still need to increase the timeout, but it is good to know that is really just caused by slow setups (emulating another architecture is always going to be slower than running an app with the native architecture).
It have appeared once on my windows laptop
Failed to load resource: the server responded with a status of 404 ()
renderer.js:2 Local API, poToken generation failed Error: Error invoking remote method 'generate-po-tokens': Error: VM operation timed out
at IpcRenderer.invoke (node:electron/js2c/renderer_init:2:7078)
at async tX (renderer.js:2:1837699)
at async r.getVideoInformationLocal (renderer.js:2:2305493)
tX @ renderer.js:2
renderer.js:2 Error: Error invoking remote method 'generate-po-tokens': Error: VM operation timed out
at IpcRenderer.invoke (node:electron/js2c/renderer_init:2:7078)
at async tX (renderer.js:2:1837699)
at async r.getVideoInformationLocal (renderer.js:2:2305493)
getVideoInformationLocal @ renderer.js:2
id.420129.xyz/api/v1/videos/t76yOE7gFz8?:1
As i explain in the Matrix Chat, i also have this error. (
Error: Error invoking remote method 'generate-po-tokens': Error: VM operation timed out SyntaxError: Unexpected token 'A', "API disabled" is not valid JSON
) But the error only occurs when the program is running in the background.
My Setup: