일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- byungjoo kim
- WebSocket
- 페이지이동경고
- MSA
- remote
- AWS
- 토이프로젝트
- docker-compose
- GIT
- Spring
- 커리어스킬
- handshake
- rsa충돌
- socjs
- Intellij
- nginx
- iTerm2
- failed upgrade header
- gcOverhead
- SSH
- omz
- java
- zsh
- Dominic
- docker
- python
- 김병주
- KPT
- alpine
- beforeunload
Archives
- Today
- Total
목록handshake (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