Unable to send an email: 404 page not found (code 404)
-
If you want I can turn on the ssh for support on my install to check the logs, etc ?
Basically I'm not sure why it stopped, or exactly when, it didn't become apparent until I tried sending an invoice, and it "bounced".
The upstream issue was similar but not identical.
Eventually I went to settings to specify the mail server, fixed an issue with the account I was using still having admin@cludron.local as an email address, and mail was successfully going out again. i thought this setting was blank previously, but honestly cannot recall exactly.
I also tried the command in the github issuephp artisan queue:work database --queue=scout
Seemed to run ok, but the queue is still the same
-
If you want I can turn on the ssh for support on my install to check the logs, etc ?
Basically I'm not sure why it stopped, or exactly when, it didn't become apparent until I tried sending an invoice, and it "bounced".
The upstream issue was similar but not identical.
Eventually I went to settings to specify the mail server, fixed an issue with the account I was using still having admin@cludron.local as an email address, and mail was successfully going out again. i thought this setting was blank previously, but honestly cannot recall exactly.
I also tried the command in the github issuephp artisan queue:work database --queue=scout
Seemed to run ok, but the queue is still the same
Hello @AartJansen
So you have tinkered with the mailing settings and have queue issues now?
@AartJansen said in Unable to send an email: 404 page not found (code 404):
Eventually I went to settings to specify the mail server, fixed an issue with the account I was using still having admin@cludron.local as an email address, and mail was successfully going out again. i thought this setting was blank previously, but honestly cannot recall exactly
Can you please share a screenshot of your
/settings/email_settings
invoice ninja settings? -
-
Because the default( which looked blank) stopped working, so I tried some other settings, because I needed to send invoices. otherwise I don't eat (lol).
Yes it works fine. -
Did I do any other changes to get it working, or to break it ?
It was just failing to send invoices 1 september,
When I found the 404 error, and looked at the invoice ninja github, Ifound a similar issue logged by another user at the same time.
I found the other users attempt to run a php command to trigger the queue, which appeared to work in console, but made no difference to the health report screen. Also I added SCOUT_DRIVER=null to the env file.
It wasn't until I changed the email settings to use SMTP, and corrected the default email address of the admin account, to my actual address, that sending invoices again worked for me. -
Did I do any other changes to get it working, or to break it ?
It was just failing to send invoices 1 september,
When I found the 404 error, and looked at the invoice ninja github, Ifound a similar issue logged by another user at the same time.
I found the other users attempt to run a php command to trigger the queue, which appeared to work in console, but made no difference to the health report screen. Also I added SCOUT_DRIVER=null to the env file.
It wasn't until I changed the email settings to use SMTP, and corrected the default email address of the admin account, to my actual address, that sending invoices again worked for me.Hello @AartJansen
@AartJansen said in Unable to send an email: 404 page not found (code 404):
Did I do any other changes to get it working, or to break it ?
Before 01. September, did you do any changes that might have had an impact?
@AartJansen said in Unable to send an email: 404 page not found (code 404):
It wasn't until I changed the email settings to use SMTP, and corrected the default email address of the admin account, to my actual address, that sending invoices again worked for me.
This is odd. I've tried multiple times to reproduce this issue and all default worked fine.
But, if I read this correctly, it is now working and the only issue now is the health report that still displays the errors from 01. September.
Did I get this right? -
No I didn't change any settings, just have automatic updates enabled, so thought that the updates had triggered the problem.
Yes thats correct, I'm not sure what the default setting is for email, and the only issue I can find is the health report error to do with queued jobs.