Firebase Project Results In "Auth/network-request-failed" Error On Login
Solution 1:
I arrived at this answer with the help of Firebase support. It turns out that my button which was calling the login function was of type "submit," which was causing my page to refresh every time it was pressed. This would interrupt the authentication process, resulting in the "network-request-failed" error. To fix this get rid of type="submit" in the button.
Solution 2:
I have spent a great deal of time confused about this and it was only when I disabled the CORS Chrome extension when it began to work on Chrome.
Chrome Canary and Firefox without any CORS extension were fine too. I do not believe the submit type is at all relevant.
Solution 3:
Finally, I fixed this problem!
- Don't use form tag! I changed form tag into div tag then it works!!!
- Don't use
input type="submit"
, as someone's answer up there.
So far, I am not really sure why. But that's the two places I have changed, and then the firebase sign up network problem finally fixed.
Solution 4:
Well by the [CORS ORIGIN POLICY]1 chrome will not allow you to access any other sites without(http, https). It will Resolved once you host your website, for temporary testing purpose you can use Mozilla Firefox which allows you to access. Have a nice day!!
Solution 5:
If you are using the "HTTPS Everywhere" extension, then go to the "HTTPS Everywhere" settings and click on the "Disable HTTPS Everywhere for this site" button. It helped me.
Post a Comment for "Firebase Project Results In "Auth/network-request-failed" Error On Login"