[Bug]: Comments not loading
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. The only official downloads are from the https://freetubeapp.io website, the FreeTubeApp/FreeTube GitHub repository and the io.freetubeapp.FreeTube flatpak from Flathub.
- [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.
- [x] I have read and agree to follow the rules.
Describe the bug
- Go to any videos with comments
- Click to load comments
- Observe error:
TypeError: Cannot read properties of undefined (reading 'endpoint')
Expected Behavior
Comments should load
Issue Labels
content not loading
FreeTube Version
v0.25.1-beta
Operating System Version
Fedora
Installation Method
Flathub
Primary API used
Local API
Last Known Working FreeTube Version (If Any)
No response
Upload screenshots or videos
No response
Additional Information
No response
Nightly Build
- [X] I have encountered this bug in the latest official nightly build, do not check this box if you are using an unofficial or custom build.
Are you using the official nightlies or a custom build with youtube.js updated? it would make a lot of sense if that is happening because you are using the main branch of youtube.js.
I reproduce with the official v0.25.1 release and a build with a custom youtube.js, not the real nightly
I have encountered this bug in the latest official nightly build, do not check this box if you are using an unofficial or custom build.
Next time please read the issue form properly before checking boxes...
Indeed, I checked it too quickly, but it is a general YouTube change so it also affects nightly builds
Edit: Reproduced in freetube-0.25.1-nightly-7537
https://youtu.be/pLNJ-fNYTKU
I do use nightly and I updated to the latest one 7537 before testing this.
Sometimes they do load, sometimes not.
Sometimes comments load but when viewing replies they are not
I didn't capture the other errors though
windows and macos
I am getting this error with version 0.25.1 beta from the freetube website for windows. I can get comments to work if clicking the load comments a few times, it finally goes through. I updated from the previous version just today because of the comment issues, but even on that version the issue has only been happening as of a few hours ago, and i was also able to keep refreshing the load comments and it would eventual go through.
This occurs every time now, and viewing the comments is impossible. I'm also using 0.25.1 Beta, installed from AUR.
I imagine that this is something Google has fully implemented following A/B testing. Perhaps this should be pinned to avoid people calling in duplicate bug reports.
Can also concur that the issue is now happening every time now on 0.25.0. Hopefully this gets fixed soon.
Backporting https://github.com/LuanRT/YouTube.js/pull/1208 to YouTube.js 17.2.0 fixed the issue for me. There seem to be no conflicts.
Issue occurs with v0.25.1 Beta, on OpenMandrive ROCK 6.0.
"TypeError: Cannot read properties of undefined (reading 'endpoint')"
Cannot see comments at all, even after dozens of clicks.