-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
AWS CLI network error while invoking a lambda after 2 or 3 min #8062
Comments
Verify that you have the latest version of the AWS CLI installed. The AWS CLI is updated frequently. You can’t access new released features when running an older CLI version. |
But from the error code received it looks like it's a Network error message so you can try this Tips Check your network connectivity and ensure that you have an active internet connection. |
Lambda is invoking the glue/EMR job and in the backend Lambda and gle/emr job completing successfully but the CLI is terminating with network error after 3 min |
we are in US-EAST-1 region |
why do you ask? |
Hi @rbasina thanks for reaching out. We recommend updating to a more recent version of the CLI. The latest version is 2.13.3 per the CHANGELOG. If you're still seeing the issue please share your debug logs (with sensitive info redacted) by adding |
Actually, am from Nigeria. |
Greetings! It looks like this issue hasn’t been active in longer than five days. We encourage you to check if this is still an issue in the latest release. In the absence of more information, we will be closing this issue soon. If you find that this is still a problem, please feel free to provide a comment or upvote with a reaction on the initial post to prevent automatic closure. If the issue is already closed, please feel free to open a new one. |
Describe the issue
while running below AWS CLI command and its invoking lambda to trigger EMR step. AWS cli getting network error after 3 min and its triggering lambda again. due to this we are not getting proper logs/response from aws cli.
aws lambda invoke --debug --cli-read-timeout 0 --cli-connect-timeout 0 --function-name autosys-job-execution-lambda --region us-east-1 --cli-binary-format raw-in-base64-out --payload "{"env":"UAT","profile":"hrcore","jobType":"conformed","process":"scalaclassprocess","mode": "ONETIME"}"
error message:
Network Error
A communication error occurred: ""
Additional Information/Context
No response
CLI version used
aws-cli2.1.3.0
Environment details (OS name and version, etc.)
Unix
The text was updated successfully, but these errors were encountered: