Reply To: 8.6.5-1でOpenSSL Error

TOP Forums インストール(Installing KUSANAGI) 8.6.5-1でOpenSSL Error Reply To: 8.6.5-1でOpenSSL Error

#881
collne
Participant

    お返事が遅くなる申し訳ございません。

    kusanagi restart しております。
    インスタンスの再起動は致しておりません。

    下記のコードの fgets() でエラーが出ているようです。

    $fp = stream_socket_client( *******
    while( !feof( $fp ) ) {
    $response_data .= fgets( $fp, 4096 );
    }

    サーバーのエラーログはこんな感じです。
    2022/04/05 12:40:35 [error] 9793#0: *2062 FastCGI sent in stderr: “PHP message: PHP Warning: fgets(): SSL operation failed with code 1. OpenSSL Error messages:
    error:0A000126:SSL routines::unexpected eof while reading

    OpenSSLのバージョンは以下の通りです。
    [centos@kusanagi80 ~]$ openssl version
    OpenSSL 3.0.2 15 Mar 2022 (Library: OpenSSL 3.0.2 15 Mar 2022)

    以下、yum.log です。
    Mar 28 03:28:53 Installed: kusanagi-wp-plugins-20220316-1.el7.noarch
    Mar 28 03:28:57 Updated: kusanagi-8.6.5-1.noarch
    Mar 28 03:32:14 Updated: 1:grub2-common-2.02-0.87.el7.centos.7.noarch
    Mar 28 03:32:14 Updated: epel-release-7-14.noarch
    Mar 28 03:32:14 Updated: 32:bind-license-9.11.4-26.P2.el7_9.9.noarch
    Mar 28 03:32:14 Updated: 1:grub2-pc-modules-2.02-0.87.el7.centos.7.noarch
    Mar 28 03:32:14 Updated: libX11-common-1.6.7-4.el7_9.noarch
    Mar 28 03:32:15 Updated: kbd-misc-1.15.5-16.el7_9.noarch
    Mar 28 03:32:15 Installed: xz-devel-5.2.2-1.el7.x86_64
    Mar 28 03:32:16 Updated: kernel-headers-3.10.0-1160.59.1.el7.x86_64
    Mar 28 03:32:16 Updated: kbd-legacy-1.15.5-16.el7_9.noarch
    Mar 28 03:32:16 Installed: libedit-devel-3.0-12.20121213cvs.el7.x86_64
    Mar 28 03:32:16 Updated: tzdata-2022a-1.el7.noarch
    Mar 28 03:32:17 Updated: bash-4.2.46-35.el7_9.x86_64
    Mar 28 03:32:17 Updated: nss-softokn-freebl-3.67.0-3.el7_9.x86_64
    Mar 28 03:32:21 Updated: glibc-common-2.17-325.el7_9.x86_64
    Mar 28 03:32:22 Updated: glibc-2.17-325.el7_9.x86_64
    Mar 28 03:32:22 Updated: nspr-4.32.0-1.el7_9.x86_64
    Mar 28 03:32:22 Updated: nss-util-3.67.0-1.el7_9.x86_64
    Mar 28 03:32:22 Updated: libxml2-2.9.1-6.el7_9.6.x86_64
    Mar 28 03:32:22 Updated: systemd-libs-219-78.el7_9.5.x86_64
    Mar 28 03:32:24 Updated: systemd-219-78.el7_9.5.x86_64
    Mar 28 03:32:24 Updated: libX11-1.6.7-4.el7_9.x86_64
    Mar 28 03:32:27 Updated: kusanagi-openssl-3.0.2-1.noarch
    Mar 28 03:32:27 Updated: gd-last-2.3.3-2.el7.remi.x86_64
    Mar 28 03:32:27 Updated: 1:grub2-tools-minimal-2.02-0.87.el7.centos.7.x86_64
    Mar 28 03:32:27 Updated: systemd-sysv-219-78.el7_9.5.x86_64
    Mar 28 03:32:28 Updated: nss-softokn-3.67.0-3.el7_9.x86_64
    Mar 28 03:32:28 Updated: nss-sysinit-3.67.0-4.el7_9.x86_64
    Mar 28 03:32:28 Updated: nss-3.67.0-4.el7_9.x86_64
    Mar 28 03:32:28 Updated: rpm-libs-4.11.3-48.el7_9.x86_64
    Mar 28 03:32:28 Updated: rpm-4.11.3-48.el7_9.x86_64
    Mar 28 03:32:28 Updated: 1:grub2-tools-2.02-0.87.el7.centos.7.x86_64
    Mar 28 03:32:29 Updated: ca-certificates-2021.2.50-72.el7_9.noarch
    Mar 28 03:32:29 Updated: 1:openssl-libs-1.0.2k-24.el7_9.x86_64
    Mar 28 03:32:30 Updated: krb5-libs-1.15.1-51.el7_9.x86_64
    Mar 28 03:32:30 Updated: cyrus-sasl-lib-2.1.26-24.el7_9.x86_64
    Mar 28 03:32:30 Updated: 32:bind-libs-lite-9.11.4-26.P2.el7_9.9.x86_64
    Mar 28 03:32:30 Updated: 32:bind-libs-9.11.4-26.P2.el7_9.9.x86_64
    Mar 28 03:32:30 Updated: 1:openssl-1.0.2k-24.el7_9.x86_64
    Mar 28 03:32:30 Updated: libkadm5-1.15.1-51.el7_9.x86_64
    Mar 28 03:32:30 Updated: krb5-devel-1.15.1-51.el7_9.x86_64
    Mar 28 03:32:31 Updated: 1:openssl-devel-1.0.2k-24.el7_9.x86_64
    Mar 28 03:32:31 Updated: 1:grub2-tools-extra-2.02-0.87.el7.centos.7.x86_64
    Mar 28 03:32:31 Updated: 1:grub2-pc-2.02-0.87.el7.centos.7.x86_64
    Mar 28 03:32:31 Updated: rpm-build-libs-4.11.3-48.el7_9.x86_64
    Mar 28 03:32:31 Updated: nss-tools-3.67.0-4.el7_9.x86_64
    Mar 28 03:32:32 Updated: openldap-2.4.44-25.el7_9.x86_64
    Mar 28 03:32:32 Updated: openssh-7.4p1-22.el7_9.x86_64
    Mar 28 03:32:32 Updated: cyrus-sasl-2.1.26-24.el7_9.x86_64
    Mar 28 03:32:32 Updated: cyrus-sasl-devel-2.1.26-24.el7_9.x86_64
    Mar 28 03:32:32 Updated: kusanagi-nghttp2-1.47.0-1.noarch
    Mar 28 03:32:34 Updated: kusanagi-httpd-2.4.53-1.noarch
    Mar 28 03:32:34 Updated: 1:mod_ssl-2.4.6-97.el7.centos.5.x86_64
    Mar 28 03:32:34 Updated: ImageMagick-6.9.10.68-6.el7_9.x86_64
    Mar 28 03:32:34 Updated: cronie-anacron-1.4.11-24.el7_9.x86_64
    Mar 28 03:32:34 Updated: cronie-1.4.11-24.el7_9.x86_64
    Mar 28 03:32:35 Installed: libxml2-devel-2.9.1-6.el7_9.6.x86_64
    Mar 28 03:32:35 Installed: libzstd-1.5.2-1.el7.x86_64
    Mar 28 03:32:35 Updated: libzip5-1.8.0-2.el7.remi.x86_64
    Mar 28 03:32:35 Updated: glibc-headers-2.17-325.el7_9.x86_64
    Mar 28 03:32:35 Updated: kernel-tools-libs-3.10.0-1160.59.1.el7.x86_64
    Mar 28 03:32:37 Installed: libicu69-69.1-2.el7.remi.x86_64
    Mar 28 03:32:40 Updated: kusanagi-php7-7.4.28-1.noarch
    Mar 28 03:32:40 Updated: php-pecl-zip-1.20.0-1.el7.remi.5.6.x86_64
    Mar 28 03:32:40 Updated: php-common-5.6.40-32.el7.remi.x86_64
    Mar 28 03:32:41 Updated: php-cli-5.6.40-32.el7.remi.x86_64
    Mar 28 03:32:41 Updated: php-pdo-5.6.40-32.el7.remi.x86_64
    Mar 28 03:32:41 Updated: php-xml-5.6.40-32.el7.remi.x86_64
    Mar 28 03:32:41 Updated: python2-distro-1.5.0-1.el7.noarch
    Mar 28 03:32:42 Updated: python2-certbot-1.11.0-2.el7.noarch
    Mar 28 03:32:44 Updated: certbot-1.11.0-2.el7.noarch
    Mar 28 03:32:44 Updated: php-xmlrpc-5.6.40-32.el7.remi.x86_64
    Mar 28 03:32:44 Updated: php-mysqlnd-5.6.40-32.el7.remi.x86_64
    Mar 28 03:32:45 Updated: php-devel-5.6.40-32.el7.remi.x86_64
    Mar 28 03:32:45 Updated: php-5.6.40-32.el7.remi.x86_64
    Mar 28 03:32:45 Updated: php-gd-5.6.40-32.el7.remi.x86_64
    Mar 28 03:32:45 Updated: php-process-5.6.40-32.el7.remi.x86_64
    Mar 28 03:32:45 Updated: php-mbstring-5.6.40-32.el7.remi.x86_64
    Mar 28 03:32:45 Updated: php-mcrypt-5.6.40-32.el7.remi.x86_64
    Mar 28 03:32:45 Updated: php-opcache-5.6.40-32.el7.remi.x86_64
    Mar 28 03:32:46 Updated: php-fpm-5.6.40-32.el7.remi.x86_64
    Mar 28 03:32:46 Updated: kusanagi-wp-cli-2.6.0-1.el7.noarch
    Mar 28 03:32:47 Updated: kernel-tools-3.10.0-1160.59.1.el7.x86_64
    Mar 28 03:32:47 Updated: glibc-devel-2.17-325.el7_9.x86_64
    Mar 28 03:32:48 Updated: openldap-devel-2.4.44-25.el7_9.x86_64
    Mar 28 03:32:48 Updated: openssh-clients-7.4p1-22.el7_9.x86_64
    Mar 28 03:32:48 Updated: openssh-server-7.4p1-22.el7_9.x86_64
    Mar 28 03:32:48 Updated: sudo-1.8.23-10.el7_9.2.x86_64
    Mar 28 03:32:48 Updated: rpm-python-4.11.3-48.el7_9.x86_64
    Mar 28 03:32:48 Updated: 1:grub2-2.02-0.87.el7.centos.7.x86_64
    Mar 28 03:32:48 Updated: 32:bind-utils-9.11.4-26.P2.el7_9.9.x86_64
    Mar 28 03:32:48 Updated: 32:bind-export-libs-9.11.4-26.P2.el7_9.9.x86_64
    Mar 28 03:32:49 Updated: 1:nfs-utils-1.3.0-0.68.el7.2.x86_64
    Mar 28 03:32:49 Updated: monit-5.30.0-1.el7.x86_64
    Mar 28 03:32:49 Updated: python-virtualenv-15.1.0-5.el7_9.noarch
    Mar 28 03:32:50 Updated: kusanagi-nginx-1.21.6-1.noarch
    Mar 28 03:32:51 Updated: kusanagi-ImageMagick-6.7.8.9-19.el7.x86_64
    Mar 28 03:32:52 Updated: cloud-init-19.4-7.el7.centos.6.x86_64
    Mar 28 03:32:52 Updated: polkit-0.112-26.el7_9.1.x86_64
    Mar 28 03:32:52 Updated: libgudev1-219-78.el7_9.5.x86_64
    Mar 28 03:32:52 Updated: libxml2-python-2.9.1-6.el7_9.6.x86_64
    Mar 28 03:32:52 Updated: kbd-1.15.5-16.el7_9.x86_64
    Mar 28 03:32:52 Updated: kpartx-0.4.9-135.el7_9.x86_64
    Mar 28 03:32:53 Updated: binutils-2.27-44.base.el7_9.1.x86_64
    Mar 28 03:32:53 Updated: unzip-6.0-24.el7_9.x86_64
    Mar 28 03:32:54 Updated: python-perf-3.10.0-1160.59.1.el7.x86_64
    Mar 28 03:32:54 Updated: python-pillow-2.0.0-23.gitd1c6db8.el7_9.x86_64
    Mar 28 03:32:55 Updated: virt-what-1.18-4.el7_9.1.x86_64
    Mar 28 03:33:05 Installed: kernel-3.10.0-1160.59.1.el7.x86_64
    Mar 28 03:33:06 Updated: groonga-release-2021.10.30-1.noarch
    Mar 28 03:33:06 Updated: remi-release-7.9-3.el7.remi.noarch
    Mar 28 03:33:06 Updated: python2-rsa-3.4.2-3.el7.noarch
    Mar 28 03:33:07 Updated: glibc-2.17-325.el7_9.i686
    Mar 28 03:33:07 Updated: nss-softokn-freebl-3.67.0-3.el7_9.i686
    Mar 28 03:33:07 Updated: systemd-libs-219-78.el7_9.5.i686