GoogleCloudPlatform / GoogleCloudPlatform/cloud-sql-nodejs-connector

Recovery gracefully from sleep

オープン
#283 コメント 0 件 リアクション 2 件 担当者 1 名 @hessjcg に割り当て済み GitHub で見る
priority: p2 type: feature request
主要言語
TypeScript
スター
97
フォーク
16
平均マージ
4日 16時間
マージ済み PR(30日)
4

説明

### Feature Description

When a Connector is running on a machine that goes to sleep for more than 1 hour, when the machine awakes, it will have an expired certificate. Given how TLS 1.3 works, the Connector will not see a failed handshake and will force users to restart the process to fix the problem.

Instead, we should check if the certificate retrieved from the cache is invalid. If it is, we should block on a force refresh attempt until we get a refresh cert.

See https://github.com/GoogleCloudPlatform/cloud-sql-proxy/issues/1788 and https://github.com/GoogleCloudPlatform/cloud-sql-go-connector/pull/686 for details.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

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

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