Skip to content
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

Default region is defined in the authentication service #441

Merged
merged 4 commits into from Jul 8, 2019

Conversation

@EtienneM
Copy link
Member

commented Jul 8, 2019

@EtienneM EtienneM marked this pull request as ready for review Jul 8, 2019

@EtienneM EtienneM added the reviewable label Jul 8, 2019

@EtienneM EtienneM requested a review from johnsudaar Jul 8, 2019

@Soulou

This comment has been minimized.

Copy link
Member

commented Jul 8, 2019

On a user with only one zone (osc-fr1)

[test1@soulou7 ~]$ scalingo apps
       Trying login with SSH…
 !     SSH connection failed.
       Trying login with user/password:

       Username or email: leo.unbek+testsignup@gmail.com
       Password: 
 !     Fail to login (1/3): fail to get Scalingo client from token tk-us-HyOz: fail to create Scalingo client: fail to get region '' specifications: invalid region 

@EtienneM EtienneM requested review from Soulou and removed request for johnsudaar Jul 8, 2019

@Soulou

This comment has been minimized.

Copy link
Member

commented Jul 8, 2019

@EtienneM same error

[test1@soulou7 ~]$ scalingo apps
       Trying login with SSH…
 !     SSH connection failed.
       Trying login with user/password:

       Username or email: leo.unbek+testsignup@gmail.com
       Password: 
 !     Fail to login (1/3): fail to get Scalingo client from token tk-us-oQn5: fail to create Scalingo client: fail to get region '' specifications: invalid region 

       Username or email: ^Cinterrupt catched, aborting…
[test1@soulou7 ~]$ DEBUG=1 scalingo apps
       Trying login with SSH…
[DEBUG]2019/07/08 18:28:12 Login through SSH, identity: ssh-agent
 !     SSH connection failed.
       Trying login with user/password:

       Username or email: leo.unbek+testsignup@gmail.com
       Password: 
[DEBUG]2019/07/08 18:28:21 [API] POST https://auth.scalingo.com/v1/tokens
[DEBUG]2019/07/08 18:28:21       Headers: map[]
[DEBUG]2019/07/08 18:28:21       Params: map[token:{Scalingo CLI - soulou7}]
[DEBUG]2019/07/08 18:28:21       Request ID: 8d21aedc-07b9-405d-beac-d256f6002ba6
[DEBUG]2019/07/08 18:28:21       Duration: 319.999296ms
[DEBUG]2019/07/08 18:28:21 [Regions] Use the cache
 !     Fail to login (1/3): fail to get Scalingo client from token tk-us-e5Oy: fail to create Scalingo client: fail to get region '' specifications: invalid region 

@Soulou Soulou merged commit 3c5f6ad into master Jul 8, 2019

@EtienneM EtienneM deleted the fix/auth/261/default_region branch Jul 9, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.