Fails over HTTP
Describe the bug
When running 3box over HTTP we cannot login. Here is the error
Cannot read property 'importKey' of undefined
To Reproduce Steps to reproduce the behavior:
- Go to http://remix.ethereum.org
- Click on "Plugin Manager" (plug icon on the right)
- Click on "Connect with MetaMask"
- See error in console
Expected behavior Login should works on HTTP
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: [Windows, MacOS, Debian]
- Browser [Chrome] (seems to work on Firefox)
- Version [Version 77.0.3865.75 (Build officiel) (64 bits)]
Additional context
When trying to build locally (localhost) a plugin on Remix you have to run Remix IDE over HTTP (as browser doesn't support postMessage communication between http and https). So 3box plugin is unusable by other plugin during development.
Thanks for reporting! The reason this happens I think is because the connection to our ipfs node needs to happen over https for security issues. Maybe there is some setting in chrome for development mode that can be used?
Ok, thanks I'll take a look at it.