umputun / feed-master

Pulls multiple podcast feeds (RSS) and republishes as a common feed, properly sorted and podcast-client friendly.
https://feed-master.umputun.dev
MIT License
118 stars 26 forks source link

404 error on audio files on non-standard port #75

Closed dk76 closed 2 years ago

dk76 commented 2 years ago

In the fm-yt.yml file, I change the example.com address to 192.168.0.2:8097 (and close the brackets on lines 10 and 11) and raise it in the docker. Everything works, files are created, there is rss. But mp3 files at, for example, http://192.168.0.2:8097/yt/media/445e90abdd57b230424e18b0088b17a029e4a836.mp3 return a 404 error. The file itself is present in the /srv/var/yt directory. In the logs: 2022/04/08 05:12:40.672 [INFO] GET - /yt/media/445e90abdd57b230424e18b0088b17a029e4a836.mp3 - 192.168.0.2 - 192.168.0.2 - 404 (19) - 14.857µs

Config: fm.yml

umputun commented 2 years ago

I have found and fixed an issue caused by the missing yt/media directory which may cause the server (static one, serving mp3 files) to fail on the first run.

I have also updated examples and added a working fm-yt-local.yml with the corresponding compose compose-yt-local.yml. Tried as a standalone run as well as from the docker and both worked fine and served feeds, files, and UI

dk76 commented 2 years ago

Now everything is working properly.