ES /docs

CupixAuth#getSession missing retry on 504 — no retryable wrapper

Service
cupixworks-any-potree-agent
Occurrences
4
Status
Pr_created
Confidence
85%
Actionability
52%
Cluster ID
cf86fc53-a9cf-453e-bbda-7c465197898b
First Seen
2026-07-06 18:15 UTC
Last Seen
2026-07-22 19:22 UTC
Actions
현재 상태 pr_created 에서는 실행할 액션이 없습니다.

CupixAuth#getSession missing retry on 504 — no retryable wrapper

What Happened#

2026-07-07 03:15 KST 시각에 cupixworks-any-potree-agent (ap-southeast-2)가 SQS 메시지 처리 시작 시 세션을 확인하기 위해 내부 API api-tesla.cupix.internalGET /api/v1/sessions?fields[0]=id 요청을 보냈다가 AWS ELB로부터 502 Bad Gateway 응답을 받고 실패했다. 에러는 최상위 runByMessages 루프에서 catch되어 handlingMessageErrors가 로그로 남겼고, 메시지 1건이 처리되지 못했다.

Quick Facts#

Field Value
exception.class HttpError
exception.message 502 Bad Gateway (awselb/2.0)
top_frame packages/cupix-tesla-potree-agent/src/potree-service.ts:502 (handlingMessageErrors)
upstream call GET http://api-tesla.cupix.internal/api/v1/sessions?fields[0]=id
env production, ap-southeast-2

Affected Teams#

Team / Domain Error Count Impact
cupixworks-any-potree-agent (ap-southeast-2) 1 Pointcloud 변환 메시지 1건 처리 지연 (SQS 재시도 대상)

Timeline#

  1. 2026-07-07 03:15:23 KST — Agent가 SQS 메시지 a9706694-9915-4b29-8db0-210bf0c7e27e 수신 (ApproximateReceiveCount=1).
  2. 2026-07-07 03:15:23 KSTauthenticateByMessagestartSessiongetSession()GET /api/v1/sessions 호출.
  3. 2026-07-07 03:15:23 KSTapi-tesla.cupix.internal 앞의 ALB (server: awselb/2.0)가 502 Bad Gateway 응답 (본문 122 bytes, nginx-style HTML).
  4. 2026-07-07 03:15:23 KSTrunByMessage에서 throw된 에러가 runByMessages 루프의 catch로 전달되어 handlingMessageErrors에서 error 로그로 기록.

Scoring#

Confidence 85% · Actionability 52%

Confidence#

Dimension Score Detail
Evidence completeness 5/5 13 code refs, 3 log queries
Code path explicitness 3/3 13 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 3/5 5 file(s)
Single repo 1/3 3 service(s)
Immediate actions 0/3 absent
Testability 0/3 no test info
External dependency 1/3 external deps found
Data migration 3/3 no migration