ngrok was forwarding to only https for me which was giving an ssl certificate error when other services tried to access the endpoint.
Most of the times ngrok forwards to http and https but for some reason my ngrok was only forwarding to https after using the command: ngrok http 4554 --host-header=localhost:4554
How do I force ngrok to forward to http and not https?
To forward to http you need to use the scheme flag as follows:
ngrok http --scheme=http 4545 --host-header=localhost:4545
This will specify to ngrok to forward to http and it the endpoint produced will be http not https.