Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected token (1:47) #2929

Open
alienbob opened this issue Jul 10, 2024 · 5 comments
Open

Unexpected token (1:47) #2929

alienbob opened this issue Jul 10, 2024 · 5 comments

Comments

@alienbob
Copy link

alienbob commented Jul 10, 2024

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

  1. Login to the ViewTube web interface
  2. Search for any video
  3. 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: FreeTubeApp/FreeTube#5378

@ac1mx
Copy link

ac1mx commented Jul 10, 2024

This seems to be related to the issue I reported earlier today. I have encountered this same error.

@patricgruber
Copy link
Contributor

patricgruber commented Jul 11, 2024

I have the same issue. It seems like the FreeTubeApp fix has already been commited with this commit: 9a97e4f
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

@patricgruber
Copy link
Contributor

This should be fixed now in the newest release v0.17.0

@alienbob
Copy link
Author

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.

@patricgruber
Copy link
Contributor

Might be this issue: #2952

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants