Skip to content
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

bootstrap errors not logging #89

Open
shmish111 opened this issue Aug 24, 2020 · 4 comments
Open

bootstrap errors not logging #89

shmish111 opened this issue Aug 24, 2020 · 4 comments
Labels
bug Something isn't working

Comments

@shmish111
Copy link

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.

@NickSeagull
Copy link
Member

Hello! Thanks for pointing this out, can you provide a repo to reproduce the issue?

@NickSeagull NickSeagull added the bug Something isn't working label Sep 3, 2020
@shmish111
Copy link
Author

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)

@NickSeagull
Copy link
Member

This is very weird indeed, my first call would be to try doing an hFlush stdout and see if it solves it.

@dnikolovv
Copy link
Contributor

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants