Replies: 1 comment 1 reply
-
It is essentially a timeout. Note that the interval between "Connecting"
and "Could not connect" messages is exactly 30 seconds - this is how long
rtl_airband waits for the shout socket to transition from the "busy" state
to "connected" state. When this timeout expires, the program emits the
"Could not connect" message together with the textual representation of the
current shout socket state (which is "busy" since it's still trying to
connect but rtl_airband does not want to wait any longer).
Do a "telnet xxxxxxx.duckdns.org 8000" from the machine where you run
rtl_airband. It will probably hang on "Connecting..." which probably means
your firewall or port forwarding is messed up. Once you fix this and you
are able to connect with telnet, then rtl_airband will connect as well.
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I've setup a few streams, and this is a new error for me. Everything was config'd at home and worked great (popped the squelch and had no trouble connecting via a DDNS and listening to the static). Deployed the unit onsite - connected to the network, updated the DDNS, launched RTLSDR with good levels...but no stream.mp3.
The error showing up in daemon.log is:
Port forwarding is good to go. I've tried a couple other ports, purged and reinstalled everything. Still getting the same error. Any insight you might have would be really appreciated. Googling "icecast" or "rtlsdr" and "socket is busy" is just a bunch of awkward silence.
Thanks! Cheers.
Error:
Oct 30 06:05:25 raspberrypi rtl_airband[5881]: Trying to reconnect to xxxxxx.duckdns.org:8000/stream.mp3...
Oct 30 06:05:25 raspberrypi rtl_airband[5881]: Connecting to xxxxxx.duckdns.org:8000/stream.mp3...
Oct 30 06:05:55 raspberrypi rtl_airband[5881]: Could not connect to xxxxxxx.duckdns.org:8000/stream.mp3: Socket is busy
rtl_airband.conf:
devices:
({
type = "rtlsdr";
index = 0; #RTL-SDR Number
gain = 32; #Gain Setting
correction = 0;
mode = "scan";
channels:
(
{
freqs = ( 257.8 );
#freqs = ( 257.8, 295.6, 310.8, 227.6, 234.4, 318.8, 340.1 ); #Add Freq's Here
#labels = ( "Ground", "Inner", "Outer", "Terminal", "CLNC Delivery", "Arrival", "Ops" ); #Label Update
#squelch_threshold = -80;
outputs: (
{
type = "icecast";
server = "xxxxxxx.duckdns.org";
port = 8000; #Port Number Setting
mountpoint = "stream.mp3";
name = "xxxxxxx"; #Name Of Your Choice
genre = "Air Traffic Control";
description = "xxxxxxxxx"; #Description Of Your Choice
username = "source";
password = "xxxxxxx"; #Icecast2 Password
send_scan_freq_tags = false;
}
);
}
);
}
);
Beta Was this translation helpful? Give feedback.
All reactions