javax.net.ssl.SSLException: Received fatal alert: bad_record_mac

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

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via JIRA by Erik Hetzner, 1 year ago
Received fatal alert: bad_record_mac
via JIRA by Erik Hetzner, 1 year ago
Received fatal alert: bad_record_mac
via Coderanch by A Kao, 6 months ago
via Oracle Community by Srivatsa.kashyap, 1 year ago
Received fatal alert: bad_record_mac
via Oracle Community by 803561, 1 year ago
Received fatal alert: bad_record_mac
javax.net.ssl.SSLException: Received fatal alert: bad_record_mac
at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:190)
at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:136)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1720)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:954)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1138)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1165)
at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:434)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:166)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1172)
at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:2308)
at java.net.URLConnection.getContentType(URLConnection.java:485)
at org.apache.tika.io.TikaInputStream.get(TikaInputStream.java:380)
at org.apache.tika.cli.TikaCLI.process(TikaCLI.java:412)
at org.apache.tika.cli.TikaCLI.main(TikaCLI.java:108)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years 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
3 times, 1 year ago

Write tip

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