10-17-2024, 12:58 PM (This post was last modified: 10-17-2024, 12:59 PM by rongon.)
Hi,
Running Moode 8.3.9 on a RPi 3B+ 1GB.
When I attempt to play a radio station I get an error "Failed to decode <URL>. CURL failed: Could not resolve host <curl>"
No audio plays.
I'm connected through wifi to my home network, using a static IP address for the RPi.
Music files connected through USB thumb drives to USB ports on the RPi play fine. It's just radio stations that won't play.
The behavior is the same connecting to Moode from a Windows PC or Android phone.
I restarted the RPi and behavior is unchanged.
Connected DAC is a Topping D10 (USB).
I'm happy to post any logs, screenshots, anything that might help understand what's happening, but I'm a networking a Linux noob. I'm likely to not understand some things. I apologize in advance for that.
Any guidance would be much appreciated. Thank you.
Best bet for getting support is to be on the latest version (9.1.3 as of today).
Having said that, is it all radio stations or just one/a few? If just a few, which stations? Can you get to the stations from other devices on the network?
10-17-2024, 01:10 PM (This post was last modified: 10-17-2024, 01:13 PM by rongon.)
Thanks for the instant reply.
It's all radio stations that will not play. I tested with several I know play fine on my other RPi4 that I use with my stereo.
The RPi 3B+ with the issue is in another location but is connected through wifi to the home network.
Example of error message says (for all stations, all URLs, all CURLs):
10-17-2024, 01:23 PM (This post was last modified: 10-17-2024, 01:24 PM by Phil35.)
Hi,
I checked on my side.
a ping of iheart.4zzz.org.au is working as expected, meaning it is pinging :-)
and the message you wrote " CURL failed: Could not resolve host <curl>"" indicates that the DNS don't do the job. something to check on your side?
Running Moode 8.3.9 on a RPi 3B+ 1GB.
When I attempt to play a radio station I get an error "Failed to decode <URL>. CURL failed: Could not resolve host <curl>"
No audio plays.
I'm connected through wifi to my home network, using a static IP address for the RPi.
Music files connected through USB thumb drives to USB ports on the RPi play fine. It's just radio stations that won't play.
The behavior is the same connecting to Moode from a Windows PC or Android phone.
I restarted the RPi and behavior is unchanged.
Connected DAC is a Topping D10 (USB).
I'm happy to post any logs, screenshots, anything that might help understand what's happening, but I'm a networking a Linux noob. I'm likely to not understand some things. I apologize in advance for that.
Any guidance would be much appreciated. Thank you.
Hi rongon,
Ì have experiencing the same problem: would you please try to configure the same static DNS address in the Ethernet section, even if the interface is not used?
Please let us know.
Best regards,
Francesco
10-31-2024, 09:15 PM (This post was last modified: 10-31-2024, 09:32 PM by TheOldPresbyope.
Edit Reason: added the preliminary ETA
)
(10-17-2024, 12:58 PM)rongon Wrote: Hi,
Running Moode 8.3.9 on a RPi 3B+ 1GB.
When I attempt to play a radio station I get an error "Failed to decode <URL>. CURL failed: Could not resolve host <curl>"
No audio plays.
I'm connected through wifi to my home network, using a static IP address for the RPi.
...
-----
ETA - I just tried using a static IP address on a moOde 9.1.4 player connected to a WiFi access point. It's working fine. Doing this reminded me that when you choose STATIC address method, five values have to be entered: the static IP address, a network mask (the default 255.255.255.0 works in most home networks), the gateway address (depends on your router), and the primary and secondary DNS addresses. I hope you filled them all with valid entries. Francesco's suggestion to edit the file /etc/resolv.conf is the equivalent of entering the two DNS addresses in the webUI. The addresses he suggests are well-known DNS which are very reliable.
-----
My original post: Why do you need to use a static IP address? As a check, what happens if you reset moOde to use DHCP and reboot? Can you now access the radio stations?
If you really need to use a static IP address (hint, almost nobody does these days), the normal procedure in a home network situation is to set the client (e.g., moOde) to use DHCP and to reserve the IP address for the client's MAC address on the home router. (Details on how to do that depend on the router; you'll have to look it up.)
As an aside, do your ISP and your router offer IPv6 as well as IPv4 services?
@Tim Curtis
Hi Tim,
it happens if you have a pi 3A (without Ethernet port): if you try to use the STATIC configuration for the WiFi port it does not save the DNS parameters.
Best regards and thanks,
Francesco
(10-31-2024, 10:25 PM)fdealexa Wrote: @Tim Curtis
Hi Tim,
it happens if you have a pi 3A (without Ethernet port): if you try to use the STATIC configuration for the WiFi port it does not save the DNS parameters.
Best regards and thanks,
Francesco
Wow, I didn't know that, thanks. I did my test on a 3B+ that was at hand.