multiple issues =>headache :)
  • Hello,
    About me, it seem a long and not yet finished story to get Airtime working :)

    Right after installing Airtime the final check was good
    (Debian 64bit grsec kernel)

    Airtime is now well connected with postgresql db
    then
    I've try to upload music :
    Airtime don't see uploaded track and is unable to detect my music in my "watched folder"
    Airtime is not connected to Icecast, it's always stuck on "Getting information from the server" in the web interface
    after investigating my log and ran the "/etc/init.d/airtime-media-monitor status" command

    AIRTIME_SERVER_RESPONDING      = OK
    KERNEL_VERSION                 = UNKNOWN
    MACHINE_ARCHITECTURE           = UNKNOWN
    TOTAL_MEMORY_MBYTES            = UNKNOWN
    TOTAL_SWAP_MBYTES              = UNKNOWN
    AIRTIME_VERSION                = UNKNOWN
    OS                             = Debian GNU/Linux 6.0.4 (squeeze) x86_64
    CPU                            = Intel(R) Core(TM) i3-2130 CPU @ 3.40GHz
    WEB_SERVER                     = A
    PLAYOUT_ENGINE_PROCESS_ID      = FAILED
    PLAYOUT_ENGINE_RUNNING_SECONDS = 0
    PLAYOUT_ENGINE_MEM_PERC        = 0%
    PLAYOUT_ENGINE_CPU_PERC        = 0%
    LIQUIDSOAP_PROCESS_ID          = FAILED
    LIQUIDSOAP_RUNNING_SECONDS     = 0
    LIQUIDSOAP_MEM_PERC            = 0%
    LIQUIDSOAP_CPU_PERC            = 0%
    MEDIA_MONITOR_PROCESS_ID       = FAILED
    MEDIA_MONITOR_RUNNING_SECONDS  = 0
    MEDIA_MONITOR_MEM_PERC         = 0%
    MEDIA_MONITOR_CPU_PERC         = 0%
    RABBITMQ_PROCESS_ID            = FAILED
    RABBITMQ_RUNNING_SECONDS       = 0
    RABBITMQ_MEM_PERC              = 0%
    RABBITMQ_CPU_PERC              = 0%

    In pypo-liquidsoap log : (ls_script.log)
    2012/05/13 14:50:09 [airtime_128:3] Connecting mount airtime_128 for admin@127.0.0.1...
    2012/05/13 14:50:09 [airtime_128:2] Connection failed: 401, Authentication Required (HTTP/1.0)
    2012/05/13 14:50:09 [lang:3] /usr/lib/airtime/pypo/bin/liquidsoap_scripts/notify.sh --error='401, Authentication Required (HTTP/1.0)' --stream-id=1 --time=1336910144.76
    2012/05/13 14:50:09 [airtime_128:3] Will try again in 5.00 sec.

    In pypo.log
    <html><head>
    <title>404 Not Found</title>
    </head><body>
    <h1>Not Found</h1>
    <p>The requested URL /api/version/api_key/HLT935MODL7XM9BRW91K was not found on this server.</p>
    </body></html>

    2012-05-13 14:51:26,046 ERROR - [api_client.py : __get_airtime_version() : line 213] - Unable to detect Airtime Version - No JSON object could be decoded
    2012-05-13 14:51:26,046 INFO - [api_client.py : is_server_compatible() : line 239] - Unable to get Airtime version number.

    2012-05-13 14:51:27,195 DEBUG - [pypo-notify.py : notify_liquidsoap_status() : line 88] - #################################################
    2012-05-13 14:51:27,195 DEBUG - [pypo-notify.py : notify_liquidsoap_status() : line 89] - # Calling server to update liquidsoap status    #
    2012-05-13 14:51:27,195 DEBUG - [pypo-notify.py : notify_liquidsoap_status() : line 90] - #################################################
    2012-05-13 14:51:27,195 DEBUG - [pypo-notify.py : notify_liquidsoap_status() : line 91] - msg = 401, Authentication Required (HTTP/1.0)
    2012-05-13 14:51:27,197 ERROR - [api_client.py : notify_liquidsoap_status() : line 594] - Exception: HTTP Error 404: Not Found
    2012-05-13 14:51:27,197 DEBUG - [pypo-notify.py : notify_liquidsoap_status() : line 93] - Response: null

    in media-monitor.log
    2012-05-13 14:54:24,485 ERROR - [MainThread] [api_client.py : register_component()] : LINE 577 - Exception: HTTP Error 404: Not Found
    2012-05-13 14:54:24,485 INFO - [MainThread] [MediaMonitor.py : <module>()] : LINE 39 - Setting up monitor
    2012-05-13 14:54:24,486 ERROR - [MainThread] [api_client.py : setup_media_monitor()] : LINE 413 - Exception: No JSON object could be decoded
    Post edited by Fred Percevault at 2012-05-13 09:10:04
  • 3 Comments sorted by
  • Vote Up0Vote Down NaomiNaomi
    Posts: 228Member
    What is the url for your radio station? It is not at localhost?

    If not you must change the host in this file

    /etc/airtime/airtime.conf
    (it will say currently host = localhost)

    then you have to restart the services

    sudo service airtime-media-monitor restart
    sudo service airtime-playout restart
  • Also please verify that Airtime is running on port 80. If not, you will have to make these changes to the config files as well. 
    Airtime Pro Hosting: http://airtime.pro
  • Big thank Naomi.
    (and Martin )

    pff "localhost" ...i'm dumb....I will remember next time, never install/setup software in a middle of the night :)

    It's works.

    For sure I will be back with fothers questions :)