`ionic login`: Email or Password incorrect


#1

Hi,
I trying to login using command prompt. But I can login using the same email and password using browser. Please help I need to upload project.


#2

What CLI are you using? Post your ionic info please.

Anything special about your email or password? Super special characters?


#3

My email and password no super special characters.


#4

Have you tried typing both directly when calling the command like ionic login hello@example.com secret? Maybe this helps. Has it worked before on your system?


#5

Yes, I tried typing both directly when calling the command. This is the result.

Am i right ?


#6

Oh sorry, I gave you Ionic CLI v3 beta syntax. Try this:

ionic login -e email@example.org -p sEcReT


#7

responds
first -> Error logging in: Error: self signed certificate
next -> email or password incorrect


#8

Let me guess:
You are behind some proxy that messes with SSL?


#9

Then how do I fix it?


#10

First step: Tell me if you actually are.
Second step: Easiest will be to just connect to a Wifi Hotspot from your mobile device temporarily, do the login and then return to your normal network.


#11

Maybe you can also login on another computer and then copy the .ionic folder from your user directory over - but I am not sure this works.


#12

Thank you very much for your advice.
I have tried connecting to Wifi Hotspot from a mobile phone, it works. I guess the reason will come from my university’s internet. This causes these disorders.