2.0.1 can not streaming to icecast2
  • I've just installed the latest version 2.0.1 and i have icecast in other machine. The airtime can not connect to icecast2 server.
    this is the message at web browser:

    Can not connect to the streaming server

    401, Authentication Required (HTTP 1.0)

    I follow instruction from this thread http://forum.sourcefabric.org/discussion/11438/1.8.2-not-streaming-to-icecast/p1
    but did not solve my problem so i make this new title.

    this is the airtime-check-system
    # airtime-check-system
    AIRTIME_STATUS_URL             = http://localhost/api/status/format/json/api_key/%%api_key%%
    AIRTIME_SERVER_RESPONDING      = OK
    KERNEL_VERSION                 = 2.6.38-8-generic
    MACHINE_ARCHITECTURE           = i686
    TOTAL_MEMORY_MBYTES            = 1014448
    TOTAL_SWAP_MBYTES              = 538140
    AIRTIME_VERSION                = 2.0.1
    OS                             = Ubuntu 11.04 i686
    CPU                            = Intel(R) Atom(TM) CPU N550   @ 1.50GHz
    WEB_SERVER                     = Apache/2.2.17 (Ubuntu)
    PLAYOUT_ENGINE_PROCESS_ID      = 4727
    PLAYOUT_ENGINE_RUNNING_SECONDS = 44160
    PLAYOUT_ENGINE_MEM_PERC        = 0.5%
    PLAYOUT_ENGINE_CPU_PERC        = 0.0%
    LIQUIDSOAP_PROCESS_ID          = 4730
    LIQUIDSOAP_RUNNING_SECONDS     = 44160
    LIQUIDSOAP_MEM_PERC            = 1.7%
    LIQUIDSOAP_CPU_PERC            = 4.2%
    MEDIA_MONITOR_PROCESS_ID       = 1308
    MEDIA_MONITOR_RUNNING_SECONDS  = 45465
    MEDIA_MONITOR_MEM_PERC         = 0.7%
    MEDIA_MONITOR_CPU_PERC         = 0.0%
    SHOW_RECORDER_PROCESS_ID       = 1331
    SHOW_RECORDER_RUNNING_SECONDS  = 45464
    SHOW_RECORDER_MEM_PERC         = 0.5%
    SHOW_RECORDER_CPU_PERC         = 0.0%
    RABBITMQ_PROCESS_ID            = 1502
    RABBITMQ_RUNNING_SECONDS       = 45450
    RABBITMQ_MEM_PERC              = 0.6%
    RABBITMQ_CPU_PERC              = 0.0%

    -- Your installation of Airtime looks OK!


    1024 x 600 - 86K
  • 8 Comments sorted by
  • That IP is a remote machine or that of your local machine?
    Airtime Pro Hosting: http://airtime.pro
  • that IP is a remote machine.
  • this is the icecast2 server : http://119.235.30.232:8000/ and i run airtime from my local machine that connected to internet.
  • Hi,

    As it says on the streaming setting page, "401, Authentication Required (HTTP 1.0)", can you please confirm your user/pass on streaming setting page matches user/pass on icecase?
  • yes, user and password at the icecast2 = user and password at additional options at stream setting airtime. so what must to do next ?
  • Does your password have any weird characters in it? We have a bug in 2.0.1 that is fixed in 2.0.2 regarding strange characters.

    The icecast username/password is passed from the Web UI into /etc/airtime/liquidsoap.cfg. Can you see if it was properly written there?
    Airtime Pro Hosting: http://airtime.pro
  • there is no weird character from my password. i just use a-z and 0-9.
    this is the liquidsoap.cfg

    ################################################
    # THIS FILE IS AUTO GENERATED. DO NOT CHANGE!! #
    ################################################
    s1_enable = true
    s1_type = "ogg"
    s1_bitrate = 128
    s1_output = "icecast"
    s1_host = "119.235.30.232"
    s1_port = 8000
    s1_pass = "myicecast2password"
    s1_genre = "genre"
    s1_url = "http://119.235.30.232:8000"
    s1_description = "Radio Suara Bersatu 95.5"
    s1_mount = "sbfm"
    s1_user = "myicecast2user"
    s2_enable = false
    s2_type = "ogg"
    s2_bitrate = 48

  • Have you been able to connect to that icecast stream with other source players? 

    Do you have access to the icecast server? Go in there and double-check /etc/icecast2/icecast.xml file for the user credentials.
    Airtime Pro Hosting: http://airtime.pro