first of all: my English isn’t very good, I’m sorry for that.
I’m using Volumio since over 3 years with spotify. In this time I had often problems with playing music. Sometimes the spotify app can’t connect to the the volumio, but can’t start to play. The play-button shows the right symbol, but the time isn’t runing. Sometimes it helps to change the song, but the most time not.
Often the spotify app can’t connect to the volumio, the volumio app can do. But if I want to start music from the volumio app, it doesn’t work.
A few weeks ago it was over days reproducible: If I came home (after spotify played musiv over bluetooth on the car) I could connect and play. After sopping in the night and restart in the morning it doesn’t work.
Most times of the problem, about 99 %, I have to reboot the volumio and after that it’s work. Really only sometimes where 1 to 2 weeks no problems and it works fine.
I don’t know if the problem is on side of spotify or volumio.
The volumio is doing auto update, so it was over many versions.
Where can I find the logs, respectively which do I need, for finding the problem?
As reported a restart often fix the problem. But I don’t want anymore to restart it sometimes several times a day
everything is up to date
I tried several times to reinstall plugin and volumio, problem still exist
account is active, it’s possible to play an the smartphone and by changing to play on volumio there often the problems until restart the volumio
I don’t know if the current logs helps, because the connections today worked, but they’re here: http://logs.volumio.org/volumio/yIbgmqS.html . I’ll post a new link/log, when to problem comes next time.
What stands out from the supplied logs based on multitude of occerncies:
Jan 04 21:37:59 home-music kernel: hwmon hwmon1: Voltage normalised
Jan 04 21:38:02 home-music kernel: hwmon hwmon1: Undervoltage detected!
...
Jan 05 06:35:42 home-music kernel: hwmon hwmon1: Voltage normalised
Jan 05 06:35:44 home-music kernel: hwmon hwmon1: Undervoltage detected!
Jan 05 07:52:34 home-music go-librespot[1101]: time="2025-01-05T07:52:34+01:00" level=error msg="failed receiving dealer message" error="failed to get reader: received close frame: status = StatusGoingAway and reason = \"\""
Jan 05 07:52:34 home-music go-librespot[1101]: time="2025-01-05T07:52:34+01:00" level=error msg="failed receiving packet" error="failed reading packet header: read tcp 192.168.178.43:42190->34.158.1.133:4070: use of closed network connection"
First part it is power budget issue. Can you tell me a bit more about your build please? What is connected to what and how?
Second part, on the surface, has characteristics of time drift.
@Wheaten - can you kindly use your magic to beat the Raspberry to the time foot-lock?
I’ve an 5 V/12 A power supply and about 30 cm wires to the volumio. Also an second Raspberry Pi and an Arduino Board is connected to the same power supply. If I measure the voltage during operation with all 3 devices I get 5,14 V.
Are the time drifts from the volumio or the spotify app? The IP address in the second row is from volumio.
Okay, I’ll set the time-service.
Now is waiting, if the problem comes again?
I’ve checked the wiring a second time: wtf? From power supply to distributor is losing over 300 mV I think I’ve to change something…
Now there is 5,23 V on the distributor and 5,54 V on the power supply. I’ll see, if this helps. And change the wiring next time…
Thank you for your help
The power supply is an MeanWell enclosed. From this are 2,5 mm² wired to terminal clamps. From the clamps is a open End<->USB cable to the Pi. Otherwise is only an ethernet cable, an HiFiBerry DAC+ pro XLR Board and the XLR sound cables connected to this Pi.
Good morning,
the next failure behavior about 20 minutes ago:
it connects immediately and disconnect after pressing play. It’s not possible to connect again, it needs an reboot first. http://logs.volumio.org/volumio/XvIMewS.html
As @nerd already mentioned, you have power issues. With low voltages the behaviour of the rPi becomes unstable. Please test again with an official rPi PSU.
Jan 08 04:50:40 home-music kernel: hwmon hwmon1: Undervoltage detected!
Jan 08 04:50:55 home-music kernel: hwmon hwmon1: Voltage normalised
Jan 08 04:51:01 home-music kernel: hwmon hwmon1: Undervoltage detected!
Jan 08 04:51:16 home-music kernel: hwmon hwmon1: Voltage normalised
Jan 08 04:51:18 home-music kernel: hwmon hwmon1: Undervoltage detected!
Jan 08 04:51:26 home-music kernel: hwmon hwmon1: Voltage normalised
Jan 08 04:51:30 home-music kernel: hwmon hwmon1: Undervoltage detected!
Jan 08 04:51:37 home-music kernel: hwmon hwmon1: Voltage normalised
Jan 08 04:51:41 home-music kernel: hwmon hwmon1: Undervoltage detected!