New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[issue] Unable to login using git bash on Windows 10 #160

Closed
Aethelflaed opened this Issue Oct 16, 2015 · 2 comments

Comments

Projects
None yet
3 participants
@Aethelflaed

Hi,

I'm unable to login using git bash on windows 10.

Step to reproduce:

  1. Boot Windows 10 with scalingo installed, e.g. in ~/bin
  2. Open git bash with .bashrc adding ~/bin to the path
  3. $ scalingo.exe apps

Output:

You need to be authenticated to use Scalingo client.
No account ? → https://scalingo.com
Username or email: EMAIL@EXAMPLE.COM
Password: Fail to login (1/3): Fail to read character with win#ReadConsoleInput (Incorrect function.)
Username or email:

Using cmd.exe, it works as expected (except for the password, which shows some ***, but maybe this is expected on windows).

Once the initial login has been done using cmd.exe, the app doesn't ask for login again and works also on git bash.

@Zyko0

This comment has been minimized.

Show comment
Hide comment
@Zyko0

Zyko0 Oct 16, 2015

Contributor

Hi, I'm on it !

For the moment I can't suggest you anything except running bash from cmd.exe:

> cd C:/Program Files/Git/usr/bin
> bash.exe

This is not an ideal solution, but it would let you use bash on Windows until we find a fix.
This is a bug related to Windows 10 AND git-bash.

Sorry for the inconvenience

Contributor

Zyko0 commented Oct 16, 2015

Hi, I'm on it !

For the moment I can't suggest you anything except running bash from cmd.exe:

> cd C:/Program Files/Git/usr/bin
> bash.exe

This is not an ideal solution, but it would let you use bash on Windows until we find a fix.
This is a bug related to Windows 10 AND git-bash.

Sorry for the inconvenience

@Soulou Soulou closed this in 00c91e7 Oct 23, 2015

Soulou added a commit that referenced this issue Oct 23, 2015

Merge pull request #171 from Scalingo/fix-windows-10-login
Fixes #160 login with git bash on windows 10 is possible again
@jaredbidlow

This comment has been minimized.

Show comment
Hide comment
@jaredbidlow

jaredbidlow Nov 10, 2016

I have this issue.
And, with using the alternative, cmd.exe, I cannot enter the password because it inserts a character when I press enter.

I have this issue.
And, with using the alternative, cmd.exe, I cannot enter the password because it inserts a character when I press enter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment