Bug #11063
closed
PHP error if SMTP notification fails
Added by Niccolò Marchi almost 4 years ago.
Updated over 3 years ago.
Description
amd64
12.2-STABLE
FreeBSD 12.2-STABLE 573bcbb6506(devel-12) pfSense
Crash report details:
PHP Errors:
[12-Nov-2020 17:54:43 Europe/Rome] PHP Warning: stream_socket_client(): unable to connect to smtp.gmail.com:587 (No route to host) in /usr/local/share/pear/Net/Socket.php on line 159
No FreeBSD crash data found.
- Subject changed from php error to PHP error if SMTP notification fails
- Category changed from PPP Interfaces to Notifications
- Priority changed from Normal to Very Low
- Target version deleted (
2.5.0)
This happens if an SMTP notification can't be sent (e.g. WAN down, no default route, etc). Not specific to any interface type.
It's harmless, just log spam essentially.
- Assignee set to Jim Pingle
- Target version set to 2.5.0
- Affected Version set to All
Hit this locally and found a good way to test. It's a simple fix.
- Status changed from New to Feedback
- % Done changed from 0 to 100
- Status changed from Feedback to Resolved
I couldn't replicate the issue on the latest release. Ticket resolved.
Also available in: Atom
PDF