# Great silence on the stream

**URL:** <https://discourse.libretime.org/t/great-silence-on-the-stream/31>\
**Category:** Get Help\
**Created:** [October 19, 2017, 6:23pm UTC](https://discourse.libretime.org/t/great-silence-on-the-stream/31 "2017-10-19T18:23:23Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![robbt](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/robbt/32/15_2.png) [@robbt](https://discourse.libretime.org/u/robbt)\
**Post date:** [October 19, 2017, 6:23pm UTC](https://discourse.libretime.org/t/great-silence-on-the-stream/31/1 "2017-10-19T18:23:24Z")

</div>

_From @rallep71 on Sun Sep 17 2017 10:36:28 GMT+0000 (UTC)_  
  
Ubuntu 14.04, 16.04, Great silence on the stream…

/var/log/airtime/pypo/pypo.log  
017-09-17 12:28:40,930 [**main**] [INFO] New locale set to: en\_US.UTF-8  
2017-09-17 12:28:40,931 [**main**] [INFO] ###########################################  
2017-09-17 12:28:40,931 [**main**] [INFO] # \*\*\* pypo \*\*\* #  
2017-09-17 12:28:40,932 [**main**] [INFO] # Liquidsoap Scheduled Playout System #  
2017-09-17 12:28:40,932 [**main**] [INFO] ###########################################  
2017-09-17 12:28:40,932 [**main**] [INFO] Timezone: (‘CET’, ‘CEST’)  
2017-09-17 12:28:40,932 [**main**] [INFO] UTC time: 2017-09-17 10:28:40.932253  
2017-09-17 12:28:40,935 [api\_client] [INFO] Unable to get Airtime API version number.

2017-09-17 12:28:46,064 [api\_client] [INFO] Airtime API version found: 1.1  
2017-09-17 12:28:46,064 [api\_client] [INFO] pypo is only compatible with API version: 1.1  
2017-09-17 12:28:46,107 [**main**] [ERROR] HTTP Error 500: Internal Server Error  
2017-09-17 12:28:56,156 [**main**] [ERROR] HTTP Error 500: Internal Server Error  
2017-09-17 12:29:06,205 [**main**] [ERROR] HTTP Error 500: Internal Server Error  
2017-09-17 12:29:16,258 [**main**] [ERROR] HTTP Error 500: Internal Server Error  
2017-09-17 12:29:26,299 [**main**] [ERROR] HTTP Error 500: Internal Server Error  
2017-09-17 12:29:36,341 [**main**] [ERROR] HTTP Error 500: Internal Server Error  
2017-09-17 12:29:46,400 [**main**] [ERROR] HTTP Error 500: Internal Server Error  
2017-09-17 12:29:56,444 [**main**] [ERROR] HTTP Error 500: Internal Server Error  
2017-09-17 12:30:06,492 [**main**] [ERROR] HTTP Error 500: Internal Server Error  
2017-09-17 12:30:16,545 [**main**] [ERROR] HTTP Error 500: Internal Server Error  
2017-09-17 12:30:26,584 [**main**] [ERROR] HTTP Error 500: Internal Server Error  
2017-09-17 12:30:36,625 [**main**] [ERROR] HTTP Error 500: Internal Server Error  
2017-09-17 12:30:46,686 [**main**] [ERROR] HTTP Error 500: Internal Server Error

/var/log/airtime/pypo-liquidsoap/ls\_script.log  
2017/09/17 12:28:47 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/ao.cmxs.  
2017/09/17 12:28:47 [frame:3] Using 44100Hz audio, 25Hz video, 44100Hz master.  
2017/09/17 12:28:47 [frame:3] Frame size must be a multiple of 1764 ticks = 1764 audio samples = 1 video samples.  
2017/09/17 12:28:47 [frame:3] Targetting ‘frame.duration’: 0.04s = 1764 audio samples = 1764 ticks.  
2017/09/17 12:28:47 [frame:3] Frames last 0.04s = 1764 audio samples = 1 video samples = 1764 ticks.  
2017/09/17 12:28:47 [lang:3] timeout --signal=KILL 45 pyponotify --liquidsoap-started &  
2017/09/17 12:28:47 [threads:3] Created thread “generic queue #1”.  
2017/09/17 12:28:47 [threads:3] Created thread “generic queue #2”.  
2017/09/17 12:28:47 [threads:3] Created thread “non-blocking queue #1”.  
2017/09/17 12:28:47 [threads:3] Created thread “non-blocking queue #2”.  
2017/09/17 12:28:47 [harbor:3] Adding mountpoint ‘/master’ on port 8001  
2017/09/17 12:28:47 [harbor:3] Adding mountpoint ‘/show’ on port 8002  
2017/09/17 12:28:47 [threads:3] Created thread “http polling” (1 total).  
2017/09/17 12:28:47 [live:3] Connecting mount live for [sd1live@sd1.webjab.de](mailto:sd1live@sd1.webjab.de)…  
2017/09/17 12:28:47 [live:3] Connection setup was successful.  
2017/09/17 12:28:47 [lang:3] timeout --signal=KILL 45 pyponotify --connect --stream-id=1 --time=1505644127.11 &  
2017/09/17 12:28:47 [threads:3] Created thread “wallclock\_main” (2 total).  
2017/09/17 12:28:47 [clock.wallclock\_main:3] Streaming loop starts, synchronized with wallclock.  
2017/09/17 12:28:47 [dummy:3] Source failed (no more tracks) stopping output…  
2017/09/17 12:28:47 [dummy(dot)1:3] Source failed (no more tracks) stopping output…  
2017/09/17 12:28:47 [dummy(dot)2:3] Source failed (no more tracks) stopping output…  
2017/09/17 12:28:47 [dummy(dot)3:3] Source failed (no more tracks) stopping output…  
2017/09/17 12:28:47 [dummy(dot)4:3] Source failed (no more tracks) stopping output…  
2017/09/17 12:28:47 [map\_metadata\_5637:3] Inserting missing metadata.  
2017/09/17 12:28:47 [master\_show\_schedule\_noise\_switch:3] Switch to show\_schedule\_noise\_switch.  
2017/09/17 12:28:47 [show\_schedule\_noise\_switch:3] Switch to schedule\_noise\_switch.  
2017/09/17 12:28:47 [schedule\_noise\_switch:3] Switch to map\_metadata\_5637.

/var/log/airtime/airtime\_analyzer.log  
2017-09-17 12:28:40,892 [message\_listener] [ERROR] Connection to message queue failed.  
2017-09-17 12:28:40,892 [message\_listener] [ERROR] 1  
2017-09-17 12:28:40,893 [message\_listener] [INFO] Retrying in 5 seconds…  
2017-09-17 12:28:45,942 [message\_listener] [INFO] Listening for messages…  
  
_Copied from original issue: [https://github.com/LibreTime/libretime/issues/299](https://github.com/LibreTime/libretime/issues/299)_

---

<div class="post-metadata">

**Author:** ![robbt](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/robbt/32/15_2.png) [@robbt](https://discourse.libretime.org/u/robbt)\
**Post date:** [October 19, 2017, 6:23pm UTC](https://discourse.libretime.org/t/great-silence-on-the-stream/31/2 "2017-10-19T18:23:26Z")

</div>

_From @rallep71 on Sun Sep 17 2017 16:15:42 GMT+0000 (UTC)_  
  
Musste die host Datei noch bearbeiten…keine Ahnung warum…  
127.0.0.1 localhost  
[85.214.xxx.xxx](http://85.214.xxx.xxx)[xxx.xxx.de](http://xxx.xxx.de) xxx  
::1 localhost ip6-localhost ip6-loopback  
ff02::1 ip6-allnodes  
ff02::2 ip6-allrouters

# Auto-generated hostname. Please do not remove this comment.

[85.214.xxx.xxx](http://85.214.xxx.xxx) [xxx.stratoserver.net](http://xxx.stratoserver.net) xxxx  
danach geht es perfekt, Mercy 😉  
Closed Issue

---

<div class="post-metadata">

**Author:** ![robbt](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/robbt/32/15_2.png) [@robbt](https://discourse.libretime.org/u/robbt)\
**Post date:** [October 19, 2017, 6:23pm UTC](https://discourse.libretime.org/t/great-silence-on-the-stream/31/3 "2017-10-19T18:23:26Z")

</div>

_From @hairmare on Mon Sep 18 2017 17:29:42 GMT+0000 (UTC)_  
  
I’m not sure why you needed to hack your `/etc/hosts`. In most cases the URL used in airtime.conf should resolve properly using an external DNS.

---

<div class="post-metadata">

**Author:** ![robbt](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/robbt/32/15_2.png) [@robbt](https://discourse.libretime.org/u/robbt)\
**Post date:** [October 19, 2017, 6:23pm UTC](https://discourse.libretime.org/t/great-silence-on-the-stream/31/4 "2017-10-19T18:23:27Z")

</div>

_From @Robbt on Tue Sep 19 2017 20:51:05 GMT+0000 (UTC)_  
  
Actually I think the lack of a /etc/hosts pointing to the local IP has caused my station some issues as well but mainly because we are using a OpenVPN connection to allow access to our server without modifying the firewall where our transmitter is located. Sometimes there are brief outages and because the DNS attempts to resolve to an external IP and then access itself via the OpenVPN IP it then causes issues with scheduling etc for Pypo. So for our libretime box located at our transmitter we have had to add the hostname pointing at 127.0.0.1 so that it will bypass any DNS resolution lookup failures.

---

<div class="post-metadata">

**Author:** ![robbt](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/robbt/32/15_2.png) [@robbt](https://discourse.libretime.org/u/robbt)\
**Post date:** [October 19, 2017, 6:23pm UTC](https://discourse.libretime.org/t/great-silence-on-the-stream/31/5 "2017-10-19T18:23:27Z")

</div>

_From @squiggleuk on Sat Oct 07 2017 17:42:06 GMT+0000 (UTC)_  
  
I’m seeing a very similar issue on a LibreTime install that I started on today…

- On air light is not red, but tracks show as playing to the left of it.
- Icecast stream shows the offline metadata text
- pypo log is showing HTTP 500 error on requests to ‘/api/register-component/format/json/api\_key/#############/component/pypo’
- airtime\_anaylzer.log is showing ‘[message\_listener] [ERROR] Connection to message queue failed’ and retrying every 5 sec.

I’m not really sure where to start debugging this. OS is Ubuntu 16.04LTS.

Checking my hosts file, I have ‘127.0.0.1 localhost servername’ so a ping to servername or localhost resolves to 127.0.0.1

Any help appreciated!

---

<div class="post-metadata">

**Author:** ![robbt](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/robbt/32/15_2.png) [@robbt](https://discourse.libretime.org/u/robbt)\
**Post date:** [October 19, 2017, 6:23pm UTC](https://discourse.libretime.org/t/great-silence-on-the-stream/31/6 "2017-10-19T18:23:28Z")

</div>

_From @squiggleuk on Sat Oct 07 2017 18:16:33 GMT+0000 (UTC)_  
  
Typical, you spend ages trying to figure something out, eventually reach out for help, then figure it moments later!!

It was the same issue with hosts file. I had  
127.0.0.1 localhost servername

What I needed was  
127.0.0.1 locahost servername servername.domain.tld

Clues about name resolution were in /var/log/airtime/pypo/notify.log for others ending up poking around here in future!

---

<div class="post-metadata">

**Author:** ![robbt](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/robbt/32/15_2.png) [@robbt](https://discourse.libretime.org/u/robbt)\
**Post date:** [October 19, 2017, 6:23pm UTC](https://discourse.libretime.org/t/great-silence-on-the-stream/31/7 "2017-10-19T18:23:28Z")

</div>

_From @Robbt on Sat Oct 07 2017 18:17:10 GMT+0000 (UTC)_  
  
Hey SquiggleUK I commented out your API key because that shouldn’t be publically posted for security reasons.

Glad you figured it out.

---

<div class="post-metadata">

**Author:** ![robbt](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/robbt/32/15_2.png) [@robbt](https://discourse.libretime.org/u/robbt)\
**Post date:** [October 19, 2017, 6:23pm UTC](https://discourse.libretime.org/t/great-silence-on-the-stream/31/8 "2017-10-19T18:23:29Z")

</div>

_From @squiggleuk on Sat Oct 07 2017 18:17:32 GMT+0000 (UTC)_  
  
Ah, cheers for that 😉
