Concordium / concordium-governance-committee-voting

This repository holds the components required to facilitate elections for the Concordium governance committee
Apache License 2.0
3 stars 8 forks source link

Guardian app - network and contract indicators are not green while there seems to be connection to both #62

Closed mh-concordium closed 7 months ago

mh-concordium commented 8 months ago

Bug Description Tested on Windows.

It seems that the indicators are not working correctly. Importing account key that is not registered as Guardian throws error Imported account is not a guardian in the election, however indicators for network and the contract are grey.

Steps to Reproduce

  1. Build app and run it on Windows with config parameters:

    CCD_ELECTION_CONTRACT_ADDRESS="<8011,0>"
    CCD_ELECTION_NETWORK="testnet"
    CCD_ELECTION_NODE="https://grpc.testnet.concordium.com:20000"
  2. Import key that is not registered as Guardian.

Expected Result Error shows up that account is not a guardian and indicators for connection to Testnet and to the contract are green.

Actual Result

Given that I get the error message makes me think app has actually checked if my account is in the contract and I actually am connected but the indicators are not showing it.

image

Versions

mh-concordium commented 8 months ago

Just to add, this is how it looks after key import was ok

image

mh-concordium commented 8 months ago

Underlaying issue was that I was not running the server. Still the error message and indicators should be shown. Failed to get remote resource: error sending request for url (http://localhost:8080/static/electionguard/election-manifest.json): error trying to connect: tcp connect error: No connection could be made because the target machine actively refused it. (os error 10061)