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

"Socket accept failed" after upgrading gPRC Spring version to 3.1.0.RELEASE #1131

Open
billwenboli opened this issue Aug 2, 2024 · 1 comment
Labels
question A question about this library or its usage

Comments

@billwenboli
Copy link

billwenboli commented Aug 2, 2024

The context

gRPC Spring Version Upgrade Issue

The question

I have encountered startup issue after upgrading gRPC Spring version to 3.1.0.RELEASE from 2.15.0.RELEASE. The error is shown below. Has anyone encountered this before and what is the solution to fix this? Thanks.

Stacktraces and logs

11:47:02.044 [http-nio-8080-Acceptor] ERROR org.apache.tomcat.util.net.Acceptor - Socket accept failed
java.nio.channels.AsynchronousCloseException: null
at java.base/java.nio.channels.spi.AbstractInterruptibleChannel.end(AbstractInterruptibleChannel.java:202)
at java.base/sun.nio.ch.ServerSocketChannelImpl.end(ServerSocketChannelImpl.java:376)
at java.base/sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:399)
at org.apache.tomcat.util.net.NioEndpoint.serverSocketAccept(NioEndpoint.java:521)
at org.apache.tomcat.util.net.NioEndpoint.serverSocketAccept(NioEndpoint.java:79)
at org.apache.tomcat.util.net.Acceptor.run(Acceptor.java:128)
at java.base/java.lang.Thread.run(Thread.java:840)
11:47:02.123 [main] ERROR o.s.b.d.LoggingFailureAnalysisReporter -

The application's environment

Which versions do you use?

  • Spring (boot): 3.1.8
  • grpc-java: 1.63.0
  • grpc-spring-boot-starter: 3.1.0.RELEASE
  • java: 17 + x86-64bit
  • Other relevant libraries...
@billwenboli billwenboli added the question A question about this library or its usage label Aug 2, 2024
@billwenboli
Copy link
Author

Does anyone have an answer to this? Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question A question about this library or its usage
Projects
None yet
Development

No branches or pull requests

1 participant