Skip to content

fix(iam-nginx): Web Console 프록시 응답 대기 시간을 120초로 늘림 - #111

Merged
MZC-CSC merged 2 commits into
developfrom
fix-nginx-console-proxy-timeout
Nov 2, 2026
Merged

MZC-CSC merged 2 commits into
developfrom
fix-nginx-console-proxy-timeout

Conversation

@MZC-CSC

@MZC-CSC MZC-CSC commented Nov 2, 2026 •

Copy link
Copy Markdown
Owner

변경 요약

  • Web Console 에서 시간이 오래 걸리는 Infra/K8s 작업이 성공하는데도 브라우저가 504 를 받고 실패 토스트가 뜨던 문제를 수정합니다.
    • 원인: mc-infra-manager(CB-Tumblebug) DelInfraNode·GetControlInfraNode·PostK8sNodeGroup 등은 CSP 작업이 끝난 뒤 응답하는 동기 API 입니다. IAM nginx 의 Web Console location 은 proxy_read_timeout 60s 라 60초에 504 를 반환했고, 백엔드는 그 뒤 정상 완료했습니다.
      • GCP 노드 삭제: nginx upstream timed out ... DelInfraNode 01:37:53 → web-console-api 200 DelInfraNode (1m2.5s) 01:37:56
      • AWS EKS NodeGroup 생성: nginx 504 PostK8sNodeGroup → tumblebug 201 (99초), 화면 Failed to create NodeGroup
  • nginx.template.conf·nginx.template.local.conf: Web Console(:3001) location proxy_read_timeout 60s → 120s. 연결·전송 timeout 과 다른 서비스 location 은 그대로입니다.
    • 처음 90s 로 올렸으나 NodeGroup 생성 99초 실측으로 120s 로 다시 올렸습니다.
  • README / README_kr Known Issues: 원인과 실측값, 504 재발 시 더 늘리는 절차(템플릿·기동 중 nginx.conf 반영·reload), nginx 로그 확인 방법을 기록했습니다.

노드 삭제·전원 제어 등 mc-infra-manager 동기 API 는 CSP 작업이 끝난 뒤
응답한다(GCP 노드 삭제 약 62초). Web Console location 의
proxy_read_timeout 60s 보다 길어 작업은 성공하는데 브라우저는 504 를 받았다.

- Web Console(:3001) location proxy_read_timeout 60s → 90s (prod/local 템플릿)
- README/README_kr Known Issues 에 원인과 120s 상향 절차 기록
stage 실측에서 AWS EKS NodeGroup 생성이 99초 걸려 90초로도 504 가 났다.

- Web Console(:3001) location proxy_read_timeout 90s → 120s (prod/local 템플릿)
- README/README_kr Known Issues 실측값(노드 삭제 62초, NodeGroup 생성 99초)과 상향 절차 갱신
@MZC-CSC MZC-CSC changed the title fix(iam-nginx): Web Console 프록시 응답 대기 시간을 90초로 늘림 fix(iam-nginx): Web Console 프록시 응답 대기 시간을 120초로 늘림 Nov 2, 2026
@MZC-CSC
MZC-CSC merged commit d07dd94 into develop Nov 2, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants