Skip to content
This repository has been archived by the owner on Mar 11, 2024. It is now read-only.

Login doesn't work #28

Closed
varvarasd opened this issue Dec 13, 2017 · 3 comments
Closed

Login doesn't work #28

varvarasd opened this issue Dec 13, 2017 · 3 comments

Comments

@varvarasd
Copy link

varvarasd commented Dec 13, 2017

I've sign up and login button doesn't do anything. Is there anything I'm missing?
I've added a random name on signup and nothing happens when I click login. I do get the popup from MetaMask to submit the transaction once I click signup, i submit then nothing happens and login doesn't do anything...

Any suggestions are greatly appreciated.
Many thanks

@elie222
Copy link

elie222 commented Dec 26, 2017

Yes, there's an error in the console:

errors.js:35 Uncaught (in promise) Error: Failed to fetch
    at Object.InvalidResponse (errors.js:35)
    at requestmanager.js:86
    at inpage.js:9909
    at completeRequest (inpage.js:9960)
    at inpage.js:683
    at replenish (inpage.js:1203)
    at iterateeCallback (inpage.js:1193)
    at inpage.js:1168
    at inpage.js:9837
    at inpage.js:9933

This is the culprit line:

authentication.deployed().then(function(instance) {

@elie222
Copy link

elie222 commented Dec 26, 2017

I finally got it working once I set up metamask locally correctly.

@varvarasd varvarasd reopened this Dec 29, 2017
@varvarasd
Copy link
Author

Yes. I've restarted the browser and the truffle develop session and works fine. I'm suspecting the metamask needs to synchronize with the truffle to work.
Cheers

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants