Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenSubsonic auth error #1112

Open
stkw0 opened this issue Mar 27, 2024 · 2 comments
Open

OpenSubsonic auth error #1112

stkw0 opened this issue Mar 27, 2024 · 2 comments

Comments

@stkw0
Copy link
Contributor

stkw0 commented Mar 27, 2024

I'm not sure if it's an issue with LMS (the subsonic server I use) or tauon, but since some other subsonic clients work with LMS I thought could be useful to report it here.

When trying to log it reports the next error. I also tried using plain text but then it fails directly. Even if the root cause is not an issue with tauon It would be nice if tauon could at least properly parse the error and show it to the user.

Subsonic Error: {"subsonic-response":{"openSubsonic":true,"serverVersion":"6","status":"failed","type":"lms","version":"1.16.0","error":{"code":41,"message":"Token authentication not supported for LDAP users."}}}
Exception in thread Thread-28 (get_music3):
Traceback (most recent call last):
  File "/usr/lib/python3.11/threading.py", line 1045, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.11/threading.py", line 982, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib/python3.11/site-packages/t_modules/t_main.py", line 8638, in get_music3
    b = a["subsonic-response"]["indexes"]["index"]
        ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
KeyError: 'indexes'
@Taiko2k
Copy link
Owner

Taiko2k commented Mar 28, 2024

Do you get any kind of error when plain text mode is enabled?

@stkw0
Copy link
Contributor Author

stkw0 commented Mar 28, 2024

Nope, in plain text mode there is just a messagebox saying that there was an authentication failure but the console doesn't shows anything.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants