S3: error with non AWS S3 provider

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
42/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
aws, javascript
領域
backend, cloud

調査の方向性

まず package.json で固定されている @aws-sdk/client-s3 のバージョンを確認し、既存の S3 設定とクライアントの構築を追跡します。利用可能なクライアントパラメーターを CodiMD が公開している設定と比較し、Garage のような非 AWS プロバイダーが報告されているホスト名エラーなしでパス形式のアドレッシングを使用できることを確認します。

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

説明

Hello.

Some S3 providers require forcePathStyle, in case of self hosting a garageHQ I got the following error:

2025-12-18T13:37:00.094Z error:         Error [ERR_TLS_CERT_ALTNAME_INVALID]: Hostname/IP does not match certificate's altnames: Host: s3-codimd.s3.test.example.net. is not in the cert's altnames: DNS:*.test.example.net, DNS:test.example.net

At the same time, the S3 client library is outdated, 0.1.0-preview.2 is 6 years old and does not support the forcePathStyle option. The latest @aws-sdk/client-s3 is 3.954.0.

I think codimd should permit to configure all S3 parameters to adapt configuration for specific providers and use cases.

Regards.

主要言語
JavaScript
スター
10.2k
フォーク
1.1k
PR マージ指標
30日以内にマージされた PR はありません

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

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

hackmdio/codimd のほかの issue

hackmdio/codimd の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

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

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