Jump to content

All users with Emby Connect - email addresses are removed


Go to solution Solved by sa2000,

Recommended Posts

playingbball20
Posted (edited)

I was asked by my friend why he couldn't log into Emby, he only uses Emby Connect. He told me he logged in like he did with his other tv which worked fine. It has been a few months since he logged into his other tv. I went to look at the user and there was no Emby Connect email attached to the user. I added the email back and selected save. Then I received the error message: 

There was an error adding the Emby Connect account. Have you created an Emby account? Sign up at https://emby.media/connect.

 

I was about to tell him to send an email however, I was told by another friend that he couldn't log in either. 

I checked all of my users and all of the Emby Connect emails are not there.

I am not sure what to do?!

 

 

Screenshot_20250705_140624_Emby.jpg

Screenshot_20250707_221435_Emby.jpg

Edited by playingbball20
Posted

Hello playingbball20,

** This is an auto reply **

Please wait for someone from staff support or our members to reply to you.

It's recommended to provide more info, as it explain in this thread:


Thank you.

Emby Team

darkassassin07
Posted

Woah! NEVER post a link like that, including an api key and the url to your server.

 

 

You just gave the public open access to your entire server.

 

MAKE SURE YOU DELETE THAT API KEY FROM YOUR SERVER IMMEDIATELY!!!

 

 

post reported so an admin will hopefully purge that post quickly

darkassassin07
Posted
4 minutes ago, playingbball20 said:

I'm on my phone at work. I can't edit it delete that post 

 

The admins will remove it as soon as they see the reports.

 

You need to go into your server dashboard, head to api keys, and delete that api key ASAP. Your server is severely at risk for as long as that key is valid.

darkassassin07
Posted

The api key you posted is still valid.

Ensure you have deleted it, and restart the server to make sure it takes effect.

playingbball20
Posted

I rebooted Emby. Not showing any API keys

darkassassin07
Posted

IDK what to tell you unfortunately. That key is still valid and working, which means it can be used to do pretty much anything a server administrator could do.

 

This is a pretty major issue that the developers will have to address, I don't know how/why a key would be valid but not displayed in the api keys list, unless it was perhaps extracted from a users login token. I would shut down the server for now or disable remote access (remove your port forwarding) until that can be addressed. I don't have another solution for you.

 

 

Unfortunately it's 11pm PDT and the devs+most of the regulars around here will be in bed. You will have to wait for help/a response.

playingbball20
Posted

Ok, thanks. Hopefully I can get an answer to the actual question tomorrow.

 

Thanks

 

playingbball20
Posted

Well I was able to fix the API issue, was logged in at 2 locations. 

I had created a PDF of that log I am uploading.

temp8510816397821003657.PDF

neves000
Posted (edited)

To Emby dev:

Please note that logs posted here publicly still contain information that should be redacted (as it's already done with x_secret_x).

In the log above, we have the server public IP address of the server in the content of the HTML page returned by Cloudflare for Open Subtitles (difficult to clean as we don't know the content of the page, so I suggest filtering out anything resembling an IP address) :

<span class="hidden" id="cf-footer-ip">xxx.xx.xxx.xxx</span>

We also have a user's public IP address:

Quote

2025-07-08 01:04:42.085 Warn ConnectService-0HNDL94VBS7VO:00000004: AUTH-ERROR: xx.xx.xxx.xx -
Access token is invalid or expired.

Its username:

Quote

2025-07-08 01:04:43.769 Info UserManager: Authentication request for XXX has succeeded

And its access id - I don't know if this is important and if it allows authentication on the server. - :

Quote

POST http://host1:8096/emby/Users/AuthenticateByName?format=json. Headers: Content-
Type=application/json; charset=utf-8, Date=Tue, 08 Jul 2025 01:04:43 GMT, Server=UPnP/1.0
DLNADOC/1.50, Content-Encoding=gzip, Expires=-1, Vary=Accept-Encoding, Content-Length=1485,
Cross-Origin-Resource-Policy=cross-origin, Private-Network-Access-Name=Videos, Private-Network-
Access-Id=XXXXXXXXXXXXXXXXXXXXXXXXX

Here we also have an email address:

Quote

2025-07-08 04:08:29.253 Info HttpClient: GET https://connect.emby.media/service/user?
nameOrEmail=xxxx@netzero.net
2025-07-08 04:08:29.467 Info HttpClient: Http response 200 from https://connect.emby.media/
service/user?nameOrEmail=xxxx@netzero.net after 213ms

There's also the server URL in the PDF title and header, but I imagine this is a user error.

Edited by neves000
  • Facepalm 1
playingbball20
Posted

Sorry I'll fix that.

playingbball20
Posted

I fixed the issues. I know there is a little more than needed in the logs, but I figured it is not as big as the last ones, my apologies.

 

2025-07-09 02:08:13.818 Debug UserService-0HNxxxxxNAEB:00000001: http/1.1 GET http://host2:8096/emby/Users/4cxxxxxxxxxxxxxxxxxxxxxx847?X-Emby-Client=Emby for Android&X-Emby-Device-Name=SM-S938U1&X-Emby-Device-Id=6xxxxxxx1&X-Emby-Client-Version=3.4.20&X-Emby-Token=x_secret8_x&X-Emby-Language=en-us. Source Ip: host8, UserAgent: Mozilla/5.0 (Linux; Android 15; SM-S938U1 Build/AP3A.240905.015.A2; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/137.0.7151.115 Mobile Safari/537.36
2025-07-09 02:08:13.818 Debug UserService-0HNxxxxxNAEB:00000001: http/1.1 Response 200 to host8. Time: 1ms. GET xxhttp://host2:8096/emby/Users/4c1xxxxxxxxxxxxxxxxxxxx847: host8, UserAgent: Mozilla/5.0 (Linux; Android 15; SM-S938U1 Build/AP3A.240905.015.A2; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/137.0.7151.115 Mobile Safari/537.36?X-Emby-Client=Emby for Android&X-Emby-Device-Name=SM-S938U1&X-Emby-Device-Id=69xxxxxxxxxxx3e1&X-Emby-Client-Version=3.4.20&X-Emby-Token=x_secret8_x&X-Emby-Language=en-us. 
2025-07-09 02:08:13.897 Info UserService-0HNxxxxxNAEB:00000002: http/1.1 POST http://host2:8096/emby/Users/4c1xxxxxxxxxxxxxxxxxxxx847?X-Emby-Client=Emby for Android&X-Emby-Device-Name=SM-S938U1&X-Emby-Device-Id=69xxxxxxxxxxx3e1&X-Emby-Client-Version=3.4.20&X-Emby-Token=x_secret8_x&X-Emby-Language=en-us&reqformat=json. Source Ip: host8, UserAgent: Mozilla/5.0 (Linux; Android 15; SM-S938U1 Build/AP3A.240905.015.A2; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/137.0.7151.115 Mobile Safari/537.36
2025-07-09 02:08:13.903 Debug XmlSerializer: Serializing to file /config/config/users/4c1xxxxxxxxxxxxxxxxxxxx847/config.xml
2025-07-09 02:08:13.903 Info UserService-0HNxxxxxNAEB:00000002: http/1.1 Response 204 to host8. Time: 6ms. POST http://host2:8096/emby/Users/4c1xxxxxxxxxxxxxxxxxxxx847?X-Emby-Client=Emby for Android&X-Emby-Device-Name=SM-S938U1&X-Emby-Device-Id=69xxxxxxxxxxx3e1&X-Emby-Client-Version=3.4.20&X-Emby-Token=x_secret8_x&X-Emby-Language=en-us&reqformat=json. 
2025-07-09 02:08:13.977 Info UserService-0HNxxxxxNAEB:00000003: http/1.1 POST http://host2:8096/emby/Users/4c1xxxxxxxxxxxxxxxxxxxx847/Policy?X-Emby-Client=Emby for Android&X-Emby-Device-Name=SM-S938U1&X-Emby-Device-Id=69xxxxxxxxxxx3e1&X-Emby-Client-Version=3.4.20&X-Emby-Token=x_secret8_x&X-Emby-Language=en-us&reqformat=json. Source Ip: host8, UserAgent: Mozilla/5.0 (Linux; Android 15; SM-S938U1 Build/AP3A.240905.015.A2; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/137.0.7151.115 Mobile Safari/537.36
2025-07-09 02:08:13.982 Debug XmlSerializer: Serializing to file /config/config/users/4c1xxxxxxxxxxxxxxxxxxxx847/policy.xml
2025-07-09 02:08:13.983 Debug Notifications: Sending notification to Activity Log Activity Log: User Policy Has Been Updated for Caleb on Videos
2025-07-09 02:08:13.983 Info UserService-0HNxxxxxNAEB:00000003: http/1.1 Response 204 to host8. Time: 7ms. POST http://host2:8096/emby/Users/4c1xxxxxxxxxxxxxxxxxxxx847/Policy?X-Emby-Client=Emby for Android&X-Emby-Device-Name=SM-S938U1&X-Emby-Device-Id=69xxxxxxxxxxx3e1&X-Emby-Client-Version=3.4.20&X-Emby-Token=x_secret8_x&X-Emby-Language=en-us&reqformat=json. 
2025-07-09 02:08:14.067 Debug UserService-0HNxxxxxNAEB:00000004: http/1.1 GET http://host2:8096/emby/Users/4c1xxxxxxxxxxxxxxxxxxxx847?X-Emby-Client=Emby for Android&X-Emby-Device-Name=SM-S938U1&X-Emby-Device-Id=69xxxxxxxxxxx3e1&X-Emby-Client-Version=3.4.20&X-Emby-Token=x_secret8_x&X-Emby-Language=en-us. Source Ip: host8, UserAgent: Mozilla/5.0 (Linux; Android 15; SM-S938U1 Build/AP3A.240905.015.A2; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/137.0.7151.115 Mobile Safari/537.36
2025-07-09 02:08:14.067 Debug UserService-0HNxxxxxNAEB:00000004: http/1.1 Response 200 to host8. Time: 0ms. GET http://host2:8096/emby/Users/4c1xxxxxxxxxxxxxxxxxxxx847?X-Emby-Client=Emby for Android&X-Emby-Device-Name=SM-S938U1&X-Emby-Device-Id=69xxxxxxxxxxx3e1&X-Emby-Client-Version=3.4.20&X-Emby-Token=x_secret8_x&X-Emby-Language=en-us. 
2025-07-09 02:08:14.172 Info ConnectService-0HNxxxxxNAEB:00000005: http/1.1 POST http://host2:8096/emby/Users/4c1xxxxxxxxxxxxxxxxxxxx847/Connect/Link?X-Emby-Client=Emby for Android&X-Emby-Device-Name=SM-S938U1&X-Emby-Device-Id=69xxxxxxxxxxx3e1&X-Emby-Client-Version=3.4.20&X-Emby-Token=x_secret8_x&X-Emby-Language=en-us. Source Ip: host8, UserAgent: Mozilla/5.0 (Linux; Android 15; SM-S938U1 Build/AP3A.240905.015.A2; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/137.0.7151.115 Mobile Safari/537.36
2025-07-09 02:08:14.173 Info HttpClient: GET https://connect.emby.media/service/user?nameOrEmail=lxxxxxxk@neXXXXo.net.net
2025-07-09 02:08:14.391 Info HttpClient: Http response 200 from https://connect.emby.media/service/user?nameOrEmail=lxxxxxxk@neXXXXo.net.net after 218ms
2025-07-09 02:08:14.391 Info HttpClient: POST https://connect.emby.media/service/ServerAuthorizations
2025-07-09 02:08:14.458 Info HttpClient: POST https://api.opensubtitles.com/api/v1/login
2025-07-09 02:08:14.495 Info HttpClient: Http response 500 from https://connect.emby.media/service/ServerAuthorizations after 104ms
2025-07-09 02:08:14.496 Error ConnectService-0HNxxxxxNAEB:00000005: Error processing request
    *** Error Report ***
    Version: 4.9.1.4
    Command line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3
    Operating system: Linux version 6.12.22+bpo-amd64 (debian-kernel@lists.debian.org) (x86_64-linux-gnu-gcc-12 (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian)
    OS/Process: x64/x64
    Framework: .NET 8.0.11
    Runtime: system/System.Private.CoreLib.dll
    Processor count: 12
    Data path: /config
    Application path: /system
    MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: InternalServerError
       at Emby.Server.Connect.ConnectManager.LinkUserInternal(User user, String connectUsername)
       at Emby.Server.Connect.ConnectManager.LinkUser(User user, String connectUsername)
       at Emby.Server.Connect.Api.ConnectService.Post(CreateConnectLink request)
       at Emby.Server.Implementations.Services.ServiceController.GetTaskResult(Task task)
       at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost httpHost, IServerApplicationHost appHost, IRequest httpReq, IResponse httpRes, IStreamHelper streamHelper, RestPath restPath, String responseContentType, CancellationToken cancellationToken)
       at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IRequest httpReq, RestPath restPath, ReadOnlyMemory`1 urlString, ReadOnlyMemory`1 localPath, String contentTypeInPath, CancellationToken cancellationToken)
    Source: Emby.Server.Connect
    TargetSite: Void MoveNext()
    
2025-07-09 02:08:14.496 Info ConnectService-0HNxxxxxNAEB:00000005: http/1.1 Response 500 to host8. Time: 324ms. POST http://host2:8096/emby/Users/4c1xxxxxxxxxxxxxxxxxxxx847/Connect/Link?X-Emby-Client=Emby for Android&X-Emby-Device-Name=SM-S938U1&X-Emby-Device-Id=69xxxxxxxxxxx3e1&X-Emby-Client-Version=3.4.20&X-Emby-Token=x_secret8_x&X-Emby-Language=en-us. 

sa2000
Posted
On 08/07/2025 at 04:18, playingbball20 said:

I went to look at the user and there was no Emby Connect email attached to the user. I added the email back and selected save. Then I received the error message: 

There was an error adding the Emby Connect account. Have you created an Emby account? Sign up at https://emby.media/connect.

There were issues in the past with backup and restore - these should now be resolved. Was there perhaps a restore from backup made at some point that may have resulted he loss of the link?  The local user account Emby Connect link should only be removed now if a restore is done with the option to "Restore Server ID" unticked - which would be the case for restoring into a separate brand new server

 

playingbball20
Posted

If I did a restore it was quite a while ago. How do I fix the issues of everyone not having the Emby Connect emails able to be put back into their user account?

  • Solution
sa2000
Posted
45 minutes ago, playingbball20 said:

How do I fix the issues of everyone not having the Emby Connect emails able to be put back into their user account?

Login with the emby connect account you are trying to fix and go to the select server screen - from change server. Delete all linked servers showing

Then go back to the server settings user account and re-link

 

playingbball20
Posted

I do not have their login information for that user. Can I do the delete the server info from my end since I am the admin? 

Posted
12 minutes ago, playingbball20 said:

I do not have their login information for that user. Can I do the delete the server info from my end since I am the admin? 

You're the admin of your server, but not their Emby Connect account. You can only remove your server from their Emby Connect account, but in this case you can't given the issue above. I would just send them a message and ask them to do it.

playingbball20
Posted

Ok, thank you. So once they remove the server, then I can just re add the Emby Connect email address to their user?

sa2000
Posted
2 minutes ago, playingbball20 said:

So once they remove the server, then I can just re add the Emby Connect email address to their user?

Yes 

  • Like 1
  • 5 months later...
playingbball20
Posted

I am bringing this back to life unless I need to start a new thread. 

I was only able to get 2 people back on to emby connect using this method. 

I tried yesterday with my user and I could not get it to work.  I had others not work, but I was not with them when they tried.

 

Is there a manual way to remove the emby connect manually via command-line or any method?

sa2000
Posted
17 minutes ago, playingbball20 said:

I tried yesterday with my user and I could not get it to work.

If you have a problem deleting servers from your own emby connect account, then we can have a look at that

The steps were that you login with your emby connect account and then on the select server screen, click on the "..." and click on "Forget This Server" and then Confirm

This can be done on the http://app.emby.media or https://app.emby.media page

The server will disappar from the Select Server screen

Then you login locally on the server using the local username and local password and select settings, users, edit the user account an remove the emby connect email address and save

 

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