The Torus website runs on HTTPS
. The browser security model does not allow an insecure connection to a HTTP
endpoint over HTTPS
. Install the following npm package to proxy your HTTP
traffic from Ganache through a HTTPS
endpoint. The npm package redirects the traffic present on https://localhost:8545
to your Ganache port (eg. http://localhost:8546
)
npm install -g ganache-http-proxyganache-http-proxy
8546
is the port where Ganache is running locally.
ganache-cli -p 8546
Chrome: Paste the following URL into the address bar.
chrome://flags/#allow-insecure-localhost