Unexpected token (1:47)
Describe the Bug
Running ViewTube as a Docker image. Using the 'latest' tag, downloaded a few hours ago. Whenever I click on a video, instead of starting to play, ViewTube shows the error "Unexpected token (1:47)".
In addition, this error shows top-right: Error loading video [GET] "/api/videos/o_jvt7t096E": 400 Bad Request
Steps to Reproduce the Bug
- Login to the ViewTube web interface
- Search for any video
- Click to play the video: the error appears
Expected Behaviour
I would expect that the video starts streaming.
Additional Context
This looks like the same issue which was solved in FreeTube a few hours ago: https://github.com/FreeTubeApp/FreeTube/issues/5378
This seems to be related to the issue I reported earlier today. I have encountered this same error.
I have the same issue. It seems like the FreeTubeApp fix has already been commited with this commit: https://github.com/ViewTube/viewtube/commit/9a97e4f39be0e7d599f3f8148f63917e8a0db67f There just needs to be a new version released for the fix to arrive.
In the meantime you can use the :dev or :nightly docker images. They already include the fix. I tested :dev
To do this just change the image: mauriceo/viewtube:latest to image: mauriceo/viewtube:dev in your docker-compose.yml file and run docker compose pull && docker compose up -d
This should be fixed now in the newest release v0.17.0
Thanks Patric. The error is gone, but now I get the following error a few seconds into the playback: "Video playback error PIPELINE_LOAD_ERROR: An HTTP status code indicating failure was received: 403". Dragging my mouse along the timeline actually shows me thumbnails of the complete video, just an actual play back is no longer possible after above error. This happens to any video I try.
Might be this issue: https://github.com/ViewTube/viewtube/issues/2952