OpenMined / PyGrid-deprecated---see-PySyft-

A Peer-to-peer Platform for Secure, Privacy-preserving, Decentralized Data Science
Apache License 2.0
616 stars 216 forks source link

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

Open jinweihan2021 opened 3 years ago

jinweihan2021 commented 3 years ago

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

Additional Context

Add any other context about the problem here.

anuj2110 commented 3 years ago

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 commented 3 years ago

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.