When trying to connect android app to on-premise deployed Rocketchat I get following error:
Invalid URL or unable to establish a secure connection
Btw, I have a valid SSL Certificate
Environment:
On-Premise Kubernetes 1.17.1
Nginx Ingress Controller (deployed via helm chart)
Rocketchat official helm chart
I have already made sure that my server is OK with Websocket (by checking the websocket echo test)
After a lot of struggle the problem turned out to be SSL certificate chain issue. I fixed that by creating a chained certificate using https://certificatechain.io.