java.io.IOException: HTTPS hostname wrong: should be <myserver.mycompany.com>

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

Solutions on the web

via Oracle Community by 843811, 1 year ago
HTTPS hostname wrong: should be <myserver.mycompany.com>
via Google Groups by Stephen Biggs, 2 years ago
HTTPS hostname wrong: should be <localhost>
via Oracle Community by 843798, 1 year ago
HTTPS hostname wrong: should be <190.168.1.130>
via Oracle Community by 843811, 1 year ago
HTTPS hostname wrong: should be <xxx.yyyy.zzzz>
via Google Groups by Albert, 4 months ago
HTTPS hostname wrong: should be <1company.mydomain.com>
via Oracle Community by 843811, 1 year ago
HTTPS hostname wrong: should be <localhost>
java.io.IOException: HTTPS hostname wrong: should be <myserver.mycompany.com>
at sun.net.www.protocol.https.HttpsClient.b(DashoA6275)
at sun.net.www.protocol.https.HttpsClient.afterConnect(DashoA6275)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(DashoA6275)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:528)

Users with the same issue

You are the first who have seen this exception.

Write tip

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