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

Lambda randomly returning 500 #2

Open
dwragge opened this issue May 12, 2018 · 0 comments
Open

Lambda randomly returning 500 #2

dwragge opened this issue May 12, 2018 · 0 comments
Labels
bug Something isn't working

Comments

@dwragge
Copy link
Owner

dwragge commented May 12, 2018

Usually, it's when the request is taking a long time, so might be to do with a timeout somewhere, but it will return a 500. Logs show a request being sent to the VSTS API but then the lambda finishes before another log statement. 9/10 times a refresh will fix.

Sample CloudWatch logs:

2018/05/12 11:17:01 Processig Lambda request fe044dd0-55d5-11e8-88c0-ad636738a2e8
2018/05/12 11:17:01 Sending URL Request to https://Dymajo.visualstudio.com/Dymajo Transfer/_apis/build/builds?api-version=5.0-preview.4
2018/05/12 11:17:05 Received response in 3976ms Status: 200 OK, Content Type: application/json; charset=utf-8; api-version=5.0-preview.4
2018/05/12 11:17:05 Received 33 builds
2018/05/12 11:17:05 Sending URL Request to https://Dymajo.visualstudio.com/Dymajo Transfer/_apis/test/codecoverage?api-version=5.0-preview.1&flags=7&buildId=36
END RequestId: fe04eab6-55d5-11e8-948f-d3992a188d1a 
@dwragge dwragge added the bug Something isn't working label May 12, 2018
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

1 participant