T
tRPC

Does tRPC websocket client supports wss protocol?

Does tRPC websocket client supports wss protocol?

Ppeguiny5/23/2023
After changing the websocket client url from ws to wss, it fails to connect. Tested out the connection on postman works fine
Jjonorozcoc5/23/2023
Is your connection through a valid SSL cert? If you're requesting from HTTP to HTTPS (WSS) the browser will block the connection
Ppeguiny5/24/2023
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

Looking for more? Join the community!

T
tRPC

Does tRPC websocket client supports wss protocol?

Join Server