1 Respuesta
- Más nuevo
- Más votos
- Más comentarios
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.
Contenido relevante
- OFICIAL DE AWSActualizada hace 2 años
- OFICIAL DE AWSActualizada hace 2 años
- OFICIAL DE AWSActualizada hace un año
Worth replacing the REST API over a WebSocket API. ?