Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot send notification, there is no email address for this Plex User #912

Closed
Safemode opened this issue Jan 10, 2017 · 9 comments
Closed

Comments

@Safemode
Copy link

Ombi Version:

2 different versions with same issue
V 1.10.1
V 2.0.1198

Update Branch:

V1.10.1 - Stable
V2.0.1198 EAB

Operating System:

OS: Windows 8/Windows Server 2012
System Version: 4.0.30319.42000
Branch: Early Access Preview
Log Level: Info
Database Location: C:\Ombi\Ombi.sqlite
Running Directory: C:\Ombi

Mono Version (only if your not on windows)

Applicable Logs (from /logs/ directory or the Admin page):


2017/01/10 13:08:29.044 Ombi.Services.Notification.NotificationEngine Info: Notifying user Jasper 
2017/01/10 13:08:29.060 Ombi.Services.Notification.NotificationEngine Info: There is no email address for this Plex user, cannot send notification 

Screenshot from User Management Page showing they are a Plex user. So I'm unable to even edit their email-address
http://i.imgur.com/PCSDvBo.png

Here is a log from PlexRequests V1.10.1 with the same issue
http://pastebin.com/bfTeL0Ne
Lines 314 and 315

Problem Description:

When a user requests a Movie/TV Show, after the item is added to the library and the Plex Cacher runs, after it detects the movie, it says that no email exists for this user and it can't send the email. I have no manually added users via Ombi interface, all my users aside from the local Ombi administrator are from Plex. Error occurs on both my Server2012R2 and my Win8.1Pro computers

Reproduction Steps:

Request item from shared user account, approve admin side, and add item to Plex library, and let Ombi do a scan to search for new content. Does not seem to matter if it's PR1.10.1 or Ombi EAP

@tidusjar
Copy link
Member

Can you send me the results of this https://plex.tv/pms/friends/all?X-Plex-Token=**YOUR API KEY**
to tidusjar@gmail.com (It could contain sensitive data)

@tidusjar tidusjar self-assigned this Jan 11, 2017
@Safemode
Copy link
Author

Sure, just sent the output to your email

@tidusjar
Copy link
Member

Looking at the results, there is no jasper in your friends? Did you once have them but later removed them?

@Safemode
Copy link
Author

Safemode commented Jan 11, 2017

It's under the username jl*****, I set up an alias in Ombi to make it easier to distinguish users when they request content

@Safemode
Copy link
Author

So it looks like it fails to send if you have an Alias set for the user

@Safemode
Copy link
Author

Safemode commented Jan 11, 2017

This is an excerpt from log files before I set the alias, and it was able to send. Seems like if there's an alias it tries to look up the username using that instead of using the Plex username. I'm going to try another test by removing the Alias from the User Control Panel and see if it sends

2017/01/07 23:50:08.277 PlexRequests.Services.Notification.NotificationEngine Info: Notifying user jl******* 2017/01/07 23:50:08.277 PlexRequests.Services.Notification.NotificationEngine Info: Sending notification to: jl******* at: REPLACED@EMAIL.COM, for title: Zootopia 2017/01/07 23:50:08.621 PlexRequests.Services.Notification.EmailMessageNotification Info: sending message to "REPLACED@EMAIL.COM" <REPLACED@EMAIL.COM> from: "REPLACED@EMAIL.COM" <REPLACED@EMAIL.COM> Are we authenticated: True

@Safemode
Copy link
Author

Safemode commented Jan 11, 2017

Yep that looks to be the case. Removed the Alias on another one of the users I've shared with, had them request a movie, I approved, downloaded, moved to plex. But it did not seem to detect the episode was there, so it never automatically sent the email. So I manually marked it as available, and it was able to send immediately

2017/01/11 17:38:18.420 Ombi.Services.Notification.NotificationEngine Info: Notifying user jmj******* 2017/01/11 17:38:18.420 Ombi.Services.Notification.NotificationEngine Info: Sending notification to: jmj******* at: REPLACED@EMAIL.COM, for title: Teen Wolf 2017/01/11 17:38:18.843 Ombi.Services.Notification.EmailMessageNotification Info: sending message to "REPLACED@EMAIL.COM" <REPLACED@EMAIL.COM> from: "REPLACED@EMAIL.COM" <REPLACED@EMAIL.COM> Are we authenticated: True

Also, I've updated to V 2.0.1207 prior to that email being sent

@tidusjar
Copy link
Member

So it's due to the alias... Ok I'll fix this in the morning! Thanks for the investigation!

@Safemode
Copy link
Author

No problem, thanks for the quick response!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants