SYSTEM - Uncaught Exception: Cannot read properties of undefined (reading 'statusCode')
Service
cupixworks-capture-singleshot-agent
Occurrences
1
Status
Dismissed
Confidence
90%
Actionability
52%
Cluster ID
6e7c4f07-4010-431f-bf2f-5ea59189310b
First Seen
2026-06-19 02:54 UTC
Last Seen
2026-06-19 02:54 UTC
Actions
현재 상태 dismissed 에서는 실행할 액션이 없습니다.
SYSTEM - Uncaught Exception: Cannot read properties of undefined (reading 'statusCode')
What Happened#
cupixworks-capture-singleshot-agent (production, us-west-2) 에서 stitched pano 업로드 직후 request 콜백이 network error 를 받았는데도 응답 객체가 undefined 인 채로 response.statusCode 를 참조하면서 uncaught exception 이 발생했다. 에러 직전 같은 컨테이너에서 ETIMEDOUT (syscall:"read") 와 SingleshotService::uploadStitchedPano | image is not uploaded 가 기록됐다. 1회 발생 후 process 가 exit code 1 로 종료되었으며 status board 가 같은 서비스의 다른 cluster (8803d72d-…) 와 묶어 임시 incident 를 열었다가 곧바로 resolved 처리했다.
Quick Facts#
| Field | Value |
|---|---|
| exception.class | TypeError |
| exception.message | Cannot read properties of undefined (reading 'statusCode') |
| top_frame | packages/api/src/api/pano.api.ts:170 (request callback inside uploadImage) |
| triggering call | SingleshotService::uploadStitchedPano → cupixApi.pano.uploadImage |
| env | production, region us-west-2 |
| tenant | cupix |
Affected Teams#
| Team / Domain | Error Count | Impact |
|---|---|---|
| capture / singleshot-agent (chrischoi) | 1 (cluster), 추가 동시 cluster 1건 (8803d72d-…) |
Stitched pano upload 실패 → singleshot capture 가 Stopped 상태로 정상 마감되지 못하고 worker 프로세스가 강제 종료. 같은 SQS 메시지가 visibility timeout 후 재시도되지만 동일 transient network error 발생 시 동일하게 crash 가능. |
Timeline#
- 2026-06-19 11:43:34 KST 부터 —
CupixAuth::handleError | Response statusCode: 404, requestUriHref: …/api/v1/sessions/sagemaker_invoke_credentials가 약 10분 간 반복 (transient session/credential 문제 — 이번 root cause 와는 별개의 backround warning). - 2026-06-19 11:53:12 KST —
BaseService::handlingMessageErrors | Error and message object - {"error":{"errno":-110,"code":"ETIMEDOUT","syscall":"read"}, ...}(직전 SQS 메시지 처리 중 read timeout). - 2026-06-19 11:53:27 KST —
SingleshotService::uploadStitchedPano | image is not uploaded(cluster8803d72d-…와 같은 시점). - 2026-06-19 11:54:09 KST (= 02:54:09 UTC, cluster
last_seen) —SYSTEM - Uncaught Exception: Cannot read properties of undefined (reading 'statusCode')발생, agent process exit. - 2026-06-19 11:54:09 KST —
ChildProcessManager::setupEventHandlers | Child process exited/Child process closed가 연쇄적으로 기록됨 (동일/후속 컨테이너의 child process 정리). - 2026-06-19 12:16:02 KST — 후속 메시지 재시도에서 정상 path 의
BaseService::handlingMessageErrors(statusCode 400,RESC10000 Resource does not uploaded) 가 기록됨 (정상 에러 핸들링 — uncaught exception 재현 안 됨).
Scoring#
Confidence 90% · Actionability 52%
Confidence#
| Dimension | Score | Detail |
|---|---|---|
| Evidence completeness | 5/5 | 20 code refs, 6 log queries |
| Code path explicitness | 3/3 | 20 file:line refs |
| Log evidence | 3/3 | section, query, pattern |
| RCA structure | 3/3 | 3/3 sections |
| Revision history | 1/3 | 1 revision(s) |
| Agent execution | 3/3 | success |
Actionability#
| Dimension | Score | Detail |
|---|---|---|
| Fix complexity | 5/5 | trivial |
| Affected files | 1/5 | 17 file(s) |
| Single repo | 1/3 | 9 service(s) |
| Immediate actions | 0/3 | absent |
| Testability | 2/3 | test mentioned |
| External dependency | 1/3 | external deps found |
| Data migration | 3/3 | no migration |