youtube scripts on pmos sxmo edge branch is not working since few weeks, is it same for everyone?
Same for me in latest edge. Seems to be not a SXMO issue though, but rather in the
youtube-cliprogram the scripts use. It is part of the
codemadness-frontendspackage, upstream is here. Tried compiling latest version from source, but it still throws the same error:
tls_read: read failed: error:0A000126:SSL routines::unexpected eof while reading:/
Please let me know if this is fixed when version 0.6 is merged
The problem seems to be caused by a mismatch between LibreTLS and OpenSSL 3 : compiling
codemadness-frontendsagainst libretls itself compiled against OpenSSL 1.1.1q results in working
*-clitools. Compiling against libretls itself compiled against OpenSSL 3 returns the aforementioned error.
A work-around I've been using since the discovery of this bug is to install libressl (the tls parts, I believe it is packaged under
libressl3.5-libtlson Alpine) and to manually compile youtube-cli against it.
However this is of course not ideal. The problem should be resolved upstream.
Since this commit, codemadness-frontends is built against LibreSSL and thus works. After upgrading, the problem should not occur anymore.