Jump to content

No user activity notification email since updating to latest emby prod version.


Go to solution Solved by vaise,

Recommended Posts

Posted

This is a scheduled task at 9AM each day.

So I checked the logs and found this at that time (see below) - Has sonething changed with the gmail sending - see 'The server committed a protocol violation' ? 

:

2025-10-13 08:59:59.999 Info UserActivityReportNotification - TaskNotifictionReport: Activity Query : SELECT UserId, ItemType, ItemName, SUM(PlayDuration - PauseDuration) AS PlayTime FROM PlaybackActivity WHERE DateCreated > '2025-10-12 09:00:00.1269932' AND UserId not IN (select UserId from UserList) AND (PlayDuration - PauseDuration) > 180 GROUP BY UserId, ItemType, ItemName
2025-10-13 09:00:00.233 Info UserActivityReportNotification - TaskNotifictionReport: Cutoff DateTime for new items - date: 2025-10-12 09:00:00.1269932 ago: 1.00:00:00.1067100
2025-10-13 09:00:00.233 Info UserActivityReportNotification - TaskNotifictionReport: User activity Message : ItemCount : 71
2025-10-13 09:00:00.442 Error Notifications: Error sending notification
    *** Error Report ***
    Version: 4.9.1.80
    Command line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3
    Operating system: Linux version 6.12.24-Unraid (root@Develop) (gcc (GCC) 14.2.0, GNU ld version 2.44-slack151) #1 SMP PREEMPT_DYNAMIC Sat May  3 00:12:52 PDT 2025
    OS/Process: x64/x64
    Framework: .NET 8.0.11
    Runtime: system/System.Private.CoreLib.dll
    Processor count: 12
    Data path: /config
    Application path: /system
    System.Net.Mail.SmtpException: System.Net.Mail.SmtpException: The server committed a protocol violation. The server response was: 
       at System.Net.Mail.MailCommand.CheckResponse(SmtpStatusCode statusCode, String response)
       at System.Net.Mail.MailCommand.EndSend(IAsyncResult result)
       at System.Net.Mail.SendMailAsyncResult.SendMailFromCompleted(IAsyncResult result)
    --- End of stack trace from previous location ---
       at System.Net.Mail.SendMailAsyncResult.End(IAsyncResult result)
       at System.Net.Mail.SmtpClient.SendMailCallback(IAsyncResult result)
    --- End of stack trace from previous location ---
       at MediaBrowser.Plugins.SmtpNotifications.Notifier.SendNotification(InternalNotificationRequest request, CancellationToken cancellationToken)
       at Emby.Notifications.NotificationQueueManager.StartProcessingQueue()
    Source: System.Net.Mail
    TargetSite: Void CheckResponse(System.Net.Mail.SmtpStatusCode, System.String)

 

 

 

Posted

Further to this, I did a test email from my admin users email notification - and this sends fine.

  • Solution
Posted

After resaving the email notification, and running the scheduled jobs manually, it is now working.

Oh well - case closed.......

Posted

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