I just stumbled across this issue today and was able to resolve it by starting ngrok
and including the --host-header
flag.
ngrok http --host-header=rewrite 3000
From the docs:
Use the
--host-header
switch to rewrite incoming HTTP requests.If rewrite is specified, the Host header will be rewritten to match
the hostname portion of the forwarding address.