ES /docs

nginx api-tesla upstream connection failure — 502/504

Service
cupixworks-any-potree-r1-xlarge-agent
Occurrences
35
Status
Reported
Confidence
80%
Actionability
44%
Cluster ID
fe74187a-af95-4bb7-a32d-0ecce9d5e9d1
First Seen
2026-07-02 20:46 UTC
Last Seen
2026-07-09 00:37 UTC
Actions

nginx api-tesla upstream connection failure — 502/504

What Happened#

2026-07-03 05:46:11 KST에 cupixworks-any-potree-r1-xlarge-agent(us-west-2)가 pointcloud 1190788 처리 중 PUT /api/v1/pointclouds/1190788/check_uploading에서 500 응답을 받고 handlingMessageErrors가 발동했다. 발생 건수는 14일 동안 단 1건(single occurrence)이며, 동일 시각 cupixworks-api 쪽에는 대응되는 로그가 남아 있지 않다. 잠시 뒤 pointcloud는 정상적으로 done 상태로 전이되었기 때문에 사용자 영향은 없다.

Quick Facts#

Field Value
exception.class PotreeService::handlingMessageErrors (upstream HTTP 500)
exception.message statusCode: 500 from http://api-tesla.cupix.internal/api/v1/pointclouds/1190788/check_uploading
top_frame packages/cupix-tesla-potree-agent/src/potree-service.ts:378 (this.cupixApi.pointcloud.checkUploading)
env production, us-west-2
tenant cupix

Affected Teams#

Team / Domain Error Count Impact
siteline / potree processing 1 pointcloud 1190788의 최초 potree 업로드 확인 실패. 이후 재처리를 통해 pointcloud 상태가 done으로 전이되어 최종 사용자 영향 없음.

Timeline#

  1. 2026-07-03 05:32:11 KST — 에이전트가 SQS 메시지를 받아 pointcloud 1190788 처리 시작 (PotreeService::runByMessage | id: 1190788, state: queued, resource_state: uploaded, potree_state: created).
  2. 2026-07-03 05:34:44 KST — 처리 초기 단계에서 permission cache 무효화 발생 (Flush cached permissions By User for User 52107 on Pointcloud 1190788).
  3. 2026-07-03 05:46:10 KST — potree 변환/S3 업로드 후 check_uploading 호출에서 500 수신, PotreeService::getApiErrorToDeleteMessage warn 로그 기록.
  4. 2026-07-03 05:46:11 KSTPotreeService::handlingMessageErrors error 로그 기록, SQS 메시지 삭제 및 potree_stateError로 업데이트되었을 것으로 예상되는 error 분기 진입.
  5. 2026-07-03 05:54:35 KST — 동일 pointcloud 1190788가 Rails 측에서 pointcloud state changed from queued to done으로 전이되며 start_finalization 실행 (agent 재시도 없이 API 흐름을 통해 최종화됨).

Scoring#

Confidence 80% · Actionability 44%

Confidence#

Dimension Score Detail
Evidence completeness 5/5 12 code refs, 9 log queries
Code path explicitness 3/3 12 file:line refs
Log evidence 2/3 section, query
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 9 file(s)
Single repo 1/3 12 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