muse icon indicating copy to clipboard operation
muse copied to clipboard

error connecting to mopidy

Open amigthea opened this issue 1 year ago • 1 comments

I get this message when accessing the webclient, and I'm not able to fix that. I've read another similar thread and tried allowed_origins, but to no avail. Mopidy and snapcast are running on the same alpine docker container, and this is the http/muse part of configuration

[http]
enabled = true
hostname = 0.0.0.0
default_app = muse
port = 80
allowed_origins = myurl.domain

[muse]
enabled = true
# the following are optional values
mopidy_host = localhost
mopidy_port = 80
mopidy_ssl = false
snapcast_host = localhost
snapcast_port = 1780
snapcast_ssl = false

I'm missing something?

amigthea avatar May 04 '24 15:05 amigthea

It seems that the webui takes the hardcoded localhost, but when accessed from another device, it quite literally uses localhost. try removing mopidy_host and snapcast_host from the config, reload, then configure using the devices true ip address from the web interface.

o-miller avatar Apr 10 '25 17:04 o-miller