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

Default origin healthcheck timeout seconds is too short #825

Closed
ysugimoto opened this issue Apr 3, 2024 · 0 comments · Fixed by #827
Closed

Default origin healthcheck timeout seconds is too short #825

ysugimoto opened this issue Apr 3, 2024 · 0 comments · Fixed by #827

Comments

@ysugimoto
Copy link

ysugimoto commented Apr 3, 2024

Terraform Version

Terraform v1.7.1
on darwin_arm64

Affected Fastly Terraform Resource(s)

Please list the affected resources, for example:

  • fastly_service_vcl.healthcheck

Terraform Configuration Files

healthcheck {
    name   = "example_healthcheck"
    host   = "example.com"
    path   = "/"
}

Expected Behavior

What should have happened?

When I create healthcheck setting without the timeout field, it's set as 500ms as default.
I think 500ms is too short to respond successfully between Fastly's edge and some regional origins.

On creating healthcheck setting via the managed console, the default timeout is 5s as default.
So I propose that this field also be 5000ms or bit extend as default in terraform.

Actual Behavior

What actually happened?

500ms is too short and some regional healthcheck may timeout and then Deliver service respond with 503 Backend Unhealthy.

Debug Output (optional)

Please provide a link to a GitHub Gist containing the complete debug output (see Terraform docs). Ensure any sensitive data is <REDACTED>.

Steps to Reproduce

Please list the steps required to reproduce the issue, for example:

  1. terraform apply

Important Factoids (optional)

Is there anything atypical about your account or set up that we should know?

I'm using Fastly in Japan, and setting up a backend with Cloud Run as Asia regional.
When I accessed from Osaka Data Center and then Cloud Run will accept request in a Hongkong region, then it took over 500ms and timed out the HTTP request.

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