1개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
1
API Gateway only support web sockets from the client to the gateway. From the gateway to the backend integration, ECS in your case, it does not support web sockets. You will need to use an HTTP integration type (or VPC Link if the ECS cluster is private).
If your client is not able to established a web socket with the gateway due to firewalls, they may need to revert to polling instead.
I am not sure why you are trying to create a web socket connection from API Gateway to the backend, if the client does not support it anyway.
관련 콘텐츠
- AWS 공식업데이트됨 일 년 전
- AWS 공식업데이트됨 2년 전
Worth replacing the REST API over a WebSocket API. ?