Closed GoldenGamerLP closed 11 months ago
Also more information:
Java Version: openjdk version "17.0.8.1" 2023-08-24 OpenJDK Runtime Environment (build 17.0.8.1+1-Ubuntu-0ubuntu122.04) OpenJDK 64-Bit Server VM (build 17.0.8.1+1-Ubuntu-0ubuntu122.04, mixed mode, sha ring)
OS:
Linux (Prox Mox)
I fixed the same issue by adding this line to my dependencies:
implementation 'org.eclipse.jetty:jetty-alpn-java-server:11.0.18'
It might be a problem with the dependency imported by Javalin-SSL.
Discussed in Discord. Used custom classloading breaking Jetty's runtime Provider
dependency loading.
Actual behavior (the bug) When trying to connect via https/ssl the server throws an error, and the client gets a 525 error code.
Error:
java.nio.channels.SocketChannel[closed]: java.lang.IllegalStateException: Connection rejected: No ALPN Processor for sun.security.ssl.SSLEngineImpl
Expected behavior The client should be able to connect without problems, and no problems should occour on the server side.
To Reproduce Unforntatley the project is private, but i can share the depedencies.
Gradle:
Additional context I used a pem certificate with ssl forwarding. If you have anymore questions, feel free to ask.