ionic-cli icon indicating copy to clipboard operation
ionic-cli copied to clipboard

bug: ionic login from cli doesn't work

Open adamdbradley opened this issue 11 years ago • 24 comments

From @emotu on April 13, 2015 6:19

Type: bug

Platform: desktop browser

After signing up for an ionic account via http://apps.ionic.io running the following commands do not work:

$ ionic login $ ionic upload $ ionic share

they all respond with the following error:

Email or Password incorrect. Please visit https://apps.ionic.io for help. (CLI v1.3.19)

Your system information:

OS: Mac OS X Yosemite Node Version: v0.10.33 Cordova CLI: 4.3.0 Ionic Version: 1.0.0-rc.2 Ionic CLI Version: 1.3.19 Xcode version: Xcode 6.3 Build version 6D570 ios-sim version: 3.1.1 ios-deploy version: 1.5.0

However, using teh same credentials online works just fine.

Copied from original issue: driftyco/ionic#3514

adamdbradley avatar Apr 13 '15 12:04 adamdbradley

Hello guys. I have exactly the same problem - ionic cli won't log me in. Any ideas to fix or workaround?

$ ionic login

To continue, please login to your Ionic account. Don't have one? Create a one at: https://apps.ionic.io/signup

Email: Password: Email or Password incorrect. Please visit https://apps.ionic.io for help. (CLI v1.3.20)

Your system information:

OS: Mac OS X Yosemite Node Version: v0.10.32 Cordova CLI: 5.0.0 Ionic CLI Version: 1.3.20 Xcode version: Xcode 6.3.1 Build version 6D1002 ios-sim version: 3.1.1 ios-deploy version: Not installed

tictcotq avatar Apr 24 '15 13:04 tictcotq

Any development in this issue?

hameedraha avatar Apr 25 '15 01:04 hameedraha

@seacucumba @hameedraha - there was some change on the upload/login backend systems.

We've since updated those endpoints.

Would you mind trying with the latest (1.4.x) CLI?

jbavari avatar May 15 '15 19:05 jbavari

Looks like the issue got fixed in last CLI version itself when I tried resetting my password purposefully from Ionic Forum. Anyway, I will take a look again.

hameedraha avatar May 16 '15 09:05 hameedraha

I'm still having the same issue. CLI version 1.4.5. Mac OS X Yosemite.

roysaad avatar May 29 '15 17:05 roysaad

I'm having this issue with CLI version 1.5.4 on Yosemite.

mikeLspohn avatar Jun 17 '15 03:06 mikeLspohn

+1, other version Email or Password incorrect. Please visit https://apps.ionic.io for help. (CLI v1.6.5)

pierrybos avatar Oct 06 '15 13:10 pierrybos

So, now its working for me, but first i needed change my password and so all work back. If pwd has a expiration date, i believe is better change password error information and say about this too.

pierrybos avatar Oct 06 '15 13:10 pierrybos

Could you add login to the ionic --help. I din't realize I was logged into a different account and couldn't upload a previous project I was working on because I didn't realize I was in a different account and login wasn't shown in the help.

laurencehoess avatar Oct 28 '15 18:10 laurencehoess

I'm having the same issue, in Mac OS X, Ionic CLI v-1.7...

Email or Password incorrect. Please visit https://apps.ionic.io for help. (CLI v1.7.12)

Your system information:

Cordova CLI: 5.4.1 Gulp version: CLI version 3.9.0 Gulp local:
Ionic Version: 1.2.1 Ionic CLI Version: 1.7.12 Ionic App Lib Version: 0.6.5 ios-deploy version: Not installed ios-sim version: 5.0.4 OS: Mac OS X El Capitan Node Version: v4.2.3 Xcode version: Xcode 7.2 Build version 7C68

razam217 avatar Dec 28 '15 13:12 razam217

Can anyone please help me out of this heck? I'm stuck from 2 days... :(

razam217 avatar Dec 29 '15 06:12 razam217

hey yes i am too getting the same error both in mac and windows, please help me . I am not able to upload required certificate and keys to server.

Regards, Anup

ghost avatar Jan 10 '16 15:01 ghost

after investigating why that is happening I found that it is due to in response of API login we are receiving cloudfare captach , is there a way to auto fill that captach or skip it ?

ghost avatar Jan 10 '16 16:01 ghost

Its make sense for me. I put my login info inside shell scripts and automatize somethings, so, i dispatch sometimes and probably a server can identify like a robot behavior.

pierrybos avatar Jan 11 '16 13:01 pierrybos

Hi, I'm having same issue with ionic upload in Mac OS X (Ionic CLI v1.7.14). I tried to downgrade the version of Ionic and reset my password but this does not solved the problem. No idea how to fix it ...

Seao avatar Mar 03 '16 20:03 Seao

This seems like consistent issue of Ionic. Ionic team needs to work on it seriously. What I had tried was to downgrade the ionic version and even created the new account.

coderhut avatar Apr 19 '16 17:04 coderhut

lolzz....I had stopped using this solution since long time ago and before sleeping last night I thought to implement that. So in morning I did the most used solution under such circumstances and you all know that well...restarted my laptop and it worked :D I jumped yayyyy :P

coderhut avatar Apr 20 '16 19:04 coderhut

Having similar problem with above commands, raised issue #1064 because I'm not getting the invalid password response others are getting.

KaraAJC avatar Jun 11 '16 15:06 KaraAJC

Same Issue. Cant upload my build to ionic.io Email or Password incorrect. Please visit https://apps.ionic.io for help. (CLI v1.7.16)

Your system information: Cordova CLI: 6.3.0 Gulp version: CLI version 3.9.1 Gulp local: Local version 3.9.1 Ionic Framework Version: 1.3.1 Ionic CLI Version: 1.7.16 Ionic App Lib Version: 0.7.3 OS: Node Version: v4.4.1

I'm currently logged into the apps.ionic.io website.

makdas avatar Aug 04 '16 21:08 makdas

same issue here. CLI version 2.0 Mac OS X El Capitan

ahayder avatar Aug 19 '16 09:08 ahayder