-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Connection was closed before we received a valid response from endpoint URL #5525
Comments
Hi @mikeball, Sorry to hear of the error. I also tried to reproduce on Linux and Mac but it worked OK. I also tested with netcat (
In general this is a firewall or connectivity issue, as noted in the linked issue. Are you able to reproduce on another machine on the same network as this one (either with the same OS or different OS)? |
Hi @kdaily, Pretty sure it's not a firewall or network issue, as the machine can make curl https, browser https connections, ping connections, etc.. and on a freshly installed and fully up to date pretty plain jane ubuntu based distro. Doing a netcat test doesn't seem relevant at all, as clearly the machine can make an https connections to AWS, it's able to list functions. But yet lambda zip uploads don't work? My suspicion is that it's a python version, or underlying library version conflict of some sort, or an issue with python multi-threading around file uploads. |
@mikeball, thanks. The AWS CLI V2 uses it's own isolated Python and packages, so unlikely to be a version conflict. Can you confirm if this happens for you on a different machine on this network? I'll look into it more myself. |
Greetings! It looks like this issue hasn’t been active in longer than a week. We encourage you to check if this is still an issue in the latest release. Because it has been longer than a week since the last update on this, and 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 add an upvote to prevent automatic closure, or if the issue is already closed, please feel free to open a new one. |
Confirm by changing [ ] to [x] below to ensure that it's a bug:
Describe the bug
Unable to upload zip file lambda. Core underlying issue appears to be inability to open an HTTPS connection to https://lambda.us-east-2.amazonaws.com
SDK version number
Platform/OS/Hardware/Device
Operating System: elementary OS 5.1.7 Hera
Kernel: Linux 5.4.0-45-generic
Architecture: x86-64
To Reproduce (observed behavior)
> aws lambda publish-layer-version --layer-name openj9-runtime --zip-file fileb://runtime.zip --region us-east-2 --debug
Expected behavior
Lambda function zip should be uploaded, instead get timeout error.
Logs/output
Additional context
No VPN is in use. Able to open
https://lambda.us-east-2.amazonaws.com/
in browser.Ping to endpoint works
Curl to endpoint works
CLI is able to successfully connect and list functions
aws lambda list-functions --region us-east-2 { "Functions": [] }
Also of note, the size of the runtime.zip file is 21.1MB compressed, and 41.7MB uncompressed.
The text was updated successfully, but these errors were encountered: