Jump to content

Notification testing


Recommended Posts

Posted

Was trying to test today e-mail notification testing.  I went on web interface of the server direct and under admin section - "Manage server" then under Extras went to Notifications and under services picked the user I have configured the e-mail services for and clicked on test notification.  I do get the e-mail notification but the circle changing colors keep turning around on the web interface and never returns and does not give a good feeling that this command is executed.  I have to get out of there to bypass the spinning circle. Also the password field for SMTP password appears to be blank. I did put a password here and after I revisit the same view the password (well, some asterisks at least) is no longer there. Is it supposed to be like this for security reasons? Is this a bug?  I updated to today to latest 3.0.7100.0 but the issue is still there, the test notification option does not return with an answer and the circle keeps spinning.

 

Thanks,

  • 3 weeks later...
Posted

Ok, I just tested this again after updated the server to latest version 3.0.7300.0 and the issue is still there.  Other thing I'm noticing with notification is:

 

I have 4 users including the default emby.  When I uncheck the box for "enable notification for this user"  and click on Save button I switch to another user and when I switch back to the user I disabled notification the check box appears checked again.  So this feature is not working for me.  I also tried to test notification for a user that services are set and is not working... Here is part of the log after I did so:

2016-10-02 14:18:01.2588 Info HttpServer: HTTP GET http://usmaster:8096/emby/Plugins/b9f0c474-e9a8-4292-ae41-eb3c1542f4cd/Configuration. UserAgent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:49.0) Gecko/20100101 Firefox/49.02016-10-02 14:18:01.2817 Info HttpServer: HTTP Response 200 to 192.168.2.112. Time: 23ms. http://usmaster:8096/emby/Plugins/b9f0c474-e9a8-4292-ae41-eb3c1542f4cd/Configuration2016-10-02 14:18:05.6960 Info HttpServer: HTTP GET http://usmaster:8096/emby/Plugins/b9f0c474-e9a8-4292-ae41-eb3c1542f4cd/Configuration. UserAgent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:49.0) Gecko/20100101 Firefox/49.02016-10-02 14:18:05.7010 Info HttpServer: HTTP Response 200 to 192.168.2.112. Time: 5ms. http://usmaster:8096/emby/Plugins/b9f0c474-e9a8-4292-ae41-eb3c1542f4cd/Configuration2016-10-02 14:18:05.7300 Info HttpServer: HTTP POST http://usmaster:8096/emby/Notification/SMTP/Test/0bf0ddbd6f474c7e9202afaf14ca2fdc. UserAgent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:49.0) Gecko/20100101 Firefox/49.02016-10-02 14:18:05.7300 Info HttpServer: HTTP POST http://usmaster:8096/emby/Notification/SMTP/Test/0d8dd789231140e8945aa0c9e49c5741. UserAgent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:49.0) Gecko/20100101 Firefox/49.02016-10-02 14:18:37.3193 Info HttpServer: HTTP GET http://usmaster:8096/emby/System/Logs. UserAgent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:49.0) Gecko/20100101 Firefox/49.02016-10-02 14:18:37.3297 Info HttpServer: HTTP GET http://usmaster:8096/emby/System/Configuration. UserAgent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:49.0) Gecko/20100101 Firefox/49.02016-10-02 14:18:37.3350 Info HttpServer: HTTP Response 200 to 192.168.2.112. Time: 5ms. http://usmaster:8096/emby/System/Configuration2016-10-02 14:18:37.3377 Info HttpServer: HTTP Response 200 to 192.168.2.112. Time: 18ms. http://usmaster:8096/emby/System/Logs2016-10-02 14:18:39.5031 Info HttpServer: HTTP GET http://usmaster:8096/emby/System/Logs/Log?name=server-63610963199.txt. UserAgent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0

Also I do not seem to get e-mail notification when new content is added, although the configuration is in place to do so.  I was thinking to get the premiere but I'd like these features to work first.

 

Any help is appreciated,

 

Any help is appreciated,

Posted

The checkbox was just a cosmetic issue on the configuration page. I have pushed an update to the plugin to correct that. Please try it out and let us know how it goes, thanks.

 

Also, please keep in mind that although we built the core notification system, the various notification plugins were built by community members. We work extremely hard on Emby, and we hope that the work of community members will not be your deciding factor about whether or not to support us with Emby Premiere. Thanks and enjoy.

Posted

Thanks Luke for the quick reply.  I did notice that there was an update for e-mail plugin just now and updated that and restarted the emby server.  Now the behavior is changed. Testing notification still did not generate an e-mail to my inbox.  I tried to put back the SMTP password for outgoing mail and then it worked.  Well, I got the e-mail but the server seem to crash.  I see the multicolor circle spinning after I click on "Test notification" and if I switch to dashboard I see only the option to shutdown the server.  I had to manually do a "sudo service emby-server stop" and "sudo service emby-server start" to fix things back. Not sure why sending a test notification would crash the server. 

 

This still remains an issue,

Posted

Can you please attach the complete server log, thanks.

Posted

Attached is the server log.  I only have replaced IP addresses and hostnames with words...

server_log.txt

Posted

Well there are no errors in the log so i pushed another update to add logging when sending a test email. Again it's a logging-only update.

Posted

The fact that the receiving server is not throwing an error suggests that it is receiving it but not delivering it to the inbox.

Posted

I did get the new update,  Thanks for that.  The situation is the same.  I got the first test and 2nd test.  Then I downloaded some new content. I do see the pop-up on bottom right corner on my laptop that new content detected, but I do not get notified for that.  I did a manual scan of the whole library and still no e-mail.  At that point went back to notification and do a 3rd test. After doing so this is what I get. Have attached screenshots.  Cannot even get to logs....

post-153260-0-44044200-1475459555_thumb.jpg

post-153260-0-88227200-1475459555_thumb.jpg

Posted

I've pushed one more update to add a logging message everytime a message is sent. That will at least allow you to verify that it is outgoing.

 

I would avoid using gmail, as we've seen many reported cases here where it assumes the email are spam and swallows them without delivering. If the email server you are using might be doing that, then that would also explain it.

Posted

Mmmm,  but I do get the test notification, is just when the content is updated I get nothing... Not sure why gmail will be the problem in this case. Also the 2nd user that uses a different inbox did not get notified either. Regardless which provider is used the GUI should not crash, that's my opinion. I will try with other e-mail providers and see how it goes.  Thanks for the quick replies. I appreciate that.

Posted

I will notify the community contributor about the gui issue. Again this was a community contribution, sending emails is really not the core focus of Emby Server, and if it's giving you a negative impression of Emby then we may just have to pull it from the catalog. Thanks.

Posted

No, Luke, the product is great.  If it wasn't I would not have wasted my time into testing and comparing with other ones.  It looks great and very promising. I do thank you guys for the hard work and did get the premiere key today.  I just hate that little things like this linger and/or cause problem.

 

I will try another provider and see how it goes,

 

Thanks again,

Posted

I have always got an error when sending a TEST NOTIFICATION, even though the email is delivered.

 

Just tried it again, after reading this thread, and got errors in the server log:

2016-10-03 09:50:17.8694 Info Notifier: Emailing EMAIL_ADDRESS with subject Emby: Emby: Test Notification
2016-10-03 09:50:17.8844 Error ServiceStackHost: ServiceBase<TRequest>::Service Exception
    *** Error Report ***
    Version: 3.1.6120.2675
    Command line: C:\Users\Media\AppData\Roaming\MediaBrowser-Server\System\MediaBrowser.ServerApplication.exe
    Operating system: Microsoft Windows NT 6.1.7601 Service Pack 1
    Processor count: 4
    64-Bit OS: True
    64-Bit Process: True
    Program data path: C:\Users\Media\AppData\Roaming\MediaBrowser-Server
    Application Path: C:\Users\Media\AppData\Roaming\MediaBrowser-Server\System\MediaBrowser.ServerApplication.exe
    Object reference not set to an instance of an object.
    System.NullReferenceException
     at MediaBrowser.Plugins.SmtpNotifications.Notifier.<>c__DisplayClass8_0.<GetOptions>b__0(SMTPOptions i)
     at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
     at MediaBrowser.Plugins.SmtpNotifications.Notifier.SendNotificationInternal(UserNotification request, CancellationToken cancellationToken)
     at MediaBrowser.Plugins.SmtpNotifications.Notifier.<SendNotification>d__12.MoveNext()
    
2016-10-03 09:50:17.8844 Error HttpServer: Error processing request for /emby/Notification/SMTP/Test/3558d83febb02707497c92721b7a69c3
    *** Error Report ***
    Version: 3.1.6120.2675
    Command line: C:\Users\Media\AppData\Roaming\MediaBrowser-Server\System\MediaBrowser.ServerApplication.exe
    Operating system: Microsoft Windows NT 6.1.7601 Service Pack 1
    Processor count: 4
    64-Bit OS: True
    64-Bit Process: True
    Program data path: C:\Users\Media\AppData\Roaming\MediaBrowser-Server
    Application Path: C:\Users\Media\AppData\Roaming\MediaBrowser-Server\System\MediaBrowser.ServerApplication.exe
    Object reference not set to an instance of an object.
    ServiceStack.HttpError
    No Stack Trace Available
    InnerException: System.NullReferenceException
    Object reference not set to an instance of an object.
     at MediaBrowser.Plugins.SmtpNotifications.Notifier.<>c__DisplayClass8_0.<GetOptions>b__0(SMTPOptions i)
     at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
     at MediaBrowser.Plugins.SmtpNotifications.Notifier.SendNotificationInternal(UserNotification request, CancellationToken cancellationToken)
     at MediaBrowser.Plugins.SmtpNotifications.Notifier.<SendNotification>d__12.MoveNext()
    
2016-10-03 09:50:17.8954 Error ServiceStackHost: ServiceBase<TRequest>::Service Exception
    *** Error Report ***
    Version: 3.1.6120.2675
    Command line: C:\Users\Media\AppData\Roaming\MediaBrowser-Server\System\MediaBrowser.ServerApplication.exe
    Operating system: Microsoft Windows NT 6.1.7601 Service Pack 1
    Processor count: 4
    64-Bit OS: True
    64-Bit Process: True
    Program data path: C:\Users\Media\AppData\Roaming\MediaBrowser-Server
    Application Path: C:\Users\Media\AppData\Roaming\MediaBrowser-Server\System\MediaBrowser.ServerApplication.exe
    Object reference not set to an instance of an object.
    System.NullReferenceException
     at MediaBrowser.Plugins.SmtpNotifications.Notifier.<>c__DisplayClass8_0.<GetOptions>b__0(SMTPOptions i)
     at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
     at MediaBrowser.Plugins.SmtpNotifications.Notifier.SendNotificationInternal(UserNotification request, CancellationToken cancellationToken)
     at MediaBrowser.Plugins.SmtpNotifications.Notifier.<SendNotification>d__12.MoveNext()
    
2016-10-03 09:50:17.8954 Error HttpServer: Error processing request for /emby/Notification/SMTP/Test/fe8e98c1df54d9b502474bab46ee8982
    *** Error Report ***
    Version: 3.1.6120.2675
    Command line: C:\Users\Media\AppData\Roaming\MediaBrowser-Server\System\MediaBrowser.ServerApplication.exe
    Operating system: Microsoft Windows NT 6.1.7601 Service Pack 1
    Processor count: 4
    64-Bit OS: True
    64-Bit Process: True
    Program data path: C:\Users\Media\AppData\Roaming\MediaBrowser-Server
    Application Path: C:\Users\Media\AppData\Roaming\MediaBrowser-Server\System\MediaBrowser.ServerApplication.exe
    Object reference not set to an instance of an object.
    ServiceStack.HttpError
    No Stack Trace Available
    InnerException: System.NullReferenceException
    Object reference not set to an instance of an object.
     at MediaBrowser.Plugins.SmtpNotifications.Notifier.<>c__DisplayClass8_0.<GetOptions>b__0(SMTPOptions i)
     at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
     at MediaBrowser.Plugins.SmtpNotifications.Notifier.SendNotificationInternal(UserNotification request, CancellationToken cancellationToken)
     at MediaBrowser.Plugins.SmtpNotifications.Notifier.<SendNotification>d__12.MoveNext()

The email was received though.

 

I send through my own domain to my GMAIL account.

 

I'm running latest Dev release of the Emby server (v3.1.6120.2675).
Posted

I am glad to hear the email is being sent.

Posted

 

I have always got an error when sending a TEST NOTIFICATION, even though the email is delivered.

 

Just tried it again, after reading this thread, and got errors in the server log:

2016-10-03 09:50:17.8694 Info Notifier: Emailing EMAIL_ADDRESS with subject Emby: Emby: Test Notification
2016-10-03 09:50:17.8844 Error ServiceStackHost: ServiceBase<TRequest>::Service Exception
    *** Error Report ***
    Version: 3.1.6120.2675
    Command line: C:\Users\Media\AppData\Roaming\MediaBrowser-Server\System\MediaBrowser.ServerApplication.exe
    Operating system: Microsoft Windows NT 6.1.7601 Service Pack 1
    Processor count: 4
    64-Bit OS: True
    64-Bit Process: True
    Program data path: C:\Users\Media\AppData\Roaming\MediaBrowser-Server
    Application Path: C:\Users\Media\AppData\Roaming\MediaBrowser-Server\System\MediaBrowser.ServerApplication.exe
    Object reference not set to an instance of an object.
    System.NullReferenceException
     at MediaBrowser.Plugins.SmtpNotifications.Notifier.<>c__DisplayClass8_0.<GetOptions>b__0(SMTPOptions i)
     at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
     at MediaBrowser.Plugins.SmtpNotifications.Notifier.SendNotificationInternal(UserNotification request, CancellationToken cancellationToken)
     at MediaBrowser.Plugins.SmtpNotifications.Notifier.<SendNotification>d__12.MoveNext()
    
2016-10-03 09:50:17.8844 Error HttpServer: Error processing request for /emby/Notification/SMTP/Test/3558d83febb02707497c92721b7a69c3
    *** Error Report ***
    Version: 3.1.6120.2675
    Command line: C:\Users\Media\AppData\Roaming\MediaBrowser-Server\System\MediaBrowser.ServerApplication.exe
    Operating system: Microsoft Windows NT 6.1.7601 Service Pack 1
    Processor count: 4
    64-Bit OS: True
    64-Bit Process: True
    Program data path: C:\Users\Media\AppData\Roaming\MediaBrowser-Server
    Application Path: C:\Users\Media\AppData\Roaming\MediaBrowser-Server\System\MediaBrowser.ServerApplication.exe
    Object reference not set to an instance of an object.
    ServiceStack.HttpError
    No Stack Trace Available
    InnerException: System.NullReferenceException
    Object reference not set to an instance of an object.
     at MediaBrowser.Plugins.SmtpNotifications.Notifier.<>c__DisplayClass8_0.<GetOptions>b__0(SMTPOptions i)
     at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
     at MediaBrowser.Plugins.SmtpNotifications.Notifier.SendNotificationInternal(UserNotification request, CancellationToken cancellationToken)
     at MediaBrowser.Plugins.SmtpNotifications.Notifier.<SendNotification>d__12.MoveNext()
    
2016-10-03 09:50:17.8954 Error ServiceStackHost: ServiceBase<TRequest>::Service Exception
    *** Error Report ***
    Version: 3.1.6120.2675
    Command line: C:\Users\Media\AppData\Roaming\MediaBrowser-Server\System\MediaBrowser.ServerApplication.exe
    Operating system: Microsoft Windows NT 6.1.7601 Service Pack 1
    Processor count: 4
    64-Bit OS: True
    64-Bit Process: True
    Program data path: C:\Users\Media\AppData\Roaming\MediaBrowser-Server
    Application Path: C:\Users\Media\AppData\Roaming\MediaBrowser-Server\System\MediaBrowser.ServerApplication.exe
    Object reference not set to an instance of an object.
    System.NullReferenceException
     at MediaBrowser.Plugins.SmtpNotifications.Notifier.<>c__DisplayClass8_0.<GetOptions>b__0(SMTPOptions i)
     at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
     at MediaBrowser.Plugins.SmtpNotifications.Notifier.SendNotificationInternal(UserNotification request, CancellationToken cancellationToken)
     at MediaBrowser.Plugins.SmtpNotifications.Notifier.<SendNotification>d__12.MoveNext()
    
2016-10-03 09:50:17.8954 Error HttpServer: Error processing request for /emby/Notification/SMTP/Test/fe8e98c1df54d9b502474bab46ee8982
    *** Error Report ***
    Version: 3.1.6120.2675
    Command line: C:\Users\Media\AppData\Roaming\MediaBrowser-Server\System\MediaBrowser.ServerApplication.exe
    Operating system: Microsoft Windows NT 6.1.7601 Service Pack 1
    Processor count: 4
    64-Bit OS: True
    64-Bit Process: True
    Program data path: C:\Users\Media\AppData\Roaming\MediaBrowser-Server
    Application Path: C:\Users\Media\AppData\Roaming\MediaBrowser-Server\System\MediaBrowser.ServerApplication.exe
    Object reference not set to an instance of an object.
    ServiceStack.HttpError
    No Stack Trace Available
    InnerException: System.NullReferenceException
    Object reference not set to an instance of an object.
     at MediaBrowser.Plugins.SmtpNotifications.Notifier.<>c__DisplayClass8_0.<GetOptions>b__0(SMTPOptions i)
     at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
     at MediaBrowser.Plugins.SmtpNotifications.Notifier.SendNotificationInternal(UserNotification request, CancellationToken cancellationToken)
     at MediaBrowser.Plugins.SmtpNotifications.Notifier.<SendNotification>d__12.MoveNext()

The email was received though.

 

I send through my own domain to my GMAIL account.

 

I'm running latest Dev release of the Emby server (v3.1.6120.2675).

 

 

Do you get e-mail notification when content is updated? say a new show or movie is detected?  I'm assuming you have configured to notify when new content is added.   I have no problem receiving test notifications, I just don't receive e-mail when content is changed. Looks like you're running it from a windows server so that environment may be different.

Posted

Do you get e-mail notification when content is updated? say a new show or movie is detected?  I'm assuming you have configured to notify when new content is added.   I have no problem receiving test notifications, I just don't receive e-mail when content is changed. Looks like you're running it from a windows server so that environment may be different.

 

No, I don't use it for that as I have other methods to capture the information.

 

I use it for Emby updates, plugin updates and things like that.

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