본문 바로가기

Eyeeshot BloG

검색하기
Eyeeshot BloG
프로필사진 eyeeshot

  • 분류 전체보기 (29)
    • Tech (22)
      • MSA (1)
      • Css & Javascript (3)
      • ETC (4)
    • STUDY (1)
      • CleanCode (1)
    • Thinking (2)
    • ETC (1)
    • AboutMe (1)
Guestbook
Notice
Recent Posts
Recent Comments
Link
  • 자바캔(Java Can Do IT)
«   2025/05   »
일 월 화 수 목 금 토
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
Tags
  • MSA
  • Spring
  • alpine
  • gcOverhead
  • Dominic
  • SSH
  • 토이프로젝트
  • 김병주
  • remote
  • java
  • handshake
  • failed upgrade header
  • socjs
  • docker-compose
  • nginx
  • KPT
  • rsa충돌
  • GIT
  • beforeunload
  • AWS
  • iTerm2
  • docker
  • byungjoo kim
  • Intellij
  • zsh
  • WebSocket
  • 페이지이동경고
  • omz
  • 커리어스킬
  • python
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록nginx (1)

Eyeeshot BloG

ELB Websocket 설정 문제

ELB 상황에서 Websocket 을 사용하려면 문제가 몇가지 있다 우선 ELB 에 proxy 설정을 통해 websocket 연결이 가능하게 할수 있다. 링크 하지만 이렇게 연결하더라고 STOMP + SockJS 로 사용하려면 during WebSocket handshake: Unexpected response code: 400 에러가 난다. 해당 오류는 Handshake failed due to invalid Upgrade header 오류로 헤더 정보에 upgrade 정보가 없어서 나오는 에러이다. ELB proxy policy 는 proxy만 가능하고 헤더정보는 여전히 넘어오지 않는다. 따라서 우회하는 방법으로 ELB -> nginx -> application 처리로 테스트 해보았다. nginx는 ..

Tech 2020. 12. 3. 12:03
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바