javax.net.ssl.SSLHandshakeException: Received fatal alert: no_application_protocol

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
via Stack Overflow by Strelok

Import the server certificate into your truststore.

Solutions on the web

via GitHub by gregw
, 1 year ago
Received fatal alert: no_application_protocol
via GitHub by ashokpalukuri
, 10 months ago
Received fatal alert: handshake_failure
via Stack Overflow by wFateem
, 1 month ago
via jetbrains.com by Unknown author, 7 months ago
via Stack Overflow by Unknown author, 2 years ago
javax.net.ssl.SSLHandshakeException: Received fatal alert: no_application_protocol
at sun.security.ssl.Alerts.getSSLException(Alerts.java:203)
at sun.security.ssl.Alerts.getSSLException(Alerts.java:162)
at sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:2023)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1125)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1403)
at org.eclipse.jetty.http2.alpn.tests.ALPNNegotiationTest.testClientAdvertisingHTTPServerSpeaksHTTP(ALPNNegotiationTest.java:193)

Users with the same issue

Samebug visitor profile picture
Unknown user
2 times, 6 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.