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

"No video with supported format or MIME type found" #109

Open
telmer-adomix opened this issue Dec 4, 2022 · 29 comments
Open

"No video with supported format or MIME type found" #109

telmer-adomix opened this issue Dec 4, 2022 · 29 comments
Assignees
Labels
bug Something isn't working

Comments

@telmer-adomix
Copy link

Recently I started noticing that, at several instances and in several profiles, only some videos are properly played, while with the others the error message is showed. What videos are played or not appears to be quite random.

To Reproduce
Example:

  1. Go to https://proxitok.pabloferreiro.es/@avvocatodellatomo (or in other istances). (It's an Italian profile about divulgation on nuclear power and energy infrastructures).
  2. Click play on the videos.
  3. As to now, the three videos from the top downwards (whose descriptions start, respectively, with: "Per quando vi diranno che gli...", "#greenscreen Tra la tr4gedia...", "7 caratteristiche dell'#ambientalismo...") don't work, the two following ones ("Risposta a @yrion...", "come #camminano le fonti...") work, and working and not working videos alternate thereon.

I cannot understand if it's a bug on my side, but for example cleaning the cache appears not to work.

@telmer-adomix telmer-adomix added the bug Something isn't working label Dec 4, 2022
@NoPlagiarism
Copy link
Contributor

Seems working to me, from which browser and device you were getting this error?

@telmer-adomix
Copy link
Author

I use the last version of Firefox (107.0.1) on a Windows laptop. But actually now the videos also work for me (even if buffering is still a bit longer than before)! Same on other profiles where the same message was shown. I don't know if some update to the server was progressing, or there were other "glitches".
I will update if the problem happens again.

@pablouser1
Copy link
Owner

Looks like it has to do with a new subdomain that TikTok is using... All the videos that use v19-webapp-prime.tiktok.com return a 403 error. I'm looking into it now

@pablouser1
Copy link
Owner

I use the last version of Firefox (107.0.1) on a Windows laptop. But actually now the videos also work for me (even if buffering is still a bit longer than before)! Same on other profiles where the same message was shown. I don't know if some update to the server was progressing, or there were other "glitches". I will update if the problem happens again.

It also looks OK for me now... Really weird. Now all the videos that I get only use the v16-webapp.tiktok.com domain, there are none using v19-webapp-prime.tiktok.com... Maybe something on TikTok's side that ended up getting removed? If I don't see this happening again I guess I'll close the issue.

@telmer-adomix
Copy link
Author

Sorry I didn't answer before. I checked the service during the last week and never encountered the problem again.
Judging on the names, TikTok may have been testing a new version of their interface.

@brian6932
Copy link

This issue is back

@NoPlagiarism
Copy link
Contributor

@brian6932
While it's on official instance. Try another one.

List | Working instance

@brian6932
Copy link

The issue was occurring on the first party TikTok site as well is my issue here

@NoPlagiarism
Copy link
Contributor

Still, I had this issue tho. Mb FireFox problem?
What browser are you using?

@brian6932
Copy link

Firefox 109

@Andrewskiz
Copy link

I'm having the same issue on Firefox 109, I've noticed that these instances seem not to have this problem as often. I don't know if there is any difference in configuration or if it's a coincidence:

https://proxitok.pussthecat.org/

https://tt.vern.cc/

https://proxitok.pufe.org/

@pablouser1 pablouser1 reopened this Jan 25, 2023
@pablouser1 pablouser1 pinned this issue Jan 25, 2023
@pablouser1
Copy link
Owner

Investigating a little bit, looks like now these new urls require to have a cookie tt_chain_token sent, this value is sent by the server after entering https://www.tiktok.com. I'm trying to implement this efficiently now.

@pablouser1
Copy link
Owner

Investigating a little bit, looks like now these new urls require to have a cookie tt_chain_token sent, this value is sent by the server after entering https://www.tiktok.com. I'm trying to implement this efficiently now.

This is now properly implemented thanks to pablouser1/TikScraperPHP@4426ee9

tt_chain_token is fetched on the constructor of the Stream or Download class, allowing it to be used later. This fix is now deployed on the official instance.

@privacytime101
Copy link

This is now properly implemented thanks to pablouser1/TikScraperPHP@4426ee9

tt_chain_token is fetched on the constructor of the Stream or Download class, allowing it to be used later. This fix is now deployed on the official instance.

Is there a fix coming to this repo as well? I just cloned this one and threw it in docker.

@NoPlagiarism
Copy link
Contributor

Is there a fix coming to this repo as well?

Yes, e8ec0ab

@samip5
Copy link
Contributor

samip5 commented Feb 8, 2023

It seems that v19-webapp-prime.tiktok.com returns forbidden.

Eg. https://v19-webapp-prime.tiktok.com/video/tos/alisg/tos-alisg-pve-0037c001/oQlbXTwUh5zAzopfaTAGSxTGF2dAICRGIocStr/?a=1988&ch=0&cr=0&dr=0&lr=tiktok_m&cd=0%7C0%7C1%7C0&cv=1&br=3798&bt=1899&cs=0&ds=3&ft=4fUEKMR58Zmo0jV7l64jVKa_JpWrKsdm&mime_type=video_mp4&qs=0&rc=aTk8NDg6ZzNmNmg6ZTo8ZUBpamxoazg6ZnZuaDMzODczNEAuNC42MWMvNmExYTJjNGJjYSNfamZicjRvM2FgLS1kMS1zcw%3D%3D&btag=80000&expire=1675869561&l=202302080910495D21C8D4D775EA16AAD0&ply_type=2&policy=2&signature=9408fde064eb3caacbbd678990f09157&tk=tt_chain_token

Results in forbidden from Varnish Cache Server:

<html>
  <head>
    <title>403 Forbidden</title>
  </head>
  <body>
    <h1>Error 403 Forbidden</h1>
    <p>Forbidden</p>
    <h3>Error 54113</h3>
    <p>Details: cache-hel1410030-HEL 1675847461 1322291421</p>
    <hr>
    <p>Varnish cache server</p>
  </body>
</html>

@cron410
Copy link

cron410 commented Mar 15, 2023

For me at least, it seems like the non-watermarked video is able to be downloaded, but the watermarked video downloads a 400byte plaintext file containing:

Access Denied
You don't have permission to access "http://v16-webapp-prime.tiktok.com/video/tos/alisg/tos-alisg-pve-**********/****************************************/?" on this server.
Reference #18.b*********************.1**************** 

Would it be possible to add a setting that allows us to set the default video type for the player?

@cron410
Copy link

cron410 commented Mar 15, 2023

It seems #111 is back.

@cunlem
Copy link

cunlem commented Apr 7, 2023

For me at least, it seems like the non-watermarked video is able to be downloaded

Yes I've noticed this too. Maybe it would make sense to switch the embedded video source to non-watermarked version for the time being?

@cron410
Copy link

cron410 commented Apr 8, 2023

It's been working fine for me recently. My docker container is set to auto update every night so I have the latest version

@igalic
Copy link

igalic commented Apr 12, 2023

I have seen this error as transitory, on flaky networks, for instance

@cunlem
Copy link

cunlem commented May 12, 2023

I don't understand why this bug happens only on profile page but not on video page.

It's been working fine for me recently. My docker container is set to auto update every night so I have the latest version

To my knowledge public instances are still affected

@igalic
Copy link

igalic commented May 13, 2023

reload often fixes it

@misterpyrrhuloxia
Copy link

@pablouser1, I seem to be experiencing this issue now too, but only with my instance of Proxitok. It was never an issue for me on my own instance until the last week or two. When opening any tiktok via my instance, the page loads but when I click on the video's play button, as well as the audio track's play button, the button becomes grayed out and neither the video nor audio plays. When I open any videos in a Firefox private tab with my instance of Proxitok, I get the No video with supported format and MIME type found. No amount of refreshing has solved this for me. I do not experience the same issue with any tiktoks on most of the rest of the public instances of Proxitok.
I host my instance from my Windows 11 desktop pc via Docker using your docker-compose.yml. No amount of re-pulling and redeploying the container has helped.

@pablouser1 pablouser1 unpinned this issue Jan 25, 2024
@SiskoUrso
Copy link

I never was able to resolve this issue after setting up and keeping updated for a few months hoping for some change that might fix it but no go.

Hoping there is a resolution to this.

@FoxxMD
Copy link

FoxxMD commented Feb 7, 2024

Also experiencing this issue on the latest docker image when hosting myself

@pablouser1
Copy link
Owner

Should be fixed with #224

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests