Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Solved: Unable to access from a Linux PC
#1
I've been using moOde audio as a music streamer/player for the last week, and I have it installed in a Raspberry Pi Zero W.

I've been able to use it without issues in most of my devices, but a laptop with a Linux based OS (Garuda, which is Arch based).

In my Windows PC and iPad I can access it on http://moode.local just fine. In my Android phone I can't access the domain, but accessing the IP directly works as intended.

In my Linux laptop, however, I can't access either the web front end or the music stream. As it happens with my phone, accessing the domain doesn't work. But when I try accessing the IP directly, the front end just keeps loading indefinitely, while the music stream play for a few seconds and stops abruptly.

Considering that I'm able to use both the web interface and the stream in the other devices, I'm wondering if there's anything I need to configure, on either my laptop or the moode device itself. I think it's unlikely I'll need to do anything about my music server, but I can't rule it out entirely.
Reply
#2
@Gemah

I’m 2500 miles from home and my moOde players ATM so can’t illustrate with data from them but

1. Android OS as released by Google has supported the .local pseudo-domain for several years. My current Google Pixel 6a (Android version 14) and my previous Pixel 3a both supported it. Depending on the vendor of your phone (each has their own customization  of Android) and the base version of Android on it, your phone may or may not.

2. Don’t know why the .local pseudo-domain isn’t recognized by the DNS resolver on your Linux system. Most that I’ve worked with, including my Linux Mint laptop and my Debian server, have the  avahi-daemon enabled “out of the box”. It uses mDNS to deal with local addresses.

Regards,
Kent
Reply
#3
Hello Kent, thanks for the information on mDNS. I'm pretty sure I can't access my moode device with the domain while on my phone. But I can use the IP just fine, so I don't really mind not being able to use it in my phone, specifically.

However, with my laptop I'm not being able to reach either the domain or the IP directly. I checked up and the avahi-daemon is running. I can even ping the IP and it does reach the device. But when I try accessing the web player with any browser, it just timeouts and it fails to reach it. I'm really clueless as to what could be going on with my laptop, and why it cannot access my moode device.


Attached Files Thumbnail(s)
       
Reply
#4
try http instead of https, turn off https only mode in the browser if necessary.
----------------
Robert
Reply
#5
I tried that, in multiple browsers, but I'm still unable to access the front end.
Reply
#6
(05-01-2024, 08:39 PM)Gemah Wrote: I tried that, in multiple browsers, but I'm still unable to access the front end.

The browser itself, if configured so (which is what they are, recently) reverts always to https. Look at the address bar in your attached pic...
Reply
#7
I meant that I tried configuring the browser to ignore HTTPS for the device IP, also attempted to disable it globally. Still didn't work.
Reply
#8
How about downloading a Live, known working Debian based distro (Ubuntu/Xubuntu) Write to a USB drive and boot your Linux laptop from it then attempt to access MoOde.
If it works then Garuda is the problem and you need to take it up with the Garuda Devs.
If it doesn't work still then maybe the networking hardware on your laptop ?
Are you using Wifi or ethernet to connect ?
----------
bob
Reply
#9
(05-02-2024, 02:59 AM)Gemah Wrote: I meant that I tried configuring the browser to ignore HTTPS for the device IP, also attempted to disable it globally. Still didn't work.

What happens with the https only disabled?  Does the address bar say "http" and you still cannot connect, or does the address bar still show https?
----------------
Robert
Reply
#10
@Gemah 

So we seem to be addressing two different questions here.

1) does your LInux host support mDNS, e.g., can it resolve the fully qualified domain name "moode.local" to an IP address?
2) does your browser(s) allow you to access an HTTP server as opposed to an HTTPS server?

You could have answered the first question simply by using ping on the FQDN instead of the IP address. Here, for example, I ping one moOde player ("sunroom") from another ("m839") on my LAN

Code:
i@m839:~ $ ping -c 1 sunroom.local
PING sunroom.local (10.0.0.19) 56(84) bytes of data.
64 bytes from sunroom.local (10.0.0.19): icmp_seq=1 ttl=64 time=55.7 ms

--- sunroom.local ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 55.710/55.710/55.710/0.000 ms


As for the second question, I don't know what the Garuda folks have done in their distro and I have no interest in wading through their documentation so I quite like Bob's suggestion that you try running a different, known to work, OS from USB stick.

Regards,
Kent
Reply


Forum Jump: