Skip to content

Conversation

@swilla
Copy link

@swilla swilla commented Dec 16, 2025

In PHP 8+, some failures (like DNS resolution and SSL verification errors) can throw Error exceptions, which don't extend Exception, so they weren't being caught and sites weren't being flagged as down.

Example exceptions:

stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:
error:0A000086:SSL routines::certificate verify failed
stream_socket_client(): php_network_getaddresses: getaddrinfo for www.domain.org failed: Try again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant