Irakli Chkhikvishvili
2021-Aug-31 12:21 UTC
[Icecast] Icecast relay specific mount point over SSL
Hello, I'm trying to pull a stream from specific mountpoint and everything is fine if I'm connecting to plain HTTP master: <relay> <server>listen.radioking.com</server> <port>80</port> <mount>/radio/282820/stream/328621</mount> <local-mount>/radioking</local-mount> <on-demand>0</on-demand> <relay-shoutcast-metadata>0</relay-shoutcast-metadata> </relay> But it totally doesn't wrok if I'm connecting to SSL master <relay> <server>listen.radioking.com</server> <port>443</port> <mount>/radio/282820/stream/328621</mount> <local-mount>/radioking</local-mount> <on-demand>0</on-demand> <relay-shoutcast-metadata>0</relay-shoutcast-metadata> </relay> Log file: [2021-08-31 16:19:59] INFO main/main Icecast 2.4.4 server started [2021-08-31 16:19:59] DBUG yp/yp_recheck_config Updating YP configuration [2021-08-31 16:19:59] INFO connection/get_ssl_certificate No SSL capability on any configured ports [2021-08-31 16:19:59] INFO stats/_stats_thread stats thread started [2021-08-31 16:19:59] INFO yp/yp_update_thread YP update thread started [2021-08-31 16:20:00] DBUG slave/_slave_thread checking master stream list [2021-08-31 16:20:00] DBUG slave/check_relay_stream Adding relay source at mountpoint "/radioking" [2021-08-31 16:20:00] INFO slave/start_relay_stream Starting relayed source at mountpoint "/radioking" [2021-08-31 16:20:00] INFO slave/open_relay_connection connecting to listen.radioking.com:443 [2021-08-31 16:20:00] EROR slave/open_relay_connection Header read failed for /radioking (listen.radioking.com:443/radio/282820/stream/328621) [2021-08-31 16:20:00] DBUG source/source_clear_source clearing source "/radioking" [2021-08-31 16:20:01] DBUG stats/modify_node_event update global clients (1) [2021-08-31 16:20:01] DBUG stats/modify_node_event update global connections (1) [2021-08-31 16:20:01] INFO fserve/fserve_client_create checking for file /radioking (/usr/share/icecast/web/radioking) [2021-08-31 16:20:01] WARN fserve/fserve_client_create req for file "/usr/share/icecast/web/radioking" No such file or directory [2021-08-31 16:20:01] DBUG fserve/fserve_add_client Adding client to file serving engine [2021-08-31 16:20:01] DBUG fserve/fserve_add_pending fserve handler waking up [2021-08-31 16:20:01] DBUG fserve/fserv_thread_function fserve handler exit [2021-08-31 16:20:01] DBUG slave/check_relay_stream waiting for relay thread for "/radioking" [2021-08-31 16:20:01] DBUG stats/modify_node_event update global client_connections (1) [2021-08-31 16:20:01] DBUG stats/modify_node_event update global clients (0) [2021-08-31 16:20:03] INFO fserve/fserve_client_create checking for file /radioking (/usr/share/icecast/web/radioking) [2021-08-31 16:20:03] WARN fserve/fserve_client_create req for file "/usr/share/icecast/web/radioking" No such file or directory [2021-08-31 16:20:03] DBUG fserve/fserve_add_client Adding client to file serving engine [2021-08-31 16:20:03] DBUG fserve/fserve_add_pending fserve handler waking up [2021-08-31 16:20:03] DBUG fserve/fserv_thread_function fserve handler exit [2021-08-31 16:20:03] DBUG stats/modify_node_event update global clients (1) [2021-08-31 16:20:03] DBUG stats/modify_node_event update global connections (2) [2021-08-31 16:20:03] DBUG stats/modify_node_event update global client_connections (2) [2021-08-31 16:20:03] DBUG stats/modify_node_event update global clients (0) [2021-08-31 16:20:05] DBUG stats/modify_node_event update global clients (1) [2021-08-31 16:20:05] DBUG stats/modify_node_event update global connections (3) [2021-08-31 16:20:05] INFO fserve/fserve_client_create checking for file /radioking (/usr/share/icecast/web/radioking) [2021-08-31 16:20:05] WARN fserve/fserve_client_create req for file "/usr/share/icecast/web/radioking" No such file or directory [2021-08-31 16:20:05] DBUG fserve/fserve_add_client Adding client to file serving engine [2021-08-31 16:20:05] DBUG fserve/fserve_add_pending fserve handler waking up [2021-08-31 16:20:05] DBUG fserve/fserv_thread_function fserve handler exit [2021-08-31 16:20:05] DBUG stats/modify_node_event update global client_connections (3) [2021-08-31 16:20:05] DBUG stats/modify_node_event update global clients (0) [2021-08-31 16:20:07] DBUG stats/modify_node_event update global clients (1) [2021-08-31 16:20:07] DBUG stats/modify_node_event update global connections (4) [2021-08-31 16:20:08] INFO fserve/fserve_client_create checking for file /radioking (/usr/share/icecast/web/radioking) [2021-08-31 16:20:08] WARN fserve/fserve_client_create req for file "/usr/share/icecast/web/radioking" No such file or directory [2021-08-31 16:20:08] DBUG fserve/fserve_add_client Adding client to file serving engine [2021-08-31 16:20:08] DBUG fserve/fserve_add_pending fserve handler waking up [2021-08-31 16:20:08] DBUG fserve/fserv_thread_function fserve handler exit [2021-08-31 16:20:08] DBUG stats/modify_node_event update global client_connections (4) [2021-08-31 16:20:08] DBUG stats/modify_node_event update global clients (0) How can I make icecast support SSL on relay client config ? Thank you, Irakli ________________________________ Find out the latest about the Bank of Georgia Group products, services and recent developments from the Bank of Georgia monthly e-newsletter. If you wish to subscribe please simply send a request to enewsletter at bog.ge and write "subscribe" in the subject line. This message (including any attachments) is confidential and may be privileged. If you have received it by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change. JSC Bank of Georgia shall not be responsible nor liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt or damage to your system. JSC Bank of Georgia does not guarantee that the integrity of this communication has been maintained nor that this communication is free of viruses, interceptions or interference.
Hi, On 31 Aug 2021, at 14:21, Irakli Chkhikvishvili wrote:> Hello, > I'm trying to pull a stream from specific mountpoint and everything > is fine if I'm connecting to plain HTTP master: > > <relay> > <server>listen.radioking.com</server> > <port>80</port> > <mount>/radio/282820/stream/328621</mount> > <local-mount>/radioking</local-mount> > <on-demand>0</on-demand> > <relay-shoutcast-metadata>0</relay-shoutcast-metadata> > </relay> > > > But it totally doesn't wrok if I'm connecting to SSL master > > <relay> > <server>listen.radioking.com</server> > <port>443</port> > <mount>/radio/282820/stream/328621</mount> > <local-mount>/radioking</local-mount> > <on-demand>0</on-demand> > <relay-shoutcast-metadata>0</relay-shoutcast-metadata> > </relay> > > Log file: > > [2021-08-31 16:19:59] INFO main/main Icecast 2.4.4 server started > [2021-08-31 16:19:59] DBUG yp/yp_recheck_config Updating YP > configuration > [2021-08-31 16:19:59] INFO connection/get_ssl_certificate No SSL > capability on any configured ports > [2021-08-31 16:19:59] INFO stats/_stats_thread stats thread started > [2021-08-31 16:19:59] INFO yp/yp_update_thread YP update thread > started > [2021-08-31 16:20:00] DBUG slave/_slave_thread checking master stream > list > [2021-08-31 16:20:00] DBUG slave/check_relay_stream Adding relay > source at mountpoint "/radioking" > [2021-08-31 16:20:00] INFO slave/start_relay_stream Starting relayed > source at mountpoint "/radioking" > [2021-08-31 16:20:00] INFO slave/open_relay_connection connecting to > listen.radioking.com:443 > [2021-08-31 16:20:00] EROR slave/open_relay_connection Header read > failed for /radioking > (listen.radioking.com:443/radio/282820/stream/328621) > [2021-08-31 16:20:00] DBUG source/source_clear_source clearing source > "/radioking" > [2021-08-31 16:20:01] DBUG stats/modify_node_event update global > clients (1) > [2021-08-31 16:20:01] DBUG stats/modify_node_event update global > connections (1) > [2021-08-31 16:20:01] INFO fserve/fserve_client_create checking for > file /radioking (/usr/share/icecast/web/radioking) > [2021-08-31 16:20:01] WARN fserve/fserve_client_create req for file > "/usr/share/icecast/web/radioking" No such file or directory > [2021-08-31 16:20:01] DBUG fserve/fserve_add_client Adding client to > file serving engine > [2021-08-31 16:20:01] DBUG fserve/fserve_add_pending fserve handler > waking up > [2021-08-31 16:20:01] DBUG fserve/fserv_thread_function fserve > handler exit > [2021-08-31 16:20:01] DBUG slave/check_relay_stream waiting for relay > thread for "/radioking" > [2021-08-31 16:20:01] DBUG stats/modify_node_event update global > client_connections (1) > [2021-08-31 16:20:01] DBUG stats/modify_node_event update global > clients (0) > [2021-08-31 16:20:03] INFO fserve/fserve_client_create checking for > file /radioking (/usr/share/icecast/web/radioking) > [2021-08-31 16:20:03] WARN fserve/fserve_client_create req for file > "/usr/share/icecast/web/radioking" No such file or directory > [2021-08-31 16:20:03] DBUG fserve/fserve_add_client Adding client to > file serving engine > [2021-08-31 16:20:03] DBUG fserve/fserve_add_pending fserve handler > waking up > [2021-08-31 16:20:03] DBUG fserve/fserv_thread_function fserve > handler exit > [2021-08-31 16:20:03] DBUG stats/modify_node_event update global > clients (1) > [2021-08-31 16:20:03] DBUG stats/modify_node_event update global > connections (2) > [2021-08-31 16:20:03] DBUG stats/modify_node_event update global > client_connections (2) > [2021-08-31 16:20:03] DBUG stats/modify_node_event update global > clients (0) > [2021-08-31 16:20:05] DBUG stats/modify_node_event update global > clients (1) > [2021-08-31 16:20:05] DBUG stats/modify_node_event update global > connections (3) > [2021-08-31 16:20:05] INFO fserve/fserve_client_create checking for > file /radioking (/usr/share/icecast/web/radioking) > [2021-08-31 16:20:05] WARN fserve/fserve_client_create req for file > "/usr/share/icecast/web/radioking" No such file or directory > [2021-08-31 16:20:05] DBUG fserve/fserve_add_client Adding client to > file serving engine > [2021-08-31 16:20:05] DBUG fserve/fserve_add_pending fserve handler > waking up > [2021-08-31 16:20:05] DBUG fserve/fserv_thread_function fserve > handler exit > [2021-08-31 16:20:05] DBUG stats/modify_node_event update global > client_connections (3) > [2021-08-31 16:20:05] DBUG stats/modify_node_event update global > clients (0) > [2021-08-31 16:20:07] DBUG stats/modify_node_event update global > clients (1) > [2021-08-31 16:20:07] DBUG stats/modify_node_event update global > connections (4) > [2021-08-31 16:20:08] INFO fserve/fserve_client_create checking for > file /radioking (/usr/share/icecast/web/radioking) > [2021-08-31 16:20:08] WARN fserve/fserve_client_create req for file > "/usr/share/icecast/web/radioking" No such file or directory > [2021-08-31 16:20:08] DBUG fserve/fserve_add_client Adding client to > file serving engine > [2021-08-31 16:20:08] DBUG fserve/fserve_add_pending fserve handler > waking up > [2021-08-31 16:20:08] DBUG fserve/fserv_thread_function fserve > handler exit > [2021-08-31 16:20:08] DBUG stats/modify_node_event update global > client_connections (4) > [2021-08-31 16:20:08] DBUG stats/modify_node_event update global > clients (0) > > How can I make icecast support SSL on relay client config ? >This is a known limitation, so it is currently unfortunately not possible.> Thank you, > Irakli > > ________________________________ > > Find out the latest about the Bank of Georgia Group products, services > and recent developments from the Bank of Georgia monthly e-newsletter. > If you wish to subscribe please simply send a request to > enewsletter at bog.ge and write "subscribe" in the subject line. > > This message (including any attachments) is confidential and may be > privileged. If you have received it by mistake please notify the > sender by return e-mail and delete this message from your system. Any > unauthorized use or dissemination of this message in whole or in part > is strictly prohibited. Please note that e-mails are susceptible to > change. JSC Bank of Georgia shall not be responsible nor liable for > the proper and complete transmission of the information contained in > this communication nor for any delay in its receipt or damage to your > system. JSC Bank of Georgia does not guarantee that the integrity of > this communication has been maintained nor that this communication is > free of viruses, interceptions or interference. > _______________________________________________ > Icecast mailing list > Icecast at xiph.org > http://lists.xiph.org/mailman/listinfo/icecast