-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Jetty is not creating new connection after receiving graceful goaway #11216
Comments
This seems a duplicate of #8678, which has been fixed. The logs you provide are vastly incomplete: we need the full DEBUG logs for logging category "org.eclipse.jetty". Please review the discussion in #8678, and report back whether you have the same or a different use case. If you have a different condition, then we need the full DEBUG logs. |
Hi @sbordet , I don't see any race condition here. Jetty client received a graceful GOAWAY frame at 14:39:02.890+0000 from the server, prompting Jetty to label the connection as REMOTELY_CLOSED at the same timestamp. Subsequently, when attempting to send a message at 14:39:07.071+0000 i.e. after 5 seconds to the same server, Jetty selected the same connection which is in REMOTELY_CLOSED state, without initiating a new connection. Full logs attached. Some important log snippets pasted below:
After this IllegalStateException exception comes since the connection is in REMOTELY_CLOSED state. |
Hi @sbordet , |
@mdsuhaibsa this issue has been fixed in 10.0.13/11.0.13 and following. Please update your Jetty to the latest version (11.0.19) and report back if you still see the issue. |
Jetty version(s)
11.0.11
Description
Our application has received graceful GOAWAY frame(last stream ID = 2147483647) from destination dest1.
After receiving this GOAWAY frame from destination dest1, jetty marks the connection status as REMOTELY_CLOSED to indicate that the remote server (dest1) will not process any further streams.
However, when we attempt to send a new message to the same destination (dest1), Jetty is not creating a new connection as expected.
Instead, Jetty is raising an exception with the message "session closed," indicating that the connection is considered closed, preventing the creation of a new connection to dest1.
Attaching the logs for reference:
Jetty Logs.txt
The text was updated successfully, but these errors were encountered: