Hello
I see than now we have icecast 2.5.0-1 in Testing. So I made some more test,
both in testing and in stable (this in our production server). I made all test
with the versions that I can install in Debian.
But first I can put here some subjects:
The darkice config that I was using is similar to this (look at the password
line):
[icecast2-0]
bitrateMode = cbr # average bit rate
format = mp3 # format of the stream: mp3
bitrate = 96 # bitrate of the stream sent to the server
server = localhost
# host name of the server
port = 8000 # port of the IceCast2 server, usually 8000
password = xxxxxx # source password to the IceCast2 server
mountPoint = xxxxxx # mount point of this stream on the IceCast2
...
I see now that it is not good. The file
/usr/share/doc/darkice/examples/darkice.cfg states that the password line for
an icecast server need to be:
# source password to the IceCast2 server
password = hackme
# there must not be a comment following the password
This is my fault. But this may be soo comun...
In this bugreport from upstream they talk about the same problem:
https://github.com/rafael2k/darkice/issues/187
Well, the test that I made are:
1. Our current situation that works (see my first email in this bug report):
icecast 2.4.4-4+b2 from stable (trixie) and darkice 1.3-0.3+b1 from oldstable
(bookworm): Darkice connects wiht icecast whith any pasword config format.
Good!!
2. The situation that is not working: icecast 2.4.4-4+b2 from stable (trixie)
and darkice 1.5-1 from stable (trixie): It can not connect with icecast in any
form, is the same if the password line is:
password = xxxxxx # source password to the IceCast2 server
or:
password = xxxxxx
or:
password=xxxxxx
In all cases the error of darkice in console is:
DarkIce: TcpSocket.cpp:264: connect error [111]
3. Another situation that IS WORKING: the new icecast 2.5.0-1 that is now
in testing, but installed from the upstream repository, see:
https://download.opensuse.org/repositories/multimedia:/xiph/
and darkice 1.5-1 from stable (trixie):
Whith this and the config:
password = xxxxxx # source password to the IceCast2 server
not connects and the error is:
DarkIce: IceCast2.cpp:258: Icecast2 - wrong password [0]
But if the config is (like stated in the example config file):
password = xxxxxx
or:
password=xxxxxx
it connects well!!
Sooo, a workarround for this in stable (trixie) whould be to install the
upstream icecast packages, or to made a backport for the icecast testing
package for stable and put this in the Debian backports respository (this
is the best)....
By the way, there is a new version of darkice (1.6) in the upstream repository
at: https://github.com/rafael2k/darkice/releases
I don`t test it as it is source only. The changelog 1.5 - 1.6:
https://github.com/rafael2k/darkice/compare/v1.5...v1.6
seems to not talk anything about this...
Many thanks for maintaining these pieces of code. I think that darkice in stable
need to be restore to be funtional, I don't know if is best to change the
icecast code (changing the version), or to made modifications to the darkice
code. Greetings. Martintxo.
----
Sustrai Erakuntza: respuesta jurídico-técnica a proyectos insostenibles.
proiektu jasangaitzei erantzun juridiko-teknikoa.
https://www.fundacionsustrai.org
https://www.sustraierakuntza.org