Skip to content
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.

[BUG] Authentication failed #52

Open
Ribero opened this issue Jan 7, 2022 · 10 comments
Open

[BUG] Authentication failed #52

Ribero opened this issue Jan 7, 2022 · 10 comments
Labels
bug Something isn't working

Comments

@Ribero
Copy link

Ribero commented Jan 7, 2022

Describe the bug
Unable to login. Login / password are correct and works in web or other clients.

Device & Version:

  • tvOS Version: 15.2
  • ABJC Version: 1.0.0
  • ABJC Build: 32

Additional context
Jellyfin server is behind a nginx reverse proxy but even when trying to access it directly with local ip (bypassing the proxy) I get an "authentication failed"

@Ribero Ribero added the bug Something isn't working label Jan 7, 2022
@IIMustangII1151
Copy link

image

@adamshand
Copy link

I’m having the same issue, am also behind a reverse proxy (Caddy).

Can login from browser, Mr. MC and both work fine. Can’t figure out any combination of details to work with ABJC.

I have tried with and without SSL and via reverse proxy and direct to Jellyfin.

Running latest ABJC and tvOS 15.1.1.

Any suggestions appreciated.

Adam.

@adamshand
Copy link

Of course as soon as I left the above comment I figured it out.

Even though it’s running through a reverse proxy with a URL of / you still need to leave the path as the default “/Jellyfin”.

@Ribero
Copy link
Author

Ribero commented Jan 16, 2022

I also tried with /jellyfin with no more success.
I'd dit not find a way to use ABJC

@NoahKamara
Copy link
Contributor

@Ribero Does this url (with your server uri) work when you open it in a browser?
http://<server_uri>/System/Info/Public

@dgtgit
Copy link

dgtgit commented Feb 1, 2022

hello,
same problem for me so can't test :-(

@NoahKamara
Copy link
Contributor

hello,

same problem for me so can't test :-(

Can you try this:

@Ribero Does this url (with your server uri) work when you open it in a browser?

http://<server_uri>/System/Info/Public

@Ribero
Copy link
Author

Ribero commented Feb 1, 2022

@Ribero Does this url (with your server uri) work when you open it in a browser?

http://<server_uri>/System/Info/Public

For an unknown reason (no change on client and server side), I was able to login.

I really can't figure out why it works now.

Now, to answer your question :

{"LocalAddress":"https://[xxxx:xxx:xxx:xxxx::xxxx:xxxx]:8096","ServerName":"Media-Center","Version":"10.8.0","ProductName":"Jellyfin Server","OperatingSystem":"Darwin","Id":"xxxxxxx","StartupWizardCompleted":true}

I wonder if the problem is not related to ipv6/ipv4

@Ribero
Copy link
Author

Ribero commented Mar 11, 2022

Follow-up : without changing anything (no update on server, no network change) what was working before now fails with the same issue : Authentication Failed

It's really hard to understand what is failing.
I tried to add the server manually with it IPv6 address with no success.

So, can test anymore.

Tests:

OK (work also with IPV4):

http://[xxxx:xxxx:xxxx:xxxx::xxxx:xxxx]:8096/System/Info/Public

{"LocalAddress":"[xxxx:xxxx:xxxx:xxxx::xxxx:xxxx]:8096","ServerName":"Media-Center","Version":"10.8.0","ProductName":"Jellyfin Server","OperatingSystem":"Darwin","Id":"xxxxxxxxx","StartupWizardCompleted":true}

@Ribero
Copy link
Author

Ribero commented May 29, 2022

Well, is there anything that can be tested to try to solve this blocking issue ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants