Closed jhmc93 closed 17 hours ago
Are you sure that your settings are correct for your email provider? e.g ports are correct?
I'm using google so I've set up it using the 2fa app password as documented and the right port which is 587 and host which is smtp.gmail.com
I just set it up using GMail to ensure nothing has broke and it's working for me.
The test will fail if there are no admin users with an email address (Check the user management page). But it's working for me using the following:
Yes, 2fa is also setup. Try changing your email sender to match your username. As something could be blocked on the google side as it looks like your spoofing another address
I will drop you a message later, to tell you the results, as right now I have to go out, so that’s why my screenshots in my last post where off my phone. But I’ll be back in contact in about an hour
I'm still having the same problem. I'm wondering if it could be pfsense blocking it? I don't think it is pfsense as ive checked the pfsense logs and everything is going through, Ill try it without pfsense though but im still having the same problem
UPDATE: can confirm it's not pfsense
here are the logs off ombi:
2024-07-03 15:42:21.336 +00:00 [INF] Default Quartz.NET properties loaded from embedded resource file
2024-07-03 15:42:21.381 +00:00 [INF] Initialized Scheduler Signaller of type: Quartz.Core.SchedulerSignalerImpl
2024-07-03 15:42:21.381 +00:00 [INF] Quartz Scheduler created
2024-07-03 15:42:21.381 +00:00 [INF] RAMJobStore initialized.
2024-07-03 15:42:21.382 +00:00 [INF] Quartz Scheduler 3.6.2.0 - 'DefaultQuartzScheduler' with instanceId 'NONCLUSTERED' initialized
2024-07-03 15:42:21.382 +00:00 [INF] Using thread pool 'Quartz.Simpl.DefaultThreadPool', size: 10
2024-07-03 15:42:21.382 +00:00 [INF] Using job store 'Quartz.Simpl.RAMJobStore', supports persistence: False, clustered: False
2024-07-03 15:42:21.382 +00:00 [INF] JobFactory set to: Ombi.Schedule.IoCJobFactory
2024-07-03 15:42:21.426 +00:00 [INF] Scheduler DefaultQuartzScheduler$_NON_CLUSTERED started.
2024-07-03 15:42:29.699 +00:00 [ERR] Failed executing DbCommand (0ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
INSERT OR IGNORE INTO EFMigrationsHistory (MigrationId,ProductVersion)
VALUES('20191103205133_Inital', '2.2.6-servicing-10079');
2024-07-03 15:44:00.509 +00:00 [ERR] Something bad happened, ErrorMiddleware caught this
System.InvalidOperationException: Cannot return null from an action method with a return type of 'Microsoft.AspNetCore.Mvc.IActionResult'.
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.EnsureActionResultNotNull(ObjectMethodExecutor executor, IActionResult actionResult)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfIActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.
Error is there at the bottom
User 'jhmc931' has no email address set on their user profile.
It’s not the error. That was a test one to see if it was pfsense, for the one I’ve posted on this issue board is a different machine. With only one user. What I showed in previous screenshots. So nothing to do with that error u said. As I updated my logs with the actual machine in my previous post. As I posted the wrong machine. U know on your docker do u use a volume or a bind for ombi configs? :)
Can anyone help if not I’ll just have to try something else
The original error just indicates that it timed out while talking to the SMTP provider. I cannot reproduce this and is likely an environmental issue with Ombi talking to that SMTP server.
Solved: Turns out it was my vpn (Surfshark). I had an idea to pass through the server bypassing my vpn and it all worked, thanks for your help
Summary
I keep getting an error when testing the notifications for my emails my logs are below:![Screenshot 2024-07-03 132834](https://github.com/Ombi-app/Ombi/assets/50001717/48d7a518-24fd-4b79-8f99-76effbde48c1)
Ombi Version
4.43.5
What platform(s) does this occur on?
Docker
What database are you using?
SQLite (Default)
Relevant log output
No response