I had a similar issue before. Could you please check the certificate chain on your side and make sure all certificates are correctly declared (CA and intermediate certificates), especially if you are using a proxy?
For testing purposes, you can try the application on a local Wi-Fi network without passing through the proxy.
You can also use online DNS/SSL check tools to verify whether the SSL certificate chain is correctly configured.
This was the cause of my issue when I faced a similar problem.