Moode Forum

Full Version: GUI hangs with some webradios [5.2 & 4.19.40 kernel]
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hi,
when I try to listen to Radio Nova, http://novazz.ice.infomaniak.ch/novazz-128.mp3 , Moode 5.2 web interface stops responding.
Via my computer and web browser it plays fine, but does not have to get metadata from the stream. With an audio player (Vox) it takes some times to starts, like having hard times in getting the metadata. But after maybe a dozen of seconds it starts playing and shows program infos.
To be able to use moode again, but that radio of course, I need to reboot via SSH, wait far longer than a reboot via web page. All other radios work.
What do I need to monitor/do in order to get it working again? More important, how to get the GUI responding and letting me choose another radio without rebooting?
Thanks
Hi,

The symptoms suggest something external to moOde software for example a network issue, bad SDCard, etc. The French language station plays fine on my end but no metadata.

You might want to try pinging the host and then examining the statistics for %packet loss, long round trip times, other errors. Let the ping test run for 30 secs.

Here is an example of a brief test.
Code:
pi@rp3:~ $ ping novazz.ice.infomaniak.ch
PING ais7edge.ice.infomaniak.ch (185.74.70.9) 56(84) bytes of data.
64 bytes from aise7.infomaniak.ch (185.74.70.9): icmp_seq=1 ttl=49 time=127 ms
64 bytes from aise7.infomaniak.ch (185.74.70.9): icmp_seq=2 ttl=49 time=126 ms
64 bytes from aise7.infomaniak.ch (185.74.70.9): icmp_seq=3 ttl=49 time=131 ms
64 bytes from aise7.infomaniak.ch (185.74.70.9): icmp_seq=4 ttl=49 time=127 ms
64 bytes from aise7.infomaniak.ch (185.74.70.9): icmp_seq=5 ttl=49 time=128 ms
64 bytes from aise7.infomaniak.ch (185.74.70.9): icmp_seq=6 ttl=49 time=125 ms
64 bytes from aise7.infomaniak.ch (185.74.70.9): icmp_seq=7 ttl=49 time=127 ms
^C
--- ais7edge.ice.infomaniak.ch ping statistics ---
7 packets transmitted, 7 received, 0% packet loss, time 6006ms
rtt min/avg/max/mdev = 125.937/127.724/131.160/1.676 ms
pi@rp3:~ $
It plays on your Raspberry?!
Strange, everything (all other radios) plays flawlessly but that radio and then GUI crashes...

Quote:68 packets transmitted, 68 received, 0% packet loss, time 67097ms
rtt min/avg/max/mdev = 29.823/34.230/48.377/3.335 ms

and everything pings well...
Any command I can type to check what's going on? Of course deleted the radio, rebooted, added again and still that very radio crashing moode ='(
Also, after a restart, if I try this radio and no sound, I can clic another one and it will let me do it, but only once. Then if I select again this radio it's stuck. Need to reboot.
Maybe it's a coincidence, but the day before I went from 5.1 to 5.2 it was working just fine. Dubious enough for me Wink
Yes it plays fine on my Pi's.

What version of MPD are you running?
I've tried both included in 5.2. No change. Maybe I'll try another version of Moode.
3.8.4 same url: plays fine.
I'm lost.
Back to 5.2, deleted, added back, with our without image, burnt incense and made a prayer, changed stream link ( http://fluxradios.blogspot.com/2014/07/f...-nova.html )... this radio is cursed.
It could be due to this kernel issue
https://github.com/raspberrypi/linux/issues/2964

If you are able to test here are the cmds to install .34 or .40 kernel.

4.19.34
Code:
echo "y" | sudo PRUNE_MODULES=1 rpi-update 99c274691c07480762dcda91a0ebfe3c4f519307

4.19.40 (default for moOde 5.2)
Code:
echo "y" | sudo PRUNE_MODULES=1 rpi-update 6cb1da772a8c56f44591bec904046b15f1126949

Cleanup
Code:
sudo rm -rf /lib/modules.bak
sudo rm -rf /boot.bak
sudo apt-get clean

sudo reboot
I'll have a look tomorrow, btw thanks for your dedication, much appreciated Tim!
I'm using a RPi 2B and its OEM Ethernet, as described in the issue link.

4.19.34: that radio works!
back to
4.19.40: try to play it crashed moOde, still got the SSH access. Like in the link.

You've found the problem!
Hope they fix that ASAP, seems serious! I guess you'll wait for it to be fixed prior to any moOde upgrade?
The kernel dev's are very active at integrating fixes so I doubt it will take very long. Its odd though that I'm not experiencing any issue with that radio station using 4.19.40 Ethernet or WiFi.
(05-13-2019, 03:01 PM)Tim Curtis Wrote: [ -> ]The kernel dev's are very active at integrating fixes so I doubt it will take very long. Its odd though that I'm not experiencing any issue with that radio station using 4.19.40 Ethernet or WiFi.

@Tim Curtis

I just spun up a fresh moOde player using the r5.2 image. In Ethernet mode, I can ping the Radio Nova host but I get nothing when I try to play the stream. Same if I try wget:

Code:
pi@moode:~ $ ping novazz.ice.infomaniak.ch
PING ais7edge.ice.infomaniak.ch (185.74.70.4) 56(84) bytes of data.
64 bytes from aise2.infomaniak.ch (185.74.70.4): icmp_seq=1 ttl=55 time=95.6 ms
...


pi@moode:~ $ wget http://novazz.ice.infomaniak.ch/novazz-128.mp3
--2019-05-13 11:15:42--  http://novazz.ice.infomaniak.ch/novazz-128.mp3
Resolving novazz.ice.infomaniak.ch (novazz.ice.infomaniak.ch)... 185.74.70.4, 185.74.70.53, 185.74.70.52, ...
Connecting to novazz.ice.infomaniak.ch (novazz.ice.infomaniak.ch)|185.74.70.4|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [audio/mpeg]
Saving to: ‘novazz-128.mp3’

novazz-128.mp3          [            <=>     ]       0  --.-KB/s               


Rebooted into WiFi mode and I can now play the stream and I can wget it (a never-ending file of course):

Code:
pi@moode:~ $ wget http://185.74.70.57/novazz-128.mp3
--2019-05-13 11:36:46--  http://185.74.70.57/novazz-128.mp3
Connecting to 185.74.70.57:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [audio/mpeg]
Saving to: ‘novazz-128.mp3.2’

novazz-128.mp3.2        [              <=>   ] 226.73K  43.6KB/s               ^C

UPDATE: I used an IP address here but using the .ch hostname gives the same result.

Regards,
Kent
Pages: 1 2