peguiny
peguiny2y ago

Does tRPC websocket client supports wss protocol?

After changing the websocket client url from ws to wss, it fails to connect. Tested out the connection on postman works fine
2 Replies
Jonatan Orozco
Is your connection through a valid SSL cert? If you're requesting from HTTP to HTTPS (WSS) the browser will block the connection
peguiny
peguinyOP2y ago
Yeah it was, it was a aws alb link. Post man works fine for that link. Idk the term called but I route it to my domain name and used my domain name instead of the direct aws alb link, then it worked