On Sun, 25 Oct 2020, Bananradion wrote:> I changed to "localhost" in the ices-config and got this error: > > EROR stream/ices_instance_stream Failed initial connect to localhost:8443 > (TLS connection can not be established because of bad certificate: Success)This might not help your situation, but there is absolutely 0 need to use TLS on localhost as the packets never leave the machine. If someone has access to your machine, you've got bigger problems than them intercepting your broadcast stream. Cheers, Geoff.
Ok! So how can i fix this issue then? All works great if I connect ices to port 8086, but I need it to connect to 8443 without getting "Socket is busy". Den mån 26 okt. 2020 kl 14:24 skrev Geoff Shang <geoff at quitelikely.com>:> On Sun, 25 Oct 2020, Bananradion wrote: > > > I changed to "localhost" in the ices-config and got this error: > > > > EROR stream/ices_instance_stream Failed initial connect to localhost:8443 > > (TLS connection can not be established because of bad certificate: > Success) > > This might not help your situation, but there is absolutely 0 need to use > TLS on localhost as the packets never leave the machine. > > If someone has access to your machine, you've got bigger problems than > them intercepting your broadcast stream. > > Cheers, > Geoff. > > _______________________________________________ > Icecast mailing list > Icecast at xiph.org > http://lists.xiph.org/mailman/listinfo/icecast >-- *Bananradion* - svängig musik non-stop Besök gärna våra andra webbplatser! Bananklubben.se <https://bananklubben.se> - Sveriges bästa klubb för människor som gillar att bjuda på sig själva Peelthepower.se <https://peelthepower.se> - Ett välgörenhetsevent -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.xiph.org/pipermail/icecast/attachments/20201026/ec6e4250/attachment.html>
On Mon, 26 Oct 2020, Bananradion wrote:> Ok! So how can i fix this issue then? > All works great if I connect ices to port 8086, but I need it to connect to > 8443 without getting "Socket is busy".In all honesty, I don't know what that error means adn I've not tried to use TLS with Icecast. I guess you could set up two listen sockets on port 8443, one on 127.0.0.1 without SSL and one on your external IP address with SSL. But if it all works well on port 8086, why not use that? The stream should still be available to listeners on port 8443. Cheers, Geoff.