I had this same problem and in my case is because my environment variable where I set the ngrok url was https://mydomain.ngrok.iobut it should be just mydomain.ngrok.io, otherwise it adds https twice, but it depends a lot on how you generate those ur...