Encountering 'file tunnel is empty' Issue When Attempting Self Hosting
problem description
I'm trying to get self hosting working on my machine, i have been the only person using it, so i don't suspect I'm getting blocked from YouTube's end. the yml listed below worked for me about a week ago, but today its giving me a 'file tunnel is empty, try again in a few minutes' issue. it consistently lags at 33% and then gives that error, so the web must be getting some data from the API right? (i don't have much technical knowledge on stuff like this so some guidance would be greatly appreciated)
I've tried for a few hours now to get it working but with no success, has anyone encountered an issue like this or know how to fix it?
your instance configuration
services:
cobalt-api:
image: ghcr.io/imputnet/cobalt:11
init: true
read_only: true
restart: unless-stopped
container_name: cobalt-api
ports:
- 9000:9000
environment:
API_URL: "http://localhost:9000/"
cobalt-web:
container_name: cobalt-web
restart: unless-stopped
build:
context: https://github.com/NotNite/cobalt-web-docker.git
dockerfile: Dockerfile
additional_contexts:
cobalt-src: https://github.com/imputnet/cobalt.git
args:
WEB_HOST: "http://localhost:3000/"
WEB_DEFAULT_API: "http://localhost:9000/"
ports:
- 3000:3000
I spun up my own self hosted instance today to try and get YouTube working but am having the exact same error. Hoping to find a fix.
Having this error as well. No idea how or why it is happening Other community instances are working just fine All i want to be able to do is download a video from youtube
I'm having the same issue, but I can only download the first batch of episodes I downloaded when I set it up, and no others
bump, same here
Same issue. Used to work fine, but stopped working some time ago.
same
For shorts it download normally but full Videos it will result in file tunnel is empty
Locally hosted gui and api
A trace on this shows that its due to a 403 error from youtube's side on affected content streaminfo URLs. Shorts and, for some reason, Rickroll come through fine. Its then transplaneted with an undefined dispatcher before I have no idea what happens next
Same issue with self-hosted instances. Any logs we could share to help troubleshoot the issue?
I think the problem is not what Cobalt is doing, it is what Cobalt isn't doing. Maybe there are solutions already implemented such as using a session, since to me it seems likely to be entangled with PO Tokens. Since cobalt by default uses IOS innertube, it means also working with youtube's rollout and that might mean setting up a session.
I've yet to test any of this, but others are free to, or otherwise comment if you've already tried doing so
Having this same issue, anyone found a fix yet?