-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(Fix) Validators DApp shows an error when MetaMask is not installed #27
Comments
Please, don't close this issue. I will add some code to For now a user has to install MetaMask in order to |
@varasev Hi, I did some more tests and the error seems to occur when connecting to I also noticed that it's impossible connect to localhost:8545 in MetaMask, though parity is running. As a consequence, localhost:3002 constantly displays spinner ( |
@phahulin What version of MetaMask do you use? It seems that MetaMask 4.6 won't connect to
Yes, I'll try it. |
The reason is that DApps inside The problem is that DApp doesn't see the I'll try to change |
Relates to poanetwork#27
@phahulin I have fixed Validators DApp with the latest version of MetaMask (4.6.1) works fine. I will recheck it again tomorrow morning. Please, clone the repo again and repeat the steps on your side. Is everything ok? |
I've tested it again. Everything is fine. All the steps of The right steps to follow to see that MetaMask successfully connects to DApps:
$ git clone https://github.com/poanetwork/poa-test-setup.git
$ cd poa-test-setup
$ npm i
$ npm run start-moc-setup
$ npm run launch-dapps
Ceremony DApp: http://localhost:3000 |
Please, don't close this yet, need to check with Jim |
After complete new node deployment and poa-test-setup install, the Validators DApp on port 3001 still fails. Ceremony on port 3000 and Governance port 3002 work fine. NOTE: The DApp should not fail regardless of RPC source, and does not on Ceremony or Governance. Is is error output returned via web browser when accessing poa-test-setup Validators DApp on http://localhost:3001 - ×
This used to work. Thanks for your help! |
The reason is that DApp inside Ceremony and Governance DApps don't display any errors because they use I can make the DApp use If it's important for your upcoming demo just let me know and I'll make a small fix for that soon. But in the current implementation you have to use |
It would seem best that all three DApps show the same behavior, and that it is never good for a web page to be returned with a broken link or failed message; this is very confusion. A test or demonstration network, even in a lab environment, should be interactive and return results regardless of who is operating the controls. If not, we might as well just create a Power Point or PDF. Yes, please have the Validators DApp on Port 3001 return the same sort of messages as teh Ceremony and Governance DApps on ports 3000 and 3002 vs failing. Thanks and please let me know how I can help. |
Yes, the DApp in For now please use I.e. you have to switch MetaMask to If you need to show the demo of the current list of validators in |
@varasev Jim and Co decided to deploy a test network in full, meaning they won't be using poa-test-setup. Can we close this issue or do you want to make any updates later? |
@phahulin Don't close it, please. I'll make some fixes described above later. |
Validators DApp on http://localhost:3001/ loads with error:
Steps to reproduce:
The text was updated successfully, but these errors were encountered: