You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I started the demo using ./docker-prebuilt-up.sh and got to the voting stage. But when I use the voter frontend, I can't seem to login and get to the loading page. I'm using the default credentials found in identity-provider-backend/src/database/identities like alex:alex.
When I try to login, it flashes "Currently no vote ongoing." from the NotOpen page. This made me think that the switch for votingState was going to the default case:
But when I checked state page for the access provider at http://172.1.1.42:4002/state, I see {"state":"VOTING","address":"0x5F3DBa5e45909D1bf126aA0aF0601B1a369dbFD7"}. This made me realize it should be going into the VOTING case and is probably going into the !state.authenticate branch where it's returning me to the login page:
However, upon checking the web console in the browser, I can see that no POST request is being sent. I'm not sure why it's not and where the code goes from there, but this seems like it would be the source of the problem. I am having problems running the entire setup locally and am having trouble replacing the image used in the docker-prebuilt-up.sh script (#219) so that is also preventing me from further debugging this issue.
I started the demo using
./docker-prebuilt-up.sh
and got to the voting stage. But when I use the voter frontend, I can't seem to login and get to the loading page. I'm using the default credentials found inidentity-provider-backend/src/database/identities
likealex:alex
.When I try to login, it flashes "Currently no vote ongoing." from the
NotOpen
page. This made me think that theswitch
forvotingState
was going to the default case:master-project-evoting/voter-frontend/src/AppManager.tsx
Lines 80 to 81 in 48c18ac
But when I checked state page for the access provider at http://172.1.1.42:4002/state, I see
{"state":"VOTING","address":"0x5F3DBa5e45909D1bf126aA0aF0601B1a369dbFD7"}
. This made me realize it should be going into theVOTING
case and is probably going into the!state.authenticate
branch where it's returning me to the login page:master-project-evoting/voter-frontend/src/AppManager.tsx
Lines 68 to 70 in 48c18ac
So then, this made me think the credentials were invalid or not registered. But, I tried running:
Which returned:
So, this makes me think the default credentials such as
alex:alex
should work, but it doesn't. What is going on here?The text was updated successfully, but these errors were encountered: