Skip to content

Set Jetty HTTP idle timeout to 620s - #3250

Merged
njshah301 merged 1 commit into
google:masterfrom
njshah301:fix/jetty-http-idle-timeout
Oct 23, 2026
Merged

njshah301 merged 1 commit into
google:masterfrom
njshah301:fix/jetty-http-idle-timeout

Conversation

@njshah301

@njshah301 njshah301 commented Oct 23, 2026 •

Copy link
Copy Markdown
Collaborator

Increase jetty.http.idleTimeout from the 30s default (30000ms) to 620s (620000ms) in start.d/http.ini so that it exceeds the Google Cloud Application Load Balancer's fixed 600s backend keep-alive timeout.

This prevents the HTTP/1.1 persistent connection race condition where Jetty closes an idle pooled connection at 30s while GCLB forwards a non-idempotent HTTP POST request over the same socket, resulting in 503 Service Unavailable (connection termination) drops.

Refer: GCP Load Balancing docs

BUG= b/577105059


This change is Reviewable

@njshah301
njshah301 requested a review from gbrodman October 23, 2026 16:41
Increase jetty.http.idleTimeout from the 30s default (30000ms) to 620s
(620000ms) in start.d/http.ini so that it exceeds the Google Cloud
Application Load Balancer's fixed 600s backend keep-alive timeout.

This prevents the HTTP/1.1 persistent connection race condition where
Jetty closes an idle pooled connection at 30s while GCLB forwards a
non-idempotent HTTP POST request (such as /_dr/epp, /_dr/task,
/_dr/cron, /_dr/admin, or /_dr/epptool) over the same socket, resulting
in 503 Service Unavailable (connection termination) drops.

BUG= http://b/577105059
@njshah301
njshah301 force-pushed the fix/jetty-http-idle-timeout branch from 47b62b9 to de739ca Compare October 23, 2026 16:42
@njshah301
njshah301 enabled auto-merge October 23, 2026 16:58

@gbrodman gbrodman left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gbrodman reviewed 1 file and all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on njshah301).

@njshah301
njshah301 added this pull request to the merge queue Oct 23, 2026
Merged via the queue into google:master with commit 2038423 Oct 23, 2026
16 checks passed
@njshah301
njshah301 deleted the fix/jetty-http-idle-timeout branch October 23, 2026 18:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants