WebSocket opening handshake was canceled

First of all, I must say that I am astonished by the power of capacitor, with only a few lines of code almost our whole react app has been transformed into a cross platform app. Having that said, there has been only one problem we are facing currently.

For some reason our websocket connection is refusing, telling us : “WebSocket opening handshake was canceled”. I checked our certificate at: SSL Checker and its all green. On the web everything is working, on localhost it is working and on mobile web its also working just fine. Is there any app specific problem that I am not seeing ?

We are making use of a wss:// connection. Every other connection to https:// is working just fine

I found the solution, for people stumbling on the same problem add:


to AndroidManifest.xml