[에러 해결]LangFuse Traces API 에러

daramzzi·2026년 1월 16일

OpenWebUI

목록 보기
4/6

에러 증상

  • 발생 일시: 2026-01-16
  • 에러 메시지: Internal Server Error
  • API 엔드포인트: traces.byId
  • 영향: 특정 trace 조회 시 "Internal Server Error" 발생

에러 원인 분석

1. 로그 분석

docker compose logs langfuse-web | grep "traces.byId"

- 발견된 에러

middleware intercepted error with code INTERNAL_SERVER_ERROR 
Attempt to read after eof: (while reading column metadata): 
(while reading from part /var/lib/clickhouse/
in table default.traces) 
located on disk default of type local, from mark 0 with max_rows_to_read = 1, offset = 172

2. 근본 원인

  • ClickHouse 데이터 파트 파일 손상
  • 에러 타입: ATTEMPT_TO_READ_AFTER_EOF

해결 방법

  • 손상된 파트 분리(DETACH)
docker compose exec clickhouse clickhouse-client --query \
  "ALTER TABLE default.traces DETACH PART '202601_..."
profile
Github: https://github.com/STARC00KIE

0개의 댓글