Open shmish111 opened 4 years ago
Hello! Thanks for pointing this out, can you provide a repo to reproduce the issue?
Not a simple one I'm afraid however the code I am using is here https://github.com/input-output-hk/plutus/blob/add-aws-secrets/marlowe-playground-server/src/Lambda.hs
I've also tried using the ALB integration (I will open an issue for that). It has a slightly different format of event to the APIGW proxy format so the lambda fails (I expected this) however I get nothing in the logs to tell me that it failed or why it failed, just a START
event and an END
event (and a 502 with no info to the user)
This is very weird indeed, my first call would be to try doing an hFlush stdout
and see if it solves it.
@shmish111 502 usually means you aren't reaching the lambda at all. It's not a problem with the runtime, it's probably a misconfig.
I'm doing something where the payload can't decode to my handler input type, I used to get an error in cloudwatch logs when this happened but I upgraded from version 2.0.4 to 3.0.0 and this log has disappeared.