S3: error with non AWS S3 provider
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 42/100
- Issue 類型
- 功能
- 描述清晰度
- 基本清楚
- 活躍度
- 停滯
- 技術堆疊
- aws, javascript
研究方向
先從 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
環境準備
在瀏覽器裡用你自己的 GitHub 帳號啟動這個專案的開發容器。
- 沒有 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
hackmdio/codimd 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 72/100
-
難度 3/5 1-2 天 新手友好度 48/100
-
unable to login未關閉
難度 2/5 1-3 小時 新手友好度 28/100
-
難度 3/5 1-2 天 新手友好度 45/100
-
edu-hub未關閉
難度 5/5 一週以上 新手友好度 20/100
相似的 Issue
-
Bug Nethernet Tests
難度 2/5 1-3 小時 新手友好度 78/100
JSPrismarine/JSPrismarine#3949 · 1 則留言 · 1 個 reaction ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 86/100
Jason-Vaughan/TangleClaw#3360 · 2 則留言 ·
維護者通常 1 天內回覆
-
documentation good first issue
難度 1/5 1 小時以內 新手友好度 92/100
OWASP/cve-lite-cli#1880 ·
維護者通常 2 天內回覆
-
難度 2/5 1-3 小時 新手友好度 78/100
MetaMask/eth-phishing-detect#317371 ·
維護者通常 1 天內回覆
-
agentic-workflows self-care self-care:dashboard-debug-logging
難度 2/5 1-3 小時 新手友好度 88/100
githubnext/gh-cao#21781 ·
維護者通常 1 天內回覆