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

PostgREST v14.15 arm64 container returns plain-text 500 for UTF-8 PostgreSQL error messages without locale

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

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
postgresql, typescript
領域
backend, cli, databases

調査の方向性

Start by reproducing the direct request against the arm64 PostgREST v14.15 container with locale C and an accented PostgreSQL error, then compare stderr and the HTTP response with LC_ALL=C.utf8 or logging suppressed. Done means the arm64 image returns the JSON error and preserves the complete UTF-8 log, with amd64 behavior assessed for parity.

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

説明

🐛 Bug supabase/cli

On macOS arm64/Colima, Supabase CLI 2.111.0 starts public.ecr.aws/supabase/postgrest:v14.15 (arm64) without LANG/LC_ALL. A PostgreSQL RPC that raises SQLSTATE 55P03 or P0002 with an accented UTF-8 message, mapped to HTTP 500, produces status 500 text/plain body "Something went wrong" rather than the JSON error. ASCII message with same SQLSTATE returns JSON, and accented message mapped to HTTP 400 returns JSON. Reproduces on direct request to PostgREST, bypassing Kong. Its stderr log for the failing case truncates at the accented character. In a temporary container with the same arm64 image, DB and PGRST config, adding LC_ALL=C.utf8 (or LANG=C.utf8) yields JSON and complete log; suppressing error log with PGRST_LOG_LEVEL=crit also yields JSON. Please ensure an UTF-8 locale for the arm64 image or make error logging robust to UTF-8 under locale C, and consider parity with the amd64 image. The tag's arm64 build is dynamic glibc while amd64 is static musl; we have NOT proven that the amd64 build behaves differently on this minimal repro. No credentials or private DB data needed in the issue.

主要言語
TypeScript
スター
2.4k
フォーク
526
平均マージ
1日 2時間
マージ済み PR(30日)
307

環境構築

はじめの一歩

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

supabase/cli のほかの issue

supabase/cli の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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