Has anyone used the AWS WebSocket API Gateway and successfully connected with a typescript application (Angular/React etc)?
I have built an AWS WebSocket API gateway that functions correctly when using something like wscat or ws to connect. The issue is that these can’t be used from the browser. It seems when using native JavaScript WebSocket the application successfully connects and then immediately disconnects with a status code of 1006 (Connection closed abnormally). No where on the browser nor on the CloudWatch logs does it give any indication as to why it is disconnecting abruptly. I need this connection to stay alive on the browser but both native JavaScript and the rxjs-websocket (which I think still uses this under the hood) disconnect immediately.