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

Dotnet core buildpack tests can fail with 504 gateway timeout #627

Closed
jochenehret opened this issue Oct 14, 2022 · 2 comments
Closed

Dotnet core buildpack tests can fail with 504 gateway timeout #627

jochenehret opened this issue Oct 14, 2022 · 2 comments

Comments

@jochenehret
Copy link
Contributor

The dotnet core buildpack tests have just been updated with PR: #610
This PR introduces a large amount of application resources (many .dll files). When pushing the test app, the request POST /v3/resource_matches can fail on AWS environments with a HTTP 504 gateway timeout. The default idle timeout is 60s which may not be enough to finish the upload. Workaround is to increase the timeout to 300s.

Can you reduce the application resources somehow? I'm not familiar with dotnet so I don't know which options we have here.

@mariash
Copy link
Member

mariash commented Oct 17, 2022

@jochenehret thank you for reporting this issue. We didn't catch it on our environments, probably our default timeouts are large enough. The reason the asset is too large is because we vendored all the dependencies (by publishing an app) so that the tests can run in internetless environment. The next step from vendored would be a pre-compiled asset but that would not exercise dotnet core buildpack and would use binary buildpack. We are going to look into ways to reduce the size of the asset. For now I suggest to increase the gateway timeout.

@jochenehret
Copy link
Contributor Author

Tests are running fine, so let's keep the increased lb timeout. Closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

2 participants