-
Notifications
You must be signed in to change notification settings - Fork 360
AWS Lambda attached to the ALB producing thread 'main' panicked at 'failed to build request: http::Error(InvalidUri(InvalidFormat))' #488
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
Comments
CFN template looks like
the Dockerfile (pretty raw) looks like this:
|
This is because the payload doesn't have enough information to create a valid http URI. We'll need to modify the code here to support that payload: |
I dug into it a little bit further and here is what I found: @calavera, what do you think would be the fix for that? I assume the best would be not to call |
@yury-sannikov I would construct the URI without scheme and host if there is no host. The path can still be relevant, and it looks like the payload includes it, so it'd be good to have it in the URI. |
Hi folks,
I have AWS Lambda attached to the ALB. ALB has a health check set up on it. The health check request is pretty simple and looks like this:
Using the example code
I'm getting this error:
If I'm using
lambda_runtime
everything is ok, though I need to massage data structures manually. Any thoughts? I'm pretty new to Rust so I might miss something.Thanks.
The text was updated successfully, but these errors were encountered: