Skip to content

Conversation

@Jack-Overflow
Copy link
Contributor

This change handles non-async and async errors thrown within forwardRequestToNodeServer and adds an integration test (this was previously skipped).
Our implementation using ALB -> Lambda has resulted in Lambda crashes due to unhandled malformed URIErrors. Currently, these errors bypass respondToEventSourceWithError, resulting in hard crashes. This change fixes this issue.

Checklist

  • Tests have been added and are passing
  • Documentation has been updated

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

… type string

This was identified through using express within AWS Lambda which returns content-length header as a number which causes ALB to throw a 502 bad gateway exception. This change fixes this issue.
… type string

This was identified through using express within AWS Lambda which returns content-length header as a number which causes ALB to throw a 502 bad gateway exception. This change fixes this issue.
…RESS:PROXY

This change handles non-async and async errors thrown within `forwardRequestToNodeServer` and adds an integration test (this was previously skipped).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant