LMS-Community / slimserver

Server for Squeezebox and compatible players. This server is also called Lyrion Music Server.
https://lyrion.org
Other
1.16k stars 293 forks source link

8.3: mysqueezebox.com login broken #857

Closed viceice closed 1 year ago

viceice commented 1 year ago

I can no longer login to mysqueezebox.com

image

[23-01-18 05:32:40.4610] Slim::Web::JSONRPC::requestWrite (536) Context not found in requestWrite!!!!
[23-01-18 05:35:20.5599] Slim::Networking::SqueezeNetwork::_error (421) Unable to login to SN: mysqueezebox.com-Session ungültig.
[23-01-18 05:35:50.9101] Slim::Networking::SqueezeNetwork::_error (421) Unable to login to SN: mysqueezebox.com-Session ungültig.
[23-01-18 05:35:50.9103] Slim::Web::JSONRPC::requestWrite (536) Context not found in requestWrite!!!!
[23-01-18 05:36:21.2120] Slim::Networking::SqueezeNetwork::_error (421) Unable to login to SN: mysqueezebox.com-Session ungültig.
[23-01-18 05:36:21.2122] Slim::Web::JSONRPC::requestWrite (536) Context not found in requestWrite!!!!
[23-01-18 05:36:41.7893] Slim::Networking::SqueezeNetwork::_error (421) Unable to login to SN: mysqueezebox.com-Session ungültig.
[23-01-18 05:36:41.7896] Slim::Web::JSONRPC::requestWrite (536) Context not found in requestWrite!!!!
[23-01-18 05:46:37.5087] Slim::Networking::SqueezeNetwork::_error (421) Unable to login to SN: mysqueezebox.com-Session ungültig.
[23-01-18 05:46:37.5090] Slim::Web::JSONRPC::requestWrite (536) Context not found in requestWrite!!!!
[23-01-18 05:49:23.9080] Slim::Networking::SqueezeNetwork::_error (421) Unable to login to SN: mysqueezebox.com-Session ungültig.
michaelherger commented 1 year ago

Did this installation previously work? What changed (LMS updated? System update? Router update?)?

viceice commented 1 year ago

I think it worked before. just updated lms from v8.2.0 to v8.3.0 today. But not fully sure if it worked before. I don't see any relevant errors in log.

I first tried to enter my original password and got the error. then i changed my password and got same error.

michaelherger commented 1 year ago

Can you try to sign-in using the web UI (LMS/Settings/MySqueezebox)? Would that work?

viceice commented 1 year ago

That seems to work 🤔

michaelherger commented 1 year ago

Are you using any special/control characters in your password? I wonder whether there's something lost in transmission between the control panel and LMS.

michaelherger commented 1 year ago

Oh... reviewing that code I believe there indeed is an issue. The way how we deal with MySB credentials has changed in 8.3, but the GUI part hasn't been updated. I'll have to look into this. Thanks for the heads up!

That said: the changes required shouldn't cause an auth failure. Just a UX inconsistency.

michaelherger commented 1 year ago

Could you please give 8.3.1 or 8.4 a try and report back whether you still get the error when using the control panel to sign in to MySB?

https://downloads.slimdevices.com/nightly/?ver=8.4 https://downloads.slimdevices.com/nightly/?ver=8.3

viceice commented 1 year ago

Sorry, did not yet have time to test.

Guy48065 commented 1 year ago

I'm experiencing the inability of LMS Control Panel to send my account credentials to mysqueezebox.com as well. I just did a fresh install on a replacement laptop running W11--first 8.3.0, then tried 8.3.1

I keep getting an error message that it can't connect, then it forces control panel to close.

20230216_211406

michaelherger commented 1 year ago

Can you share a screenshot of whatever is forcing the shutdown? Next time you try to sign in, please enable logging for network.squeezenetwork in the web UI (http://127.0.0.1:9000/Default/index.html) Advanced Settings/Logging before signing in. You can then also try to sign in using the mysqueezebox.com tab in the web UI. Would that work?

Guy48065 commented 1 year ago

I'll try to accomplish these things tonight. I'm a "set it & forget it" basic user that has had no major problem with LMS in the 14 years it was running on my little notebook (XP OS). That little laptop finally went tits-up a couple weeks ago.

Guy48065 commented 1 year ago

Incidentally the error log for both versions has the same fail on the list line, and looks similar to what the OP experienced. Was a solution ever found?

20230216_183136

Guy48065 commented 1 year ago

I looked at the logging setup and it appears that by default everything is enabled for logging errors.  I made sure squeezenetwork was listed and enabled. While poking around in the web UI I looked at the plugins tab and disabled the MusicIP plugin that was generating an error. I restarted the server, opened the control panel as admin, entered my pw.  Click OK and the error popup returned.  Click OK on the popup and control panel closed. BUT this time I was able to see my library and player on my phone app and play a selection.

On Thursday, February 16, 2023 at 11:52:31 PM EST, Michael Herger @.***> wrote:

Can you share a screenshot of whatever is forcing the shutdown? Next time you try to sign in, please enable logging for network.squeezenetwork in the web UI (http://127.0.0.1:9000/Default/index.html) Advanced Settings/Logging before signing in. You can then also try to sign in using the mysqueezebox.com tab in the web UI. Would that work?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

mherger commented 1 year ago

Let's continue this in https://forums.slimdevices.com/forum/user-forums/logitech-media-server/1630511-can-t-get-name-pw-set-on-new-install.

Guy48065 commented 1 year ago

Using the laptop LMS is running on last night I tried to attach the log file & an image of the error pop up but I didn't have the ability to do so. From my phone I'll post these in case it helps:

msb_error

[Quote] [23-02-17 16:23:21.2180] Slim::Web::JSONRPC::requestWrite (536) Context not found in requestWrite!!!! [23-02-17 16:40:58.7712] Slim::Utils::Misc::msg (1325) Warning: [16:40:58.7708] Use of uninitialized value in concatenation (.) or string at C:\PROGRA~2\SQUEEZ~1\server\HTML\EN\settings\server\debugging.html line 12. [23-02-17 16:45:14.3940] Slim::Utils::Misc::msg (1325) Warning: [16:45:14.3938] Use of uninitialized value in concatenation (.) or string at C:\PROGRA~2\SQUEEZ~1\server\HTML\EN\settings\server\debugging.html line 12. [23-02-17 16:47:06.9710] Slim::Utils::PluginManager::disablePlugin (550) Setting plugin MusicMagic to state: needs-disable [23-02-17 16:47:14.8854] Slim::Utils::PluginManager::shutdownPlugins (406) Shutting down plugins... [23-02-17 16:47:14.9022] Slim::Utils::PluginManager::shutdownPlugins (406) Shutting down plugins... [23-02-17 16:47:14.9057] Slim::bootstrap::theEND (439) Got to the END [23-02-17 16:47:22.5511] main::init (377) Starting Logitech Media Server (v8.3.1, 1676361197, Tue Feb 14 09:17:15 WEST 2023) perl 5.014001 - MSWin32-x86-multi-thread [23-02-17 16:52:11.7693] Slim::Web::JSONRPC::requestWrite (536) Context not found in requestWrite!!!! [/Quote]