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

Proxy request timeout on closing connection #5269

Closed
hellium01 opened this issue Sep 14, 2020 · 2 comments
Closed

Proxy request timeout on closing connection #5269

hellium01 opened this issue Sep 14, 2020 · 2 comments
Assignees
Labels

Comments

@hellium01
Copy link

hellium01 commented Sep 14, 2020

Jetty version
9.4.20.v20190813
Java version
1.8.0_181
OS type/version
Linux 4.15.0-1065-aws
Question
After we receive success from POST request and trying to terminate the request, we receive timeout constantly for certain requests, can someone who is familiar with Jetty tell us on why would we receive idle timeout closing a connection after receive response?

DEBUG [2020-09-04 01:52:18,407] com.lyft.data.proxyserver.ProxyImpl.Presto.Gateway.Test: 1540294909 proxying to upstream:
DEBUG [2020-09-04 01:52:18,407] org.eclipse.jetty.client.HttpDestination: Queued HttpRequest[POST /v1/statement HTTP/1.1]@7df3fba3 for HttpDestination[https://presto-adhoc.pinadmin.com]@5eac8bae,queue=1,pool=DuplexConnectionPool@26eac4e1[c=0/256,a=0,i=0]

...
DEBUG [2020-09-04 01:52:18,430] org.eclipse.jetty.client.HttpSender: Request success HttpRequest[POST /v1/statement HTTP/1.1]@7df3fba3
DEBUG [2020-09-04 01:52:18,430] org.eclipse.jetty.client.HttpExchange: Terminated request for HttpExchange@ccd4f42 req=TERMINATED/null@null res=PENDING/null@null, result: null
DEBUG [2020-09-04 01:52:18,430] org.eclipse.jetty.client.HttpSender: Terminating request HttpRequest[POST /v1/statement HTTP/1.1]@7df3fba3 
DEBUG [2020-09-04 01:52:48,431] org.eclipse.jetty.client.HttpExchange: Terminated response for HttpExchange@ccd4f42 req=TERMINATED/null@null res=TERMINATED/java.util.concurrent.TimeoutException: Idle timeout 30000 ms@3ab612c8, result: Result[HttpRequest[POST /v1/statement HTTP/1.1]@7df3fba3 > HttpResponse[null 0 null]@19f37ef5] java.util.concurrent.TimeoutException: Idle timeout 30000 ms
@sbordet
Copy link
Contributor

sbordet commented Sep 14, 2020

The response was never received.
The request has been sent, but the server did not reply, and after 30 seconds the client timed out.

@sbordet sbordet self-assigned this Sep 14, 2020
@sbordet
Copy link
Contributor

sbordet commented Aug 6, 2021

Closing as answered.

@sbordet sbordet closed this as completed Aug 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants