Jump to content

Can't login to server


Go to solution Solved by Luke,

Recommended Posts

johnnorris
Posted

I'm trying to configure Emby on a onn 4k Pro Android streaming box but when I try to connect to the server it's not accepting my user name and password.  I've tried to connect manually to the server and it still won't allow me to connect.  I go through this every time I try to set up a device in Emby and it drives me nuts.  I don't recall if I set up a PIN to access the server or what.  I've changed the password but all it does is connect me to the Emby website.  I have a direct link to the server saved in my bookmarks but I think I've screwed up the login credentials.  Any help would be appreciated.

johnnorris
Posted

I'm trying to set up an onn 4k Pro Android box with the Emby docker on my unRAID server.  I keep trying to login but the password I use just connects me to the Emby forum.  I have selected the Forgot Password link numerous times and it transmits a file to the cache drive on my server with a link to a website and a PIN number.  I have never been able to connect to the website it links me to because my browser keeps timing out.  I have tried four different browsers with the same result, both with my VPN turned on and off.  Every time I think I have everything set up I try to connect both manually or using Emby Connect and it just keeps going in a loop back to the start screen.  I go through this scenario every time I try to configure a new box and I have no idea what I'm doing wrong.  It shouldn't be this hard to set up.  I've set this up with multiple Shields and a Roku and always have an issue trying to connect to the server each and every time.  I can't even connect to it on my PC now.

Posted

Hi, are you trying to sign in to your own Emby server, or someone else’s?

 When you mention docker it would seem like your own server, but when you say website it sounds like you don’t even recognize your own server url.

 So which is it?

johnnorris
Posted (edited)

Yes, it's my own Emby server installed as a docker on an unRAID server.  I know the IP address and port, but I think my user name and password got hosed up.  I have a link to the Emby server in my bookmarks so it takes me right to the login screen.  I get three options on the screen for the server login.  The first option has my name as the user, the 2nd option is to login manually, and the third option is Forgot password?.   The actual login screen for the first two options is identical, but the first one just fills in my user name automatically and they both ask for a password which is where I get stuck.  I've tried logging in with the name of the Emby account for the server and also tried the email address that I signed up with, but I can't recall if I was using a password or a PIN to access it previously.  I tried using a PIN and I think it accidentally updated my password with the PIN I used, but it didn't work.  I have been trying to change the password so I clicked on the Forgot password link for the login and it sent a file with a link and temporary PIN to the binhex-emby folder on my server's cache drive.  I tried to connect to the link it provided but my browser keeps timing out.  I ran a network diagnostic and it said the device that I am trying to connect to isn't responding.  I don't know if that's a web server or my unRAID server.  I have Emby installed on several other Shields and a Roku and they all can connect to the Emby server with no problem so I'm at a complete loss as to why I can't login.

Edited by johnnorris
Posted

Hi, the link it puts in the text file is your server address, right?

johnnorris
Posted (edited)

It's not the same IP address that I normally use to connect to the server, but it does use the same port.  I have the unRAID server configured with a static IP address in my router.

Here's the address that shows up in the passwordreset.txt file:

http://172.**.*.*:8096/web/index.html#!/startup/forgotpasswordpin.html

whereas my unRAID server static IP is of the format 192.***.*.***

Edited by johnnorris
johnnorris
Posted

Here's what happens when I open up the Emby app on my streaming box.  I am presented with a screen that tells me to enter the displayed 5-digit PIN on the emby.media/pin website.  I enter the email address that was used to sign up with Emby and enter a password and the displayed PIN.  I hit SUBMIT and it says the PIN is confirmed.  I have not actually logged into the emby.media site at this point since I have no idea what the actual password is.

I select NEXT on the TV and I have the option to Select a user of which there is only one and that is me.  The other options displayed are as follows:

Enter user manually - I am asked to enter my name followed by a password.  It's the same as if I selected the user except all I am asked for is the password in that option.

Sign in with Connect - this is the same as the initial screen with instructions to enter the displayed 5-digit PIN at emby.media/pin

Switch server - there is only one server to select

Send Logs - I selected this so you should be receiving a copy of my log file, not that it will do you much good.

My issue is not being able to change my password to access the Emby server in unRAID.  If I select Forgot Password on the emby.media/pin web page it asks for my email address associated with the account and then performs the Captcha security check (when will sites stop using this piece of crap since most of the time the images are so grainy I can't make them out).  I click on RECOVER PASSWORD and I am sent a link to reset my password.  I click on the link and enter a new password twice.  When I login after resetting the password it takes me to the emby.media forums which I am already able to do that is not the password that I need to reset.

I have already described what happens when I try to connect directly to the Emby server from my PC.  It downloads the file to the binhex-emby folder on the unRAID server with the link to a site with a PIN to reset my password but it never allows me to connect and always times out.

Posted

Hi there, are you trying to connect to your own Emby Server, or someone else's?

johnnorris
Posted

It's my own personal unRAID server connected to my home network.  I set up Emby using the binhex-Emby docker installed from the unRAID Community Applications tab in the unRAID web GUI.  Here's a link to the docker website:

https://registry.hub.docker.com/r/binhex/arch-emby/

I was try setup a new Android streaming box in Emby (I have a lifetime license).  During the setup it wants me to provide login credentials to the Emby server so it can connect.  I somehow managed to inadvertently update and save the wrong password in Google Chrome and I have no idea what the original password was that I used when I first configured the server.  When I try to connect to the server on my PC i have the option to reset my password so I select the "Forgot Password?" option and it sends a file called passwordreset.txt to the binhex-emby folder on the cashe drive of my unRAID server.  The file contains a URL and a temporary PIN to reset my password.  Problem is, the link to the website always times out and never gets me to where I can enter the PIN, which is only good for 10 minutes.

I just need to be able to reset the server password so it will allow me to complete the device setup.  I am using several Shields and a Roku with Emby and they all work fine.  I have had to resort to installing Kodi on the box and it's taking forever to scan my libraries when that's already been done in Emby.

Posted
On 5/19/2024 at 10:43 PM, johnnorris said:

It's not the same IP address that I normally use to connect to the server, but it does use the same port.  I have the unRAID server configured with a static IP address in my router.

Here's the address that shows up in the passwordreset.txt file:

http://172.**.*.*:8096/web/index.html#!/startup/forgotpasswordpin.html

whereas my unRAID server static IP is of the format 192.***.*.***

But that is the address displayed on your emby server dashboard, right? Because that's where that is coming from.

johnnorris
Posted (edited)

I can't login to the server dashboard to see if that's the address being used or not.  It's definitely not the static IP address that I assigned to it.  I configured my router so that anything below a certain address is assigned dynamically and anything above that is reserved for static IPs.  I configured the server with a static IP so it would never change if I rebooted the server.  My router uses a standard IP address configuration starting with 192.168.*.***.   I have no problem accessing the unRAID drives in Windows or any of the shares on the server and all of my other streaming boxes connect to Emby with no problems.  I just can't get the new Android streaming box to connect to it without the login credentials for Emby.

When I try to connect to the Emby server from my PC I'm asked to sign in with my user name and password and that's as far as I can get.

Edited by johnnorris
Lessaj
Posted

Did you set the docker container to use the host network? Not familiar with the options on unraid but saw that's an option on TrueNAS Scale.

johnnorris
Posted

I honestly do not recall.  I'm pretty sure I used the IP address of the unRAID server with port 8086 for Emby.  I set it up well over a year ago and don't remember what I used.

  • Solution
Posted

OK so what if you go through the password reset process again and change IP address in the text file to what you think it should be? 

johnnorris
Posted

That worked.  Thank you so much.  I have been tearing my hair out trying to get this setup.  I don't know why I didn't think about trying that before.

johnnorris
Posted

What I found to be interesting is that once I was able to access the dashboard, the In-Home (LAN) access IP address shown on the dashboard was exactly the same one provide in the password reset text file, but when I tried to connect using that address is just sits there and eventually times out.  Using the static IP address that I manually assigned to my server was the only one that actually worked.

johnnorris
Posted

If you look at the image below you will see where the conflict lies.  The In-Home (LAN) access IP address shown on the Emby Dashboard page is the one that shows up in the resetpassword.txt file.  Looking at the actual IP address in the address field at the top of the web page clearly shows that is not the IP address for my server so I don't know how it comes up with the address listed on the Dashboard page.  Prior to resetting the password, neither IP address would allow me to connect to the server.  The actual IP address would prompt me for my password whereas the one shown on the web page would simply time out and never connect.

Emby server IP address.png

Lessaj
Posted

That's probably a docker network address, which is why I asked if you configured the container to use the host network or not.

johnnorris
Posted

I honestly don't recall how I set it up since it's been well over a year since I did it.  Here's a screenshot that shows the port mapping for the docker:

image.thumb.png.c3591bf5775e2035205599ef5a0332ca.png

Lessaj
Posted

Yea it's using a bridge, you can see it right in the screenshot that it's mapping 172.17.0.2 to 192.168.0.201, but the docker will only be aware of the 172 address. I'm not sure how to adjust this in unraid.

johnnorris
Posted

It was probably the default configuration when I set it up.  It's working fine and I was able to get the new box to connect to it so it's all good.  Now that I know what to do to set up a new box I'm good to go.  If it ain't broke...

Thanks for all your help.

  • Like 1
johnnorris
Posted

Here's the Network Type options for the Emby docker in unRAID.  As you can see there are several different options to choose from.  I never made any adjustments to this setting and apparently the Bridge option is the default setting.  I'm hesitant to change it since everything is working fine and I have four Android boxes with Emby connected to the server over my home network so probably best not to screw with it.

 

image.thumb.png.a27049d8907a37082b5a8f2e8e7635e6.png

Lessaj
Posted

Host is probably the correct option but if it's working you're certainly free to leave it alone. :) 

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