-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
mail extension - socket was closed unexpected
when shutting down the app
#27918
Comments
/cc @cescoffier |
socket was closed unexpected
when shutting down the appsocket was closed unexpected
when shutting down the app
It relates to vert-x3/vertx-mail-client#185 |
Thanks, @gaol, it's exactly that issue. Do you have an ETA? |
@cescoffier these cases are inevitable IMO, when the connections are idle for a while, the SMTP server will close the connection, which will lead to this logging. It does not break sending of emails, but it is a noisy message, so I proposed a fix of changing the log level back to debug like what it was in v3. vert-x3/vertx-mail-client#188 |
Probably a good idea to reduce the level. I can also filter out the message in our logging configuration. |
Issue fixed upstream. |
Thanks, tried the latest Quarkus main and the error message is no longer present when shutting down the app. |
Describe the bug
mail extension -
socket was closed unexpected
when shutting down the appBased on the discussion with @cescoffier
AIs:
Expected behavior
More context in guide / error message.
Actual behavior
Not clear that the errors can occur.
How to Reproduce?
mvn clean package -DskipTests
java -jar target/quarkus-app/quarkus-run.jar
curl localhost:8080/mail
twiceCtrl+C
and check the logsOutput of
uname -a
orver
macOS Monterey
Output of
java -version
Java 17
GraalVM version (if different from Java)
No response
Quarkus version or git rev
Quarkus main
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
No response
The text was updated successfully, but these errors were encountered: