Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

POLISHING REQUIRED


When deploying an application from S3 you may see the following error:

('Connection aborted.', gaierror(-2, 'Name or service not known')

This means the S3 credentials you used to link the application SCM are incorrect.

You can force the real error to appear by doing:

# Applicable if the S3 bucket is located in the ap-southeast-1 region
nex-cli apps:vars my_app -a S3_REGION=ap-southeast-1
nex-cli apps:up

The following error should appear in the cubes:events

A client error (Forbidden) occurred when calling the HeadObject operation: Forbidden


To solve this issue simply relink your container to S3 using the right credentials

# Relink your app
nex-cli apps:scm myapp --link s3:my-bucket/my_folder:my_branch --credentials MY_AWS_KEY:MY_AWS_SECRET

# For help
nex-cli apps:scm myapp -h
  • No labels