Project

General

Profile

Actions

Bug #11063

closed

PHP error if SMTP notification fails

Added by Niccolò Marchi about 1 year ago. Updated 11 months ago.

Status:
Resolved
Priority:
Very Low
Assignee:
Category:
Notifications
Target version:
Start date:
11/12/2020
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
All
Affected Architecture:

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.

Actions #1

Updated by Jim Pingle about 1 year ago

  • 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.

Actions #2

Updated by Jim Pingle 11 months ago

  • 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.

Actions #3

Updated by Jim Pingle 11 months ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100
Actions #4

Updated by Danilo Zrenjanin 11 months ago

  • Status changed from Feedback to Resolved

I couldn't replicate the issue on the latest release. Ticket resolved.

Actions

Also available in: Atom PDF