iv-org / invidious

Invidious is an alternative front-end to YouTube
https://invidious.io
GNU Affero General Public License v3.0
16.47k stars 1.86k forks source link

SigHelper: Reconnect to signature helper #4991

Closed Fijxu closed 4 weeks ago

Fijxu commented 1 month ago

Closes #4926 I have been using it for more than 3 weeks on my instance and it works really well. This works if inv_sig_helper crashes and restarts itself (via systemd or docker restart policy) but it will not work if inv_sig_helper hangs and it doesn't reply to invidious (but this is an issue with inv_sig_helper and not Invidious).

What I do to try to reconnect to an alive inv_sig_helper instance is to use replicas of it and balance them with HAProxy so invidious will be always able to reach an alive inv_sig_helper, but that's another topic.

SamantazFox commented 4 weeks ago

Thanks for your contribution :)