mirror of
https://github.com/imputnet/cobalt.git
synced 2026-03-12 01:45:57 -05:00
Cannot download any media without explicitly provided APP_PORT env variable
#254
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jsopn on GitHub (Apr 28, 2024).
bug description
Recent commit that added internal streams feature, didn't specified
process.env.APP_PORTfallback to9000which broke instances that were hosting cobalt without explicitly providedAPP_PORTenv variable.As shown in documentation this variable should fallback to
9000, and there's also noAPI_PORTvariable specified in file with docker-compose example.there's no fallback to
9000and as i checked theprocess.envin this function's scope, there's noprocess.envoverrides too.78288b8fac/src/modules/stream/manage.js (L88)due this mistake function fails with
TypeError [ERR_INVALID_URL]: Invalid URLon this linereproduction steps
something went wrong and i couldn't verify this stream. go back and try againwithout any logs in docker container;platform
66e58d2