ES /docs

failed to get element records - error: 504 Gateway Timeout

Service
cupixworks-api
Occurrences
6
Status
Reported
Confidence
85%
Actionability
44%
Cluster ID
e0768532-00bb-4911-b2a0-e0bba91afec6
First Seen
2026-04-26 04:53 UTC
Last Seen
2026-04-30 07:24 UTC
Actions

failed to get element records - error: 504 Gateway Timeout

What Happened#

2026-04-26 04:53 UTC에 cupixworks-api의 Cupix::SiteinsightsService#get_element_records! 메서드에서 downstream Siteinsights API Gateway로의 HTTP GET 요청이 504 Gateway Timeout으로 실패했다. 요청은 facility umphr6에 대해 300개 element record를 5개 category 필터와 함께 조회하는 것이었으며, 약 29초간 대기 후 타임아웃되었다. 단건 발생으로, 시스템 전반적인 장애는 아니었다.

Quick Facts#

Field Value
exception.class RestClient::Exception
exception.message 504 Gateway Timeout
top_frame app/services/cupix/siteinsights_service.rb:118
env production, us-west-2
error_code SYS20000
request_duration 29,098 ms
http_status_returned 502 (to client)

Affected Teams#

Team / Domain Error Count Impact
pclconstruction (team 739) 1 사용자 Maggie Qu(mqu@pcl.com)의 element record 조회 요청 실패, 502 응답 반환

Timeline#

  1. 2026-04-26T04:53:25Z (추정) — cupix-agent user-agent로부터 GET /api/v1/siteinsights/element_records 요청 수신
  2. 2026-04-26T04:53:54.282Z — downstream Siteinsights API Gateway에서 504 Gateway Timeout 응답, Cupix::SiteinsightsService에서 에러 로깅
  3. 2026-04-26T04:53:54.425Z — 요청 로그 기록: 총 29,098ms 소요, HTTP 502로 클라이언트에 응답
  4. 2026-04-26T04:53:54Z — Error Sweeper에 의해 감지

Scoring#

Confidence 85% · Actionability 44%

Confidence#

Dimension Score Detail
Evidence completeness 5/5 7 code refs, 5 log queries
Code path explicitness 3/3 7 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 18 file(s)
Single repo 1/3 2 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