Icecast2 Problems

Fixxx your Mixxx

Moderator: garth

Icecast2 Problems

Postby Taucher » Sun Feb 05, 2012 8:12 pm

Hi,

I want to connect to my own Icecast2-server, but it didn't work. The server definitely works. With ices2 and darkice the connection works well, only mixxx fails.

A few outputs:
Code: Select all
$ mixxx
...
Debug: [EngineSideChain 1]: EngineShoutcast: updating from preferences
Debug: [EngineSideChain 1]: Loaded libmp3lame version  3.99.3
Debug: [EngineSideChain 1]: Shoutcast failed connect. Failures: 1
Debug: [EngineSideChain 1]: Shoutcast failed connect. Failures: 2
Debug: [EngineSideChain 1]: Shoutcast failed connect. Failures: 3
Warning: [EngineSideChain 1]: Shoutcast error:  "Bitte überprüfen Sie die Internetverbindung und vergewissern Sie sich, dass Ihr Benutzername und Kennwort richtig sind."

english translation (more less): Please check your Internet connection and verify your username and password.
My LAN works and the user and password are right, as you see below.
On server:
Code: Select all
# cat /var/log/icecast/access.log
#

Code: Select all
# cat /var/log/icecast/error.log
...
[2012-02-05  21:03:45] DBUG stats/modify_node_event update node clients (0)
[2012-02-05  21:03:45] DBUG stats/modify_node_event update node sources (0)
[2012-02-05  21:04:00] DBUG stats/modify_node_event update node clients (1)
[2012-02-05  21:04:00] DBUG stats/modify_node_event update node connections (144)
[2012-02-05  21:04:01] DBUG stats/modify_node_event update node clients (2)
[2012-02-05  21:04:01] DBUG stats/modify_node_event update node connections (145)
[2012-02-05  21:04:01] DBUG stats/modify_node_event update node clients (1)
[2012-02-05  21:04:02] DBUG stats/modify_node_event update node clients (2)
[2012-02-05  21:04:02] DBUG stats/modify_node_event update node connections (146)
[2012-02-05  21:04:02] DBUG stats/modify_node_event update node clients (1)
[2012-02-05  21:04:03] DBUG stats/modify_node_event update node clients (0)

Most of the configuration is default:
Code: Select all
# cat /etc/icecast2/icecast.xml
...
<authentication>
        <!-- Sources log in with username 'source' -->
        <source-password>sourcePW</source-password>
...
    <hostname>nas</hostname>

    <!-- You can use these two if you only want a single listener -->
    <!--<port>8000</port> -->
    <!--<bind-address>127.0.0.1</bind-address>-->

    <!-- You may have multiple <listener> elements -->
    <listen-socket>
        <port>8000</port>
        <!-- <bind-address>127.0.0.1</bind-address> -->
    </listen-socket>
...

Mixxx configuration:
Code: Select all
$ cat .mixxx/mixxx.cfg
...
[Shoutcast]
servertype Icecast 2
mountpoint /mixxx.mp3
host nas
port 8000
login source
password sourcePW
stream_name
stream_website http://www.mixxx.org
stream_desc
stream_genre Live Mix
stream_public 0
bitrate 128 kbps
format MP3
channels Stereo
enable_metadata 0
custom_artist
custom_title
...

I use mixxx from today trunk on 64-bit Linux. Do you have an advice?

Currently I use the workaround to connect Mixxx output over jack with darkice, but a direct streaming would be much better.
Taucher
 
Posts: 20
Joined: Sun Jan 09, 2011 12:07 am

Re: Icecast2 Problems

Postby Pegasus » Tue Feb 07, 2012 9:11 pm

Hmm, usually this results from an incorrect username or password, but it looks like you have that correct. All I can do is refer you to our internet broadcasting wiki page. Double-check that the default username and password are correct for your server type.
"D.J. Pegasus"
Mixxx Developer - Controller Specialist
Mixxx Windows package maintainer
User avatar
Pegasus
Mixxx Developer
 
Posts: 1657
Joined: Thu Jan 29, 2009 7:48 pm
Location: Spangdahlem, RP, Germany

Re: Icecast2 Problems

Postby Taucher » Tue Feb 07, 2012 10:25 pm

I login with these data from two other programs without problems, but I will check it again. Is there a possibility to get more output from mixxx?
Taucher
 
Posts: 20
Joined: Sun Jan 09, 2011 12:07 am

Re: Icecast2 Problems

Postby Pegasus » Tue Feb 07, 2012 10:33 pm

Oh, okay, if you've already confirmed that it works elsewhere, then that's fine.

Unfortunately there isn't any more output available other than what you pasted above from the console/mixxx.log file. Hopefully one of the guys that worked on the broadcasting code can comment here because I don't know much about it.
"D.J. Pegasus"
Mixxx Developer - Controller Specialist
Mixxx Windows package maintainer
User avatar
Pegasus
Mixxx Developer
 
Posts: 1657
Joined: Thu Jan 29, 2009 7:48 pm
Location: Spangdahlem, RP, Germany


Return to Troubleshooting & FAQ

Who is online

Users browsing this forum: Bing [Bot] and 1 guest