ARMmbed / yotta

DEPRECATED: yotta build; better software
Apache License 2.0
164 stars 64 forks source link

Login link results in error after successful login #819

Closed carlosperate closed 7 years ago

carlosperate commented 7 years ago

Following the link that Yotta prints after yt login displays the normal login screen, then after entering the user details correctly, it redirects to: https://yottabuild.org/#error/Unexpected%20token%20%3C%20in%20JSON%20at%20position%200

And shows as:

image

The command line then keeps waiting for login until it times out.

Tried in a couple of different PCs running the same vagrant virtualbox set up with Ubuntu 16.04, installing over ssh. Login done in Chrome 60 and Firefox 55 browsers on Windows 10. This is something that was working perfectly fine last week, so wondering if something is broken on the server side.

thegecko commented 7 years ago

There hasn't been any changes. Can you try forcing a logout with yotta logout first?

autopulated commented 7 years ago

It sounds like the API server has returned an html page instead of JSON – heroku temporarily down / reached some rate limit?

sgk commented 7 years ago

Exactly same problem here. yotta logout does not change the result.

thegecko commented 7 years ago

Thanks all for bringing this to our attention. We believe we have found the issue and will deploy a fix as soon as we can.

thegecko commented 7 years ago

This issue has been fixed and verified. Apologies for any disruption.

carlosperate commented 7 years ago

I can confirm this is working again now, thanks!