PostgREST v14.15 arm64 container returns plain-text 500 for UTF-8 PostgreSQL error messages without locale
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 48/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- postgresql, typescript
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- TypeScript
- Estrellas
- 2.4k
- Forks
- 526
- Merge medio
- 1 d 2 h
- PR fusionados (30 d)
- 307
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de supabase/cli
-
Migration error caret is missing or misplaced when the statement contains multibyte charactersAbierto🐛 Bug supabase/cli
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día
-
SQL statement splitter breaks E'...' strings that contain a backslash-escaped quotePosiblemente ocupada @7ttp la tomó hace 1 día. Abierto🐛 Bug supabase/cli
supabase/cli#6885 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
db push applies migrations when the confirmation answer is not yes or noPosiblemente ocupada @7ttp la tomó hace 2 días. Abierto🐛 Bug supabase/cli
supabase/cli#6869 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
🐛 Bug supabase/cli
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
Los mantenedores suelen responder en 1 día
-
🐛 Bug supabase/cli
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
Los mantenedores suelen responder en 1 día
Todos los issues de supabase/cli
Issues similares
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 78/100
lichess-org/api#678 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
PostHog/posthog.com#20628 ·
Los mantenedores suelen responder en 1 día
-
bug status:Needs Triage
Dificultad 1/5 Menos de una hora Aptitud para principiantes 92/100
jupyterlab/jupyterlab#19964 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
agentscope-ai/QwenPaw#8064 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
area: notebooks-jupyter bug theme: new notebook frontend
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
posit-dev/positron#16347 · 1 comentario ·
Los mantenedores suelen responder en 1 día