Airtime 2.5.1 | Getting information from the server...
  • Hi!
    I run 3 Airtime Server mon my radio.
    and 2 of them have the same probleme at the same time

    first stream page say "Connected to the streaming server"
    exept for stream 2 

    "Can not connect to the streaming server

    bad answer: Stream In Use"

    but, Stream 2 on my shoutcast server is empty. and 1 & 3 is down.


    On Airtime 3 i'v got the same problem i try to restart all Airtime services and now all the 3 Stream is stuck on 

    "Getting information from the server..."


    i give you some logs.


    sirius@CS30:~$ airtime-test-stream -v -o shoutcast -H stream2.cloudsdaleradio.Com -P 8000 -u USER -p PASSWORD

    Protocol: shoutcast

    Host: stream2.cloudsdaleradio.com

    Port: 8000

    User: USER

    Password: PASSWORD

    Outputting to shoutcast streaming server. You should be able to hear a monotonous tone on 'http://stream2.cloudsdaleradio.Com:8000/test'. Press ctrl-c to quit.

    airtime-liquidsoap /usr/lib/airtime/pypo/bin/liquidsoap_scripts/library/pervasives.liq 'output.shoutcast(%mp3, host="stream2.cloudsdaleradio.Com", port = 8000, user= "USER", password = "PASSWORD", sine())'

    2016/12/07 20:12:52 >>> LOG START

    2016/12/07 20:12:52 [protocols.external:3] Found "/usr/bin/wget".

    2016/12/07 20:12:52 [main:3] Liquidsoap 1.1.1

    2016/12/07 20:12:52 [main:3] Using: graphics=[distributed with Ocaml] pcre=7.0.4 dtools=0.3.1 duppy=0.5.1 duppy.syntax=0.5.1 cry=0.2.2 mm=0.2.1 xmlplaylist=0.1.3 lastfm=0.3.0 ogg=0.4.5 vorbis=0.6.1 opus=0.1.0 speex=0.2.0 mad=0.4.4 flac=0.1.1 flac.ogg=0.1.1 dynlink=[distributed with Ocaml] lame=0.3.2 shine=0.2.0 gstreamer=0.2.0 frei0r=0.1.0 voaacenc=0.1.0 theora=0.3.0 schroedinger=0.1.0 gavl=0.1.5 bjack=0.1.4 alsa=0.2.1 ao=0.2.0 samplerate=0.1.2 taglib=0.3.1 magic=0.7.3 camomile=0.8.4 inotify=1.0 faad=0.3.2 soundtouch=0.1.7 portaudio=0.2.0 pulseaudio=0.1.2 ladspa=0.1.4 dssi=0.1.1 sdl=0.9.1 camlimages=4.0.0 lo=0.1.0 yojson=1.1.8 gd=1.0a5

    2016/12/07 20:12:52 [dynamic.loader:3] Could not find dynamic module for fdkaac encoder.

    2016/12/07 20:12:52 [dynamic.loader:3] Could not find dynamic module for aacplus encoder.

    2016/12/07 20:12:52 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/ogg.cmxs.

    2016/12/07 20:12:52 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/flac.cmxs.

    2016/12/07 20:12:52 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/faad.cmxs.

    2016/12/07 20:12:52 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/lame.cmxs.

    2016/12/07 20:12:52 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/vorbis.cmxs.

    2016/12/07 20:12:52 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/cry.cmxs.

    2016/12/07 20:12:52 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/voaacenc.cmxs.

    2016/12/07 20:12:52 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/mad.cmxs.

    2016/12/07 20:12:52 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/flac_ogg.cmxs.

    2016/12/07 20:12:52 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/pulseaudio.cmxs.

    2016/12/07 20:12:52 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/taglib.cmxs.

    2016/12/07 20:12:52 [frame:3] Using 44100Hz audio, 25Hz video, 44100Hz master.

    2016/12/07 20:12:52 [frame:3] Frame size must be a multiple of 1764 ticks = 1764 audio samples = 1 video samples.

    2016/12/07 20:12:52 [frame:3] Targetting 'frame.duration': 0.04s = 1764 audio samples = 1764 ticks.

    2016/12/07 20:12:52 [frame:3] Frames last 0.04s = 1764 audio samples = 1 video samples = 1764 ticks.

    2016/12/07 20:12:52 [threads:3] Created thread "generic queue #1".

    2016/12/07 20:12:52 [threads:3] Created thread "generic queue #2".

    2016/12/07 20:12:52 [output(dot)shoutcast:3] Connecting mount / for source@stream2.cloudsdaleradio.Com...

    2016/12/07 20:12:52 [output(dot)shoutcast:3] Connection setup was successful.

    2016/12/07 20:12:52 [threads:3] Created thread "wallclock_main" (1 total).

    2016/12/07 20:12:52 [clock.wallclock_main:3] Streaming loop starts, synchronized with wallclock.

    2016/12/07 20:30:17 [main:3] Shutdown started!

    2016/12/07 20:30:17 [main:3] Waiting for threads to terminate...

    2016/12/07 20:30:17 [output(dot)shoutcast:3] Closing connection...

    2016/12/07 20:30:17 [clock.wallclock_main:3] Streaming loop stopped.

    2016/12/07 20:30:17 [threads:3] Thread "wallclock_main" terminated (0 remaining).

    2016/12/07 20:30:17 [main:3] Cleaning downloaded files...

    2016/12/07 20:30:17 [main:3] Freeing memory...

    2016/12/07 20:30:17 >>> LOG END

    (at this time we can hear a bip on all server)


    root@CS30:~# invoke-rc.d airtime-liquidsoap status

    ● airtime-liquidsoap.service - LSB: Liquidsoap daemon

       Loaded: loaded (/etc/init.d/airtime-liquidsoap)

       Active: active (exited) since Wed 2016-12-07 20:30:49 CET; 29min ago

      Process: 29622 ExecStop=/etc/init.d/airtime-liquidsoap stop (code=exited, status=0/SUCCESS)

      Process: 29639 ExecStart=/etc/init.d/airtime-liquidsoap start (code=exited, status=0/SUCCESS)


    Dec 07 20:30:49 CS30 airtime-liquidsoap[29639]: File "/usr/lib/python2.7/urllib2.py", line 475, in error

    Dec 07 20:30:49 CS30 airtime-liquidsoap[29639]: return self._call_chain(*args)

    Dec 07 20:30:49 CS30 airtime-liquidsoap[29639]: File "/usr/lib/python2.7/urllib2.py", line 409, in _call_chain

    Dec 07 20:30:49 CS30 airtime-liquidsoap[29639]: result = func(*args)

    Dec 07 20:30:49 CS30 airtime-liquidsoap[29639]: File "/usr/lib/python2.7/urllib2.py", line 558, in http_error_default

    Dec 07 20:30:49 CS30 airtime-liquidsoap[29639]: raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)

    Dec 07 20:30:49 CS30 airtime-liquidsoap[29639]: HTTPError: HTTP Error 404: Not Found

    Dec 07 20:30:49 CS30 airtime-liquidsoap[29639]: Unable to connect to the Airtime server.

    Dec 07 20:30:49 CS30 airtime-liquidsoap[29639]: Done.

    Dec 07 20:30:49 CS30 systemd[1]: Started LSB: Liquidsoap daemon.

    root@CS30:~#

    (Sorry i cant find log location for this..)

  • 5 Comments sorted by
  • UPDATE

    look like i find the problem.
    but i cant solve it.
    Liquidsoap look broken. i cant start it.

    root@CS30:~# /etc/init.d/airtime-liquidsoap start
    * Starting Liquidsoap Playout Engine without Monit process watchdog. To make sure Monit is watching
    * Liquidsoap, use 'start-with-monit' instead of 'start'.
    Starting Liquidsoap Playout Engine: start-with-monit
    Unable to connect to the Airtime server.
    HTTP Error 404: Not Found
    traceback: Traceback (most recent call last):
      File "generate_liquidsoap_cfg.py", line 37, in <module>
        ss = ac.get_stream_setting()
      File "/usr/lib/airtime/api_clients/api_client.py", line 414, in get_stream_setting
        return self.services.get_stream_setting()
      File "/usr/lib/airtime/api_clients/api_client.py", line 137, in __call__
        f = urllib2.urlopen(req)
      File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen
        return opener.open(url, data, timeout)
      File "/usr/lib/python2.7/urllib2.py", line 437, in open
        response = meth(req, response)
      File "/usr/lib/python2.7/urllib2.py", line 550, in http_response
        'http', request, response, code, msg, hdrs)
      File "/usr/lib/python2.7/urllib2.py", line 475, in error
        return self._call_chain(*args)
      File "/usr/lib/python2.7/urllib2.py", line 409, in _call_chain
        result = func(*args)
      File "/usr/lib/python2.7/urllib2.py", line 558, in http_error_default
        raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
    HTTPError: HTTP Error 404: Not Found

    Done.
  • just go under stream settings and chane the type from ogg to mp3.

    hope that work
    Anyone reading this a find it funny about my grammar , I make no apology ,Go get a translator.
    "The Problem with education today is that it takes a university degree to switch on a light bulb"
    "You learn from your mistakes but wise people learn from others mistakes avoid Making mistakes there is not sufficient rooms to make them"
    "Innuendo","If's","Assumptions" and "Fear" are for politician.Who,What,where,When and How are for those seeking knowledge and care about Humanity.
    "I might be in Mud but that does not Make me a Wild Hog(pig)"
    “Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius — and a lot of courage to move in the opposite direction.”
    "The only thing that remains constant is change itself"
    May the force be with you,until our path or destiny bring us in tandem.
  • it's already MP3.
    image
  • and now all of my station have this "bug"...
    look like Airtime dont like debian updating... uh.
    Post edited by Sirius α77II at 2016-12-17 09:56:27
  • what version of airtime are you using?
    Anyone reading this a find it funny about my grammar , I make no apology ,Go get a translator.
    "The Problem with education today is that it takes a university degree to switch on a light bulb"
    "You learn from your mistakes but wise people learn from others mistakes avoid Making mistakes there is not sufficient rooms to make them"
    "Innuendo","If's","Assumptions" and "Fear" are for politician.Who,What,where,When and How are for those seeking knowledge and care about Humanity.
    "I might be in Mud but that does not Make me a Wild Hog(pig)"
    “Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius — and a lot of courage to move in the opposite direction.”
    "The only thing that remains constant is change itself"
    May the force be with you,until our path or destiny bring us in tandem.