[GH-ISSUE #409] Cobalt sending back empty files #6095

Closed
opened 2026-04-19 08:06:34 -05:00 by GiteaMirror · 4 comments
Owner

Originally created by @SWEDISHMEATBALLS12345674 on GitHub (Mar 30, 2024).
Original GitHub issue: https://github.com/imputnet/cobalt/issues/409

bug description
When i give cobalt a youtube or souncloud link, it returns a stream url which gives me a file with the correct name, but this file is empty.

reproduction steps
steps to reproduce the behavior:

  1. git clone https://github.com/wukko/cobalt
  2. run with npm
  3. try and use the api
  4. get empty file

I set up a new instance today as im migrating my server, the old instance worked perfectly fine and idk whats wrong.

screenshots
N/A, you know what your json responses look like, they all look correct but the stream link just returns nothing but a file with the right name and no content,

platform

  • Arch Linux
  • browser - its an api issue
  • version - Cobalt 7.12.3

sorry to be a bother and i do wanna say that your code is great it's been super helpful for the past few months for my media server and i really like easy to use post apis to deal with stuff :3

Originally created by @SWEDISHMEATBALLS12345674 on GitHub (Mar 30, 2024). Original GitHub issue: https://github.com/imputnet/cobalt/issues/409 **bug description** When i give cobalt a youtube or souncloud link, it returns a stream url which gives me a file with the correct name, but this file is empty. **reproduction steps** steps to reproduce the behavior: 1. git clone https://github.com/wukko/cobalt 2. run with npm 3. try and use the api 4. get empty file I set up a new instance today as im migrating my server, the old instance worked perfectly fine and idk whats wrong. **screenshots** N/A, you know what your json responses look like, they all look correct but the stream link just returns nothing but a file with the right name and no content, **platform** - Arch Linux - browser - its an api issue - version - Cobalt 7.12.3 sorry to be a bother and i do wanna say that your code is great it's been super helpful for the past few months for my media server and i really like easy to use post apis to deal with stuff :3
GiteaMirror added the bug label 2026-04-19 08:06:34 -05:00
Author
Owner

@lostdusty commented on GitHub (Mar 30, 2024):

did you run npm run setup?

<!-- gh-comment-id:2028185922 --> @lostdusty commented on GitHub (Mar 30, 2024): did you run `npm run setup`?
Author
Owner

@SWEDISHMEATBALLS12345674 commented on GitHub (Mar 30, 2024):

did you run npm run setup?

yes ofc

<!-- gh-comment-id:2028187950 --> @SWEDISHMEATBALLS12345674 commented on GitHub (Mar 30, 2024): > did you run `npm run setup`? yes ofc
Author
Owner

@SWEDISHMEATBALLS12345674 commented on GitHub (Mar 31, 2024):

Hi :3

this is still an issue for me but the docker image works (im assuming the issue is arch because silly container works)
if anyone else on arch encounters this issue though i guess just switch to docker

i kinda liked having it run on node tho but eh who cares

<!-- gh-comment-id:2028547393 --> @SWEDISHMEATBALLS12345674 commented on GitHub (Mar 31, 2024): Hi :3 this is still an issue for me but the docker image works (im assuming the issue is arch because silly container works) if anyone else on arch encounters this issue though i guess just switch to docker i kinda liked having it run on node tho but eh who cares
Author
Owner

@dumbmoron commented on GitHub (Mar 31, 2024):

Hi :3

this is still an issue for me but the docker image works (im assuming the issue is arch because silly container works) if anyone else on arch encounters this issue though i guess just switch to docker

i kinda liked having it run on node tho but eh who cares

it might be the same problem as on alpine, where the dns does not really work

you can try check if you change all the -8 occurrences to 48 in src/modules/stream/types.js

<!-- gh-comment-id:2028619036 --> @dumbmoron commented on GitHub (Mar 31, 2024): > Hi :3 > > this is still an issue for me but the docker image works (im assuming the issue is arch because silly container works) if anyone else on arch encounters this issue though i guess just switch to docker > > i kinda liked having it run on node tho but eh who cares it might be the same problem as on alpine, where the dns does not really work you can try check if you change all the `-8` occurrences to `48` in `src/modules/stream/types.js`
Sign in to join this conversation.