Jump to content

Recommended Posts

plexConvert
Posted

I have an Android TV (Nvidia Shield) with the Emby app installed. I configured the Emby app to connect to the Emby server, and it worked. I can see all of my family accounts.

However, when I try to log in with any account, I get an error saying "invalid user id or password". I even removed the password from one account, and it showed up on the login screen without the Lock symbol, but I still received the same error.

I can log in using my phone and through the website.

Do you have any idea what could be wrong?

Posted

Hi.  Most likely something is blocking it.  Have you confirmed your firewall rules are good?

Connectivity

plexConvert
Posted

All other devices are on the same WiFi network and they work fine. I even tried turning on a VPN to see if helped.

 

Is there any way to get the actual reason why it won't immediately let me log in?

Posted
2 minutes ago, plexConvert said:

Is there any way to get the actual reason why it won't immediately let me log in?

It depends on exactly what is happening.  Maybe, maybe not.  There should be a button on the login screen to send a log.  You could do that after a failure and then come here and tell me exactly what time you did.

plexConvert
Posted

I had a failed login attempt at 17.29 GMT and sent the logs at the same time (1 minutes ago).

I'd appreciate it you could take a look for me. It works on everything else in my house.

 

Posted

From the app's perspective it is just a simple auth failure.  This could be due to an invalid user name or password or it could be some piece of security software blocking.

The app is trying to connect using an external domain name.  This is on your local network, right?

plexConvert
Posted (edited)

The app is connecting to an external domain on an external network. Okay, well this is strange alright. I even added a user with no password and it won't let me log in.

Edited by plexConvert
plexConvert
Posted

I did some experimentation.

  1. I added a user with no password which did not work
  2. I disabled the firewall on my router and connected with ethernet and wifi which did not work
  3. I tethered to my phone's internet to rule out any local network issues and that did not work either

Is there something special going on with the Nvidia shield?

pwhodges
Posted

You said all the other devices are on the same network (the same as the server, I presume?).  Have you tried using another device to make an external connection?  It seems far more likely that there is an issue with that part of the setup than with the Shield.

Paul

Posted

If the Shield is on the local network, try connecting manually using the local IP address.

plexConvert
Posted
14 hours ago, pwhodges said:

You said all the other devices are on the same network (the same as the server, I presume?).  Have you tried using another device to make an external connection?  It seems far more likely that there is an issue with that part of the setup than with the Shield.

Paul

What I mean by that is my phones, laptops and Nvidia Shield are all on the same local network. The Emby server is on an external network.

My other phones and laptops can connect, but the Shield cannot. I even tried connecting the Shield to my mobile phone's data network, which IMO should rule out any concern with the local network.
 

12 hours ago, ebr said:

If the Shield is on the local network, try connecting manually using the local IP address.

The Emby server is on an external network. So I can't connect to Emby using a local network IP.

plexConvert
Posted (edited)

I will try reinstalling the app on my Nvidia Shield, but I'm not hopeful this will fix the problem.

Edited by plexConvert
pwhodges
Posted

Right, so from the perspective of your server, external and local are reversed from the way you are describing things.

Paul

plexConvert
Posted

Yes, if we are speaking from the perspective of the server. I was probably looking at it from a client-server relationship and seeing the local network as what the client is on.

> The app is connecting to an external domain on an external network.

plexConvert
Posted

I just installed the app on my Amazon Fire stick and it works. I can login fine.

plexConvert
Posted

I reinstalled the app. I can login fine now. 🤔

Posted
1 hour ago, plexConvert said:

I reinstalled the app. I can login fine now. 🤔

I don't really have an explanation for you but I'm glad you got it going.

  • 2 years later...
plexConvert
Posted

The same thing is happening again. I changed the server on the app, and now I can't log in with any account, regardless of whether the password is set or not.

I fed the logs into ChatGPT, and it says this:

Root Cause:

  • Emby Fire TV app version 3.4.70 is using GET instead of POST to /Users/AuthenticateByName, which:

    May not carry credentials in the expected format, and

    May reuse or send a stale token without requesting a new one first.

    This line confirms it:
    GET /emby/Users/authenticatebyname?X-Emby-Client=Emby for Android...

Emby logs Access token is invalid or expired immediately after that, indicating the app is using an old or malformed token.

 
Posted
Quote

Emby Fire TV app version 3.4.70 is using GET instead of POST to /Users/AuthenticateByName, which:

Hi, Emby for Fire TV does not do this. It always uses a POST, but a misconfigured reverse proxy could be changing it to a GET.

Are you using a reverse proxy? Have you compared your reverse proxy settings to this?

 

Posted
Quote

I changed the server on the app,

Is it your server, or someone else's ?

plexConvert
Posted

It's a server that someone else manages for me. So I had to delete the old server and add the new one in the app.

My father also tried it on his TV, and it wouldn't work. It's working fine on the Android phone and websites.

plexConvert
Posted

I spoke with the server owner, who helped me debug the issue. We set the port to 443 instead of leaving it empty, which fixed the issue. Not sure how it was working before this, though!

 

  • Thanks 1
Posted

Thanks for following up !

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...