HAMusicAssistantJukebox icon indicating copy to clipboard operation
HAMusicAssistantJukebox copied to clipboard

Authentication Error

Open runknowndev opened this issue 1 year ago • 3 comments

When I try to start jukebox I am getting the following.

Image

The log shows this error

Log details (WARNING) Logger: homeassistant.components.http.ban Source: components/http/ban.py:136 integration: HTTP (documentation, issues) First occurred: 5:45:44 PM (3 occurrences) Last logged: 5:50:35 PM

Login attempt or request with invalid authentication from localhost (127.0.0.1). Requested URL: '/api/states/switch.music_assistant_jukebox_jukebox_allow_access'. (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36)

Image

Still new to home assistant and struggling to figure this one out.

runknowndev avatar Aug 03 '25 22:08 runknowndev

Check the jukeboxtoken.key file is being created and it contains the token string when the Allow Access switch is turned on. It should be in the www\jukebox folder. Easiest way to browse files is with the File Editor addon

also check for any errors in the logs related to the jukebox integration

DJS91 avatar Aug 03 '25 23:08 DJS91

Yes that is there. My laptop works fine on the local network but not off. But my phone and tablet will not connect local or remote. Which seems really strange.

runknowndev avatar Aug 04 '25 00:08 runknowndev

Hey All, This project is now deprecated and will be archived.

Party mode with much of the same features (but much better) has been developed as a native plugin in the latest Music assistant beta and will be released soon.

You can read about it here and test it for yourself in the latest beta build. https://beta.music-assistant.io/plugins/party-mode/

DJS91 avatar Mar 11 '26 23:03 DJS91