Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

SSL certificate fails to be renewed

オープン
#1,469 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
docker, docker-compose, nginx, php

調査の方向性

vendor/easyengine/site-command/src/helper/Site_Letsencrypt.php の 387 行目と、class-ee-site.php の 1303–1536 行付近にある SSL フローから始めます。報告されている Docker および Docker Compose のバージョンで更新コマンドを再現し、その後、HTTP challenge のチェックとプロキシコンテナの動作を追跡します。challenge が検証され、更新中も Web サイトが利用可能な状態を維持できれば完了です。

索引モデルが issue の本文から書いたものです。

説明

Debug: Loading account keypair (33.751s)
Debug: Starting check with solver http (33.751s)
Debug: Loading the authorization token for domains [REDACTED], www.[REDACTED] ... (33.752s)
Debug: Challenge loaded. (33.752s)
Debug: Testing the challenge for domain [REDACTED] (36.953s)

Then in this step, it gets stuck for a long time.

Finally, I get a PHP Fatal:

PHP Fatal error:  Uncaught Exception: Can not validate challenge for domain [REDACTED] in phar:///usr/local/bin/ee/vendor/easyengine/site-command/src/helper/Site_Letsencrypt.php:387
Stack trace:
#0 phar:///usr/local/bin/ee/vendor/easyengine/site-command/src/helper/class-ee-site.php(1536): EE\Site\Type\Site_Letsencrypt->check(Array, '0', '')
#1 phar:///usr/local/bin/ee/vendor/easyengine/site-command/src/helper/class-ee-site.php(1422): EE\Site\Type\EE_Site_Command->ssl(Array, Array, true)
#2 phar:///usr/local/bin/ee/vendor/easyengine/site-command/src/helper/class-ee-site.php(1363): EE\Site\Type\EE_Site_Command->init_le('[REDACTED]', '/opt/easyengine...', '0', true, false, Array)
#3 phar:///usr/local/bin/ee/vendor/easyengine/site-command/src/helper/class-ee-site.php(1303): EE\Site\Type\EE_Site_Command->init_ssl('[REDACTED]', '/opt/easyengine...', 'le', '0', true, false, Array)
#4 phar:///usr/local/bin/ee/vendor/easyengine/site-command/src/helper/class-ee-site.php(1668): EE\Site\Type\EE_Site_Command->www_ssl_wrapper in phar:///usr/local/bin/ee/vendor/easyengine/site-command/src/helper/Site_Letsencrypt.php on line 387

What I'm noticing is that while the command is running, the website goes completely down. I think the proxy container is not behaving well, so the LE challenge doesn't complete properly.

+-------------------+---------------------------------------------------------------------------+
| OS                | Linux 4.15.0-96-generic #97-Ubuntu SMP Wed Apr 1 03:25:46 UTC 2020 x86_64 |
| Shell             | /bin/bash                                                                 |
| PHP binary        | /usr/bin/php7.3                                                           |
| PHP version       | 7.3.18-1+ubuntu18.04.1+deb.sury.org+1                                     |
| php.ini used      | /etc/php/7.3/cli/php.ini                                                  |
| EE root dir       | phar://ee.phar                                                            |
| EE vendor dir     | phar://ee.phar/vendor                                                     |
| EE phar path      | /root                                                                     |
| EE packages dir   |                                                                           |
| EE global config  | /opt/easyengine/config/config.yml                                         |
| EE project config |                                                                           |
| EE version        | 4.1.3                                                                     |
+-------------------+---------------------------------------------------------------------------+
LSB Version:	core-9.20170808ubuntu1-noarch:security-9.20170808ubuntu1-noarch
Distributor ID:	Ubuntu
Description:	Ubuntu 18.04.4 LTS
Release:	18.04
Codename:	bionic

Docker version 19.03.9, build 9d988398e7
docker-compose version 1.25.5, build 8a1c60f6

  • ee cli info
  • lsb_release -a
  • docker version
  • docker-compose version
主要言語
PHP
スター
2.2k
フォーク
422
平均マージ
2日 3時間
マージ済み PR(30日)
10

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

EasyEngine/easyengine のほかの issue

EasyEngine/easyengine の issue をすべて見る

似ている issue

PHP の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。