chudak 24 Posted October 7, 2020 Posted October 7, 2020 12 minutes ago, Luke said: Right but talking to you right now you've mentioned the config files, so seeing the contents of them before/after certain changes would make this easier to evaluate. There is nothing but my personal data in them !
CBers 7450 Posted October 8, 2020 Posted October 8, 2020 @chudak When you restore from your backup, do NOT re-install the plugins, but start afresh from the plugin catalog. Or, navigate into the Emby backup and remove the DLL and configuration file(s) before restoring. Then you can install the plugin direct from the catalog and set it up afresh. 1
chudak 24 Posted October 8, 2020 Posted October 8, 2020 7 hours ago, CBers said: @chudak When you restore from your backup, do NOT re-install the plugins, but start afresh from the plugin catalog. Or, navigate into the Emby backup and remove the DLL and configuration file(s) before restoring. Then you can install the plugin direct from the catalog and set it up afresh. That's a good idea @CBers Still the underlining cause is unclear.
chudak 24 Posted October 8, 2020 Posted October 8, 2020 8 hours ago, CBers said: @chudak When you restore from your backup, do NOT re-install the plugins, but start afresh from the plugin catalog. Or, navigate into the Emby backup and remove the DLL and configuration file(s) before restoring. Then you can install the plugin direct from the catalog and set it up afresh. @CBers If I remove/purge emby installation and remove /var/lib/emby and then do what you suggest, do you think it will work ?
CBers 7450 Posted October 8, 2020 Posted October 8, 2020 16 minutes ago, chudak said: @CBers If I remove/purge emby installation and remove /var/lib/emby and then do what you suggest, do you think it will work ? Sorry, not sure about Emby running on Linux. If you have a working server, then just do a restore minus the plugins, then add them from the catalog.
chudak 24 Posted October 8, 2020 Posted October 8, 2020 1 hour ago, CBers said: Sorry, not sure about Emby running on Linux. If you have a working server, then just do a restore minus the plugins, then add them from the catalog. So that actually worked, thx @CBers I am happy, the root issue still exists ! @Luke FYI 2
emdubya77 35 Posted November 8, 2020 Posted November 8, 2020 (edited) [deleted] Edited July 6, 2022 by emdubya77
HawkXP71 112 Posted March 3, 2025 Posted March 3, 2025 Sorry for reviving an old thread, but I am hitting the exact same issues trying to setup an office 365 account as the SMTP server. email from/To: my email account on office 365 SMTP Host name: smtp.office365.com SMTP Port: 587 (with SSL/TLS enabled, 25 with it unchecked) both fail Enable SSL/TLS: Checked SMTP username: same as my email address Password: set correctly Clicking the Send test notification is attempted and it fails. From the Log: System.Net.Mail.SmtpException: System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.Sockets.SocketException (10060): A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken) at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) at System.Threading.Tasks.ValueTask.ValueTaskSourceAsTask.<>c.<.cctor>b__4_0(Object state) --- End of stack trace from previous location --- at System.Threading.Tasks.TaskToApm.End(IAsyncResult asyncResult) at System.Net.Sockets.TcpClient.EndConnect(IAsyncResult asyncResult) at System.Net.Mail.SmtpConnection.ConnectAndHandshakeAsyncResult.InitializeConnectionCallback(IAsyncResult result) --- End of stack trace from previous location --- at System.Net.Mail.SmtpConnection.ConnectAndHandshakeAsyncResult.End(IAsyncResult result) at System.Net.Mail.SmtpClient.ConnectCallback(IAsyncResult result) --- End of inner exception stack trace --- at MediaBrowser.Plugins.SmtpNotifications.Notifier.SendNotification(InternalNotificationRequest request, CancellationToken cancellationToken) 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, ReadOnlyMemory`1 urlString, ReadOnlyMemory`1 localPath, CancellationToken cancellationToken) Source: System.Private.CoreLib TargetSite: Void Throw() InnerException: System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. Source: System.Net.Sockets TargetSite: Void ThrowException(System.Net.Sockets.SocketError, System.Threading.CancellationToken) at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken) at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) at System.Threading.Tasks.ValueTask.ValueTaskSourceAsTask.<>c.<.cctor>b__4_0(Object state) --- End of stack trace from previous location --- at System.Threading.Tasks.TaskToApm.End(IAsyncResult asyncResult) at System.Net.Sockets.TcpClient.EndConnect(IAsyncResult asyncResult) at System.Net.Mail.SmtpConnection.ConnectAndHandshakeAsyncResult.InitializeConnectionCallback(IAsyncResult result) --- End of stack trace from previous location --- at System.Net.Mail.SmtpConnection.ConnectAndHandshakeAsyncResult.End(IAsyncResult result) at System.Net.Mail.SmtpClient.ConnectCallback(IAsyncResult result) Any thoughts? Suggestions? I have run nmap, and confirmed that both port 587 and 25 are accessible at the SMTP server I have also tried using gmail with the less than secure app settings (16 digit code etc) and get the same results.
Luke 42077 Posted March 3, 2025 Posted March 3, 2025 29 minutes ago, HawkXP71 said: Sorry for reviving an old thread, but I am hitting the exact same issues trying to setup an office 365 account as the SMTP server. email from/To: my email account on office 365 SMTP Host name: smtp.office365.com SMTP Port: 587 (with SSL/TLS enabled, 25 with it unchecked) both fail Enable SSL/TLS: Checked SMTP username: same as my email address Password: set correctly Clicking the Send test notification is attempted and it fails. From the Log: System.Net.Mail.SmtpException: System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.Sockets.SocketException (10060): A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken) at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) at System.Threading.Tasks.ValueTask.ValueTaskSourceAsTask.<>c.<.cctor>b__4_0(Object state) --- End of stack trace from previous location --- at System.Threading.Tasks.TaskToApm.End(IAsyncResult asyncResult) at System.Net.Sockets.TcpClient.EndConnect(IAsyncResult asyncResult) at System.Net.Mail.SmtpConnection.ConnectAndHandshakeAsyncResult.InitializeConnectionCallback(IAsyncResult result) --- End of stack trace from previous location --- at System.Net.Mail.SmtpConnection.ConnectAndHandshakeAsyncResult.End(IAsyncResult result) at System.Net.Mail.SmtpClient.ConnectCallback(IAsyncResult result) --- End of inner exception stack trace --- at MediaBrowser.Plugins.SmtpNotifications.Notifier.SendNotification(InternalNotificationRequest request, CancellationToken cancellationToken) 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, ReadOnlyMemory`1 urlString, ReadOnlyMemory`1 localPath, CancellationToken cancellationToken) Source: System.Private.CoreLib TargetSite: Void Throw() InnerException: System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. Source: System.Net.Sockets TargetSite: Void ThrowException(System.Net.Sockets.SocketError, System.Threading.CancellationToken) at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken) at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) at System.Threading.Tasks.ValueTask.ValueTaskSourceAsTask.<>c.<.cctor>b__4_0(Object state) --- End of stack trace from previous location --- at System.Threading.Tasks.TaskToApm.End(IAsyncResult asyncResult) at System.Net.Sockets.TcpClient.EndConnect(IAsyncResult asyncResult) at System.Net.Mail.SmtpConnection.ConnectAndHandshakeAsyncResult.InitializeConnectionCallback(IAsyncResult result) --- End of stack trace from previous location --- at System.Net.Mail.SmtpConnection.ConnectAndHandshakeAsyncResult.End(IAsyncResult result) at System.Net.Mail.SmtpClient.ConnectCallback(IAsyncResult result) Any thoughts? Suggestions? I have run nmap, and confirmed that both port 587 and 25 are accessible at the SMTP server I have also tried using gmail with the less than secure app settings (16 digit code etc) and get the same results. Are you sure you configured the right values? Looks like the host is not responding.
darkassassin07 652 Posted March 3, 2025 Posted March 3, 2025 https://learn.microsoft.com/en-us/exchange/clients-and-mobile-in-exchange-online/deprecation-of-basic-authentication-exchange-online Microsoft has diabled basic auth (user+password) for most services and is continuing to do so with more. This may or may not be your current problem; but it will become a problem soon as Emby does not support 0auth2. I shifted to gmail for the time being, and will hopefully be moving elsewhere soon. Not entirely sure where yet. 2
HawkXP71 112 Posted March 3, 2025 Posted March 3, 2025 1 hour ago, Luke said: Are you sure you configured the right values? Looks like the host is not responding. The exact settings work fine from my synology NAS. On the synology box, if I change the password, the log shows an auth error.
HawkXP71 112 Posted March 3, 2025 Posted March 3, 2025 (edited) 1 minute ago, HawkXP71 said: The exact settings work fine from my synology NAS. On the synology box, if I change the password, the log shows an auth error. Edited March 3, 2025 by HawkXP71
HawkXP71 112 Posted March 3, 2025 Posted March 3, 2025 32 minutes ago, darkassassin07 said: https://learn.microsoft.com/en-us/exchange/clients-and-mobile-in-exchange-online/deprecation-of-basic-authentication-exchange-online Microsoft has diabled basic auth (user+password) for most services and is continuing to do so with more. This may or may not be your current problem; but it will become a problem soon as Emby does not support 0auth2. I shifted to gmail for the time being, and will hopefully be moving elsewhere soon. Not entirely sure where yet. Can you share what your settings are?
darkassassin07 652 Posted March 3, 2025 Posted March 3, 2025 smtp.gmail.com 587 tls enabled. Requires the email as a username + an app password
HawkXP71 112 Posted March 3, 2025 Posted March 3, 2025 1 hour ago, Luke said: Are you sure you configured the right values? Looks like the host is not responding. I have used the 16 character code from gmails app password feature. Both with and without spaces. I have attached a screen shot of the gmail settings Any ideas?
darkassassin07 652 Posted March 3, 2025 Posted March 3, 2025 Same error as above? That error would indicate a network issue. Either the name is resolving to an incorrect ip which isn't listening for connections, the connection is being blocked by a firewall, or there's a problem routing the packets correctly. Verify the server can reach smtp.gmail.com on port 587 using telnet or nmap.
HawkXP71 112 Posted March 3, 2025 Posted March 3, 2025 1 hour ago, darkassassin07 said: smtp.gmail.com 587 tls enabled. Requires the email as a username + an app password when you say user name + an app password say I had app name "emby" and the generated password is "aaaa bbbb cccc dddd" for an email of "yyy@gmail.com" woudl the user name be yyy@gmail.com aaa bbb ccc dddd Sorry for being so dense, Ive tried just about everything to no avail nmap works fine for 587 to smtp.gmail.com
darkassassin07 652 Posted March 3, 2025 Posted March 3, 2025 Yeah, the username is your email address
pdclark 10 Posted March 3, 2025 Posted March 3, 2025 Been trying for several days to get notifications to work via email. Microsoft and GMail both fail. 1
HawkXP71 112 Posted March 4, 2025 Posted March 4, 2025 1 hour ago, darkassassin07 said: Yeah, the username is your email address and the password is the 16 digit code? with spaces or without?
HawkXP71 112 Posted March 4, 2025 Posted March 4, 2025 3 hours ago, darkassassin07 said: With spaces. Thanks.. Finally got a new error!!! Error sending notification Error in processing. The server response was: 5.7.3 STARTTLS is required to send mail [MW3PR05CA0020.namprd05.prod.outlook.com 2025-03-04T03:33:37.085Z 08DD59B6AEE427E4]
MAX92 91 Posted March 14, 2025 Posted March 14, 2025 (edited) I don't understand. I try and I have this error: The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.0 Authentication Required. For more information, go to I have user : yyy@gmail.com and password : aaa bbb ccc dddd Edited March 14, 2025 by MAX92
Luke 42077 Posted March 15, 2025 Posted March 15, 2025 12 hours ago, MAX92 said: I don't understand. I try and I have this error: The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.0 Authentication Required. For more information, go to I have user : yyy@gmail.com and password : aaa bbb ccc dddd Hi there, please attach the emby server log: How to Report a Problem Thanks.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now