ABJC-tvOS icon indicating copy to clipboard operation
ABJC-tvOS copied to clipboard

[BUG] Authentication failed

Open Ribero opened this issue 2 years ago • 10 comments

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 avatar Jan 07 '22 00:01 Ribero

image

IIMustangII1151 avatar Jan 07 '22 17:01 IIMustangII1151

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 avatar Jan 16 '22 09:01 adamshand

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”.

adamshand avatar Jan 16 '22 09:01 adamshand

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

Ribero avatar Jan 16 '22 12:01 Ribero

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

NoahKamara avatar Jan 30 '22 13:01 NoahKamara

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

dgtgit avatar Feb 01 '22 17:02 dgtgit

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

NoahKamara avatar Feb 01 '22 18:02 NoahKamara

@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 avatar Feb 01 '22 19:02 Ribero

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 avatar Mar 11 '22 10:03 Ribero

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

Ribero avatar May 29 '22 09:05 Ribero