ES /docs

Net::OpenTimeout: Failed to open TCP connection to sqs.us-west-2.amazonaws.com:443 (execution expired)

Service
net/http
Occurrences
481
Status
Reported
Confidence
85%
Actionability
44%
Cluster ID
856169a1-d329-44ad-8965-4ccfcf193183
First Seen
2025-04-16 16:24 UTC
Last Seen
2026-08-05 04:19 UTC
Actions

Net::OpenTimeout: Failed to open TCP connection to sqs.us-west-2.amazonaws.com:443 (execution expired)

What Happened#

tesla (Rails API/Sidekiq worker, APM span net/http)가 AWS SQS 엔드포인트(sqs.us-west-2.amazonaws.com:443)로 메시지를 전송하려고 TCP connection을 열던 중 Net::OpenTimeout (execution expired)가 발생했다. 이는 애플리케이션 코드 결함이 아니라 AWS 네트워크 경로의 일시적 connect timeout이며, 16개월에 걸쳐 469건(<1/day) 발생한 저빈도 transient 이슈다. 동일 시간대 Datadog 로그를 보면 SQS뿐 아니라 Kinesis·S3 등 다른 AWS 엔드포인트에도 동일한 execution expired connect timeout이 광범위하게 나타나, SQS 특정 코드 경로가 아닌 인프라·네트워크 레이어의 transient 현상임이 확인된다.

Quick Facts#

Field Value
exception.class Net::OpenTimeout
exception.message Failed to open TCP connection to sqs.us-west-2.amazonaws.com:443 (execution expired)
top_frame net/http (Ruby stdlib, AWS SDK 하위)
runtime Ruby / aws-sdk-core (~> 3, >= 3.127.0)
env production, us-west-2

Affected Teams#

Team / Domain Error Count Impact
tesla (cupixworks-api / -worker) 469 (16개월 누적) SQS enqueue 일시 실패. SDK 재시도 및 Sidekiq retry로 자가 복구. 사용자 영향 미미

Timeline#

  1. 2025-04-17 01:24 KST — 최초 발생 (first_seen, Representative Error 샘플)
  2. 2026-08-04 15:02 KST — 최근 발생 (last_seen)
  3. 2026-08-04 (동일 시간대) — Datadog 로그상 Kinesis·S3 등 다른 AWS 엔드포인트에도 동일 execution expired connect timeout 다발 (인프라 레이어 transient 확인)

Scoring#

Confidence 85% · Actionability 44%

Confidence#

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