Open DirkSchmitt opened 2 weeks ago
Hello there,
that sounds like your browser can't establish a WebSocket connection to the backend.
Could you try one (or all) of the following, please:
ampd
in a new Private Window. This way, ampd
tries to guess the correkt WebSocket address instead of using a saved one. If this works, please click the button "Reset Frontend Settings" under "Settings".ampd
in another browser (just to see if the WebSocket connection works there)ampd
tab (opens usually with F12
)The logs don't look unusual to me.
Sorry for your inconvenience!
Both – Firefox private tab and chromium browser – have the described problem.
Here is the console log from Firefox private tab. console-export-2024-11-10_18-59-57.txt
I looked again at the log of mpd and noticed something I missed the first time.
Fri 2024-11-08 17:21:27 CET mpd.service[3383524]: client: [6] process command "find "(album == '\"Strings and Stories of a Troubadour\", Live in Odeon, Vienna, 23.11.2011')""
Fri 2024-11-08 17:21:27 CET mpd.service[3383524]: exception: Space expected after closing '"'
This might be caused by a bug in javampd
, see: https://github.com/finnyb/javampd/issues/208
Since version 2, ampd
creates a set of all albums in the mpd database. When it stumbles upon an album title with quotes in its name, it throws an exception.
I updated the version of javampd
and created a new release.
Unfortunately, I couldn't reproduce this error locally but I'm optimistic this bug should be fixed by version 2.1.0
.
Happy to hear if it works now.
I currently upgraded from 1.x to 2.0.3. The system is running on debian (bullseye) with a repository of 114k songs.
Problem: The connection to the backend is only working partially working.
Analysis
The mpd service shows errors from the ampd client:
So I increased the mpd log verbosity. I see an awful lot of find requests:
After the find commands are processed the mpd log repeats the following:
The ampd web page still shows the Not connected to ampd server.