Skip to content
This repository has been archived by the owner on Feb 16, 2023. It is now read-only.

Error in console says: You must specify a region #874

Open
jinweihan2021 opened this issue Sep 23, 2021 · 2 comments
Open

Error in console says: You must specify a region #874

jinweihan2021 opened this issue Sep 23, 2021 · 2 comments
Labels
Type: Bug 🐛 Some functionality not working in the codebase as intended

Comments

@jinweihan2021
Copy link

Description

Welcome to OpenMined PyGrid CLI
Cloud Provider: (AWS, GCP, AZURE) [AWS]:
PyGrid App: (Domain, Network) [Domain]:
Please enter path to your aws credentials json file [/Users/jihan/.aws/credentials.json]:
Do you want to deploy serverless? [y/N]:
Will you need to support Websockets? [y/N]:
How many servers do you wish to deploy? (All are managed under the load balancer) [1]:
#1: PyGrid Domain ID: test
#1: Port number of the socket.io server [5000]:
You must specify a region.
You must specify a region.
You must specify a region.
You must specify a region.
You must specify a region.
You must specify a region.
You must specify a region.
You must specify a region.

How to Reproduce

in console, run pygrid deploy by local code, deploy to AWS and GCP both have same issue.

Expected Behavior

A clear and concise description of what you expected to happen.

Screenshots

If applicable, add screenshots to help explain your problem.

System Information

  • OS: MacOS
  • OS Version: Bigsur, 11.6
  • Language Version: Python 3.7
  • Package Manager Version: pip 21.1.3
  • Browser (if applicable): [e.g. Google Chrome]
  • Browser Version (if applicable): [e.g. 81.0.4044.138]

Additional Context

Add any other context about the problem here.

@jinweihan2021 jinweihan2021 added the Type: Bug 🐛 Some functionality not working in the codebase as intended label Sep 23, 2021
@anuj2110
Copy link

anuj2110 commented Sep 30, 2021

When will this bug get fixed? I am having the same issue

Welcome to OpenMined PyGrid CLI
Cloud Provider: (AWS, GCP, AZURE) [AWS]: AWS
PyGrid App: (Domain, Network) [Domain]: Domain
Please enter path to your aws credentials json file [/home/dexter/.aws/credentials.json]: .aws/credentials.json
Will you need to support Websockets? [y/N]: N
How many servers do you wish to deploy? (All are managed under the load balancer) [1]: 1
#1: PyGrid Domain ID: some-domain
#1: Port number of the socket.io server [5000]: 5000
You must specify a region.
You must specify a region.
You must specify a region.
You must specify a region.
You must specify a region.
You must specify a region.
You must specify a region.
You must specify a region.

@Breta01
Copy link

Breta01 commented Nov 2, 2021

I have same error. I guess it is related to changes in boto3 library. My solution is adding file ~/.aws/config with content:

[default]
region=us-east-1

You will be able to pick the region during the process this is only for client accessing the AWS information.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Type: Bug 🐛 Some functionality not working in the codebase as intended
Projects
None yet
Development

No branches or pull requests

3 participants