Skip to content

extra warning messages for "SSL: Connection timed out" #17950

@rbro

Description

@rbro

Description

I am running PHP 8.3.16 on Linux, and I run PHP with "error_log = /var/log/phplog".

At times, I believe after long running processes have finished, I will see warnings like this logged:

[26-Feb-2025 00:10:35 America/New_York] PHP Warning:  PHP Request Shutdown: SSL: Connection timed out in Unknown on line 0

I'm trying to figure out where they are coming from and how to suppress them. My code is connecting to a MySQL database over SSL, so one possibility could be from this line, but I don't know for sure:

https://github.com/php/php-src/blob/master/ext/openssl/xp_ssl.c#L271

My questions are:

  • is there something I can do to definitely find out where this error is coming from?
  • could it be suppressed?

Thanks for your help.

PHP Version

8.3.16

Operating System

Linux

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions