epoupon / lms

Lightweight Music Server. Access your self-hosted music using a web interface.
http://lms-demo.poupon.dev
GNU General Public License v3.0
1.14k stars 62 forks source link

Symfonium unable to log in #302

Closed abdulocracy closed 1 year ago

abdulocracy commented 1 year ago

The Symfonium client is unable to login, because it sends two requests in rapid succession, one with test credentials and one with the correct user credentials.

[2023-Jan-20 14:57:03.941] 1 - [error] - [API_SUBSONIC] Error while processing request '/ping', params = [{c=Symfonium}, {p=*REDACTED*}, {u=test}, {v=1.13.1}, ], code = 40, msg = 'Wrong username or password.'
172.19.0.2 - - [2023-Jan-20 14:57:03.941] "GET /rest/ping.view?u=test&p=test&v=1.13.1&c=Symfonium HTTP/1.1" 200 178
[2023-Jan-20 14:57:03.987] 1 - [error] - [API_SUBSONIC] Error while processing request '/ping', params = [{c=Symfonium}, {f=json}, {p=*REDACTED*}, {u=abdulkadir}, {v=1.13.0}, ], code = 0, msg = 'Login throttled, too many attempts'
172.19.0.2 - - [2023-Jan-20 14:57:03.988] "GET /rest/ping.view?u=abdulkadir&p=enc%3A4b596b4237404b62&v=1.13.0&c=Symfonium&f=json HTTP/1.1" 200 183
[2023-Jan-20 14:57:07.374] 1 - [error] - [API_SUBSONIC] Error while processing request '/ping', params = [{c=Symfonium}, {p=*REDACTED*}, {u=test}, {v=1.13.1}, ], code = 40, msg = 'Wrong username or password.'
172.19.0.2 - - [2023-Jan-20 14:57:07.374] "GET /rest/ping.view?u=test&p=test&v=1.13.1&c=Symfonium HTTP/1.1" 200 178
[2023-Jan-20 14:57:07.450] 1 - [error] - [API_SUBSONIC] Error while processing request '/ping', params = [{c=Symfonium}, {f=json}, {p=*REDACTED*}, {u=abdulkadir}, {v=1.13.0}, ], code = 0, msg = 'Login throttled, too many attempts'
172.19.0.2 - - [2023-Jan-20 14:57:07.451] "GET /rest/ping.view?u=abdulkadir&p=enc%3A4b596b4237404b62&v=1.13.0&c=Symfonium&f=json HTTP/1.1" 200 183

The developer hast stated this is for security purposes, related post on their forum: https://support.symfonium.app/t/cant-login-to-lms/1295

epoupon commented 1 year ago

Thanks for reporting, should be fine now (strange I did not hit this when testing symfonium)

epoupon commented 1 year ago

@abdulocracy you can try the epoupon/lms:97c0835 docker image.

abdulocracy commented 1 year ago

Tested, working just fine. Thank you kindly. :)