Skip to content

[windows] The CLI doesn't work at all on Windows with command that require an input from the user #734

Closed

Description

@brandon-welsch

Log:

$ scalingo login
        Trying login with SSH
 !      SSH Connection failed.
        Trying login with user/password:

        Username or email: [REDACTED]
        Password:   ! Fail to login (1/3): fail to read the password on stdin: The handle is invalid

        Username or email: interrupt catched, abording

And the command doesn't display anything with mysql-console for example.

Seems related to 99designs/aws-vault#772

Need to test this fix: 99designs/aws-vault#113

A customer had this issue: https://app.intercom.com/a/apps/w4oogu7s/inbox/inbox/3379738/conversations/12375700071636
Contact them when this is fixed

Activity

  1. brandon-welsch commented on Jun 23, 2022

    @brandon-welsch
    ContributorAuthor

    From Windows with the Git Bash shell:

    Brandon@Scalingo MINGW64 ~
    $ scalingo.exe login
           Trying login with SSH…
     !     SSH connection failed.
           Trying login with user/password:
    
           Username or email: [REDACTED]
           Password:  !     Fail to login (1/3): fail to read the password on stdin: Descripteur non valide
    
           Username or email:
           Username or email:
           Username or email: interrupt catched, aborting…
    
  2. johnsudaar commented on Jul 29, 2022

    @johnsudaar
    Contributor

    Related to SRE-573

  3. EtienneM commented on Aug 29, 2022

    @EtienneM
    Member

    Another impacted customer: https://app.intercom.com/a/inbox/w4oogu7s/inbox/shared/all/conversation/12375700080025

    The CLI hangs forever after typing the apps-info command:

    $ DEBUG=1 scalingo apps-info
    [DEBUG]2022/08/29 12:25:49 [Regions] Get the list of regions to fill the cache
    [DEBUG]2022/08/29 12:25:49 [API] POST https://auth.scalingo.com/v1/tokens/exchange
    [DEBUG]2022/08/29 12:25:49 User Agent: Scalingo CLI v1.24.1
    [DEBUG]2022/08/29 12:25:49 Headers: map[User-Agent:[Scalingo CLI v1.24.1]]
    [DEBUG]2022/08/29 12:25:49 Params: map[]
    [DEBUG]2022/08/29 12:25:50 Request ID: 71d15a3d-8ac3-43ba-a671-f5ebf1f57f9c
    [DEBUG]2022/08/29 12:25:50 Duration: 223.5301ms
    [DEBUG]2022/08/29 12:25:50 [API] GET https://auth.scalingo.com/v1/regions?
    [DEBUG]2022/08/29 12:25:50 User Agent: Scalingo CLI v1.24.1
    [DEBUG]2022/08/29 12:25:50 Headers: map[User-Agent:[Scalingo CLI v1.24.1]]
    [DEBUG]2022/08/29 12:25:50 Params: map[]
    [DEBUG]2022/08/29 12:25:50 Request ID: 95779a3c-9b7d-4845-8e59-d2a221f546eb
    [DEBUG]2022/08/29 12:25:50 Duration: 129.4052ms
    [DEBUG]2022/08/29 12:25:50 {"regions":[{"name":"osc-fr1","display_name":"Paris - Outscale","api":"[https://api.osc-fr1.scalingo.com","database_api":"https://db-api.osc-fr1.scalingo.com","dashboard":"https://dashboard.scalingo.com","ssh":"ssh.osc-fr1.scalingo.com:22","default":true](https://api.osc-fr1.scalingo.com%22,%22database_api%22:%22https://db-api.osc-fr1.scalingo.com%22,%22dashboard%22:%22https://dashboard.scalingo.com%22,%22ssh%22:%22ssh.osc-fr1.scalingo.com:22%22,%22default%22:true)}]}
    interrupt catched, aborting…
    
  4. self-assigned this
    on Sep 28, 2022
  5. EtienneM commented on Oct 5, 2022

    @EtienneM
    Member

    This will be fixed for the next release including the fix in #806. Probably 1.26.0.

  6. EtienneM commented on Oct 7, 2022

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions