RestClient::InternalServerError: 500 Internal Server Error
Service
cupixvista-rest_client
Occurrences
1,086
Status
Reported
Confidence
85%
Actionability
52%
Cluster ID
f6a0dc3b-c393-4c59-83c3-cdb0d242890c
First Seen
2025-04-24 08:05 UTC
Last Seen
2026-08-05 04:45 UTC
Actions
RestClient::InternalServerError: 500 Internal Server Error
What Happened#
tesla (vista 배포)의 background 작업이 voxel-service 로 보내는 PUT /api/v1/voxels/captured_area 요청이 downstream 에서 500 Internal Server Error 를 반환하면서 RestClient::InternalServerError 가 발생했다. 이 500 은 tesla Cupix::HttpClient 의 retriable 목록에 없어 즉시 raise 되고, APM rest_client 컴포넌트 span 이 error 로 태깅되어 Error Tracking 에 집계된다. 실제 실행 경로는 RefreshCapturedSizeWorker 와 cron flush_stale_captured_size batch 로, 두 경로 모두 완전히 rescue 되어 사용자 영향은 없다. 근본 원인은 downstream voxel-service lambda 의 Athena query 실패(transient)이며, tesla 코드 결함이 아니다.
Quick Facts#
| Field | Value |
|---|---|
| exception.class | RestClient::InternalServerError |
| exception.message | 500 Internal Server Error |
| top_frame | app/services/cupix/voxel_service.rb:96 (captured_area! rescue) |
| runtime | Ruby / Sidekiq (RefreshCapturedSizeWorker), Cron (Cupix::Cron::Facility) |
| env | production, us-west-2 (tenant: cupix / vista deployment) |
Affected Teams#
| Team / Domain | Error Count | Impact |
|---|---|---|
| tesla (cupixvista) background | 28 spans (500, now-24h) | 사용자 영향 없음 — background 작업, 다층 rescue |
| voxel-service (data-pipeline-functions) | downstream | Athena query 실패로 500 반환 (근본 원인 위치) |
Timeline#
- 2025-04-24 17:05 KST — 최초 발생 (first_seen). 22개월간 지속.
- 2026-08-04 13:48 KST — now-24h 창에서 다수 facility 에 대해 500 반복 발생 (Facility ID 16141, 4764, 4763... 다수 distinct).
- 2026-08-04 13:51 KST — 최근 발생 (last_seen). span
2026-08-04T04:51:31Z와 일치.
Scoring#
Confidence 85% · Actionability 52%
Confidence#
| Dimension | Score | Detail |
|---|---|---|
| Evidence completeness | 5/5 | 19 code refs, 3 log queries |
| Code path explicitness | 3/3 | 19 file:line refs |
| Log evidence | 3/3 | section, query, pattern |
| RCA structure | 3/3 | 3/3 sections |
| Revision history | 0/3 | 0 revision(s) |
| Agent execution | 3/3 | success |
Actionability#
| Dimension | Score | Detail |
|---|---|---|
| Fix complexity | 5/5 | trivial |
| Affected files | 1/5 | 14 file(s) |
| Single repo | 1/3 | 2 service(s) |
| Immediate actions | 0/3 | absent |
| Testability | 0/3 | no test info |
| External dependency | 3/3 | no external deps |
| Data migration | 3/3 | no migration |