|
![]() |
#1 |
Junior Member
Join Date: Jun 2020
Posts: 5
|
Shoutcast Directory stream url inconsistencies
We're experiencing issues with playing our stream URL from the YP.
When loading https://directory.shoutcast.com and clicking to listen our stream, it loads https://<ip address>:7000/stream?icy=http (over HTTPS). This returns an error "Unable to play the radio stream". When loading the Shoutcast Directory over HTTP, via http://directory.shoutcast.com, the stream URL has now changed to http://<ip address>:7000/stream?icy=http (note it's using HTTP now). This HTTP stream plays fine. My question is: How can we avoid this? We already have HTTP and HTTPS domains for our stream. But somehow YP wants to use our IP address instead, causing issues. I've tried using various DNAS settings like setting destip, destip_1, serverurl, streambackupurl_1 to use our domain, but it still falls back on our IP address. We're running Shoutcast DNAS version 2.4.0 on Linux. Thanks for any input! |
![]() |
![]() |
![]() |
#2 |
Senior Member
Join Date: Dec 2019
Location: Germany
Posts: 394
|
You have the problem that with https the YP just tries to establish an https connection.
Whether someone can help you with version 2.4, I personally cannot tell you. |
![]() |
![]() |
![]() |
#3 | |
Junior Member
Join Date: Jun 2020
Posts: 5
|
Quote:
We have the HTTPS stream running at port 443. The YP just replaces "http" with "https" but is still using the same port. If I can get either to remove the hardcoded port from the YP listing, (so that port 80 or 443 are used), then that would solve it, I think. We just upgraded to DNAS version 2.5.5.733; same results. |
|
![]() |
![]() |
![]() |
#4 |
Senior Member
Join Date: Dec 2019
Location: Germany
Posts: 394
|
With version 2.6 it works without problems. Look for example here:
code: http://forums.winamp.com/showthread.php?t=455453 |
![]() |
![]() |
![]() |
#5 | |
Junior Member
Join Date: Jun 2020
Posts: 5
|
We fixed it by upgrading sc_serv on Linux to the latest version, 2.6.0.753 and a paid Shoutcast Premium account.
The problem is the Shoutcast YP Directory website loads by default over HTTPS, and applies the HTTPS protocol to all stream urls it serves. Before, we used Nginx as reverse proxy to have our stream available at port 443 and 80. Since the Shoutcast Stream URL for the YP directory can only be configured with a single port, this reverse proxy solution didn't do anything for the YP listing. We stopped using Nginx, and applied the SSL config settings from the DNAS configuration page using our existing SSL Letsencrypt certificates we used for Nginx before. We also had to apply the userid and licenceid configs from Your Plan page on the RMO site to the sc_serv config file. These config settings seem little known, not available in any WIKI, and also pretty hidden on the RMO page, as a light gray text on a white background: Quote:
These were our config lines in sc_serv.conf to get SSL to work: code: Hope this helps anyone! |
|
![]() |
![]() |
![]() |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|