lambda invocation from ALB and github webhook

0

I have configured lambda function with container image. It is getting triggered by ALB target. The ALB target is set as github webhook payload URL.

Now when I am sending curl request from my laptop to the ALB target URL it is invoking lambda function and I can see that in the cloudwatch logs. But when github webhook is sent, it is getting failed and giving 503 error. Am I missing something?

Mukesh
질문됨 2달 전80회 조회
2개 답변
0

Hello.

Will Lambda logs not be output when a 503 error occurs?
I don't think it matters much, but when combining ALB and Lambda, the payload is limited to 1MB.
I think GitHub webhooks are sent in JSON, so I don't think this limit will be exceeded, but it might be a good idea to check just in case.
https://repost.aws/ja/questions/QUPHFFlMKbT-urD9l3gHMdLQ/can-the-1mb-request-payload-limit-for-an-alb-lambda-target-be-increased

profile picture
전문가
답변함 2달 전
0

No, there is no lambda invocation logs in lambda cloudwatch logs when I get 503. And github webhook payload is not exceeding 1 MB.

Mukesh
답변함 2달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠