일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
Archives
- Today
- Total
목록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