Menu

HTTPS hostname wrong

Help
Anonymous
2003-07-31
2003-09-08
  • Anonymous

    Anonymous - 2003-07-31

    After I run my program written in jwebunit, I received the following error:
    Caused by: java.io.IOException: HTTPS hostname wrong:  should be <devl.mynannycalledinsick.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.getInputStream(HttpURLConnection.java:615)
            at sun.net.www.protocol.http.HttpURLConnection.getHeaderFieldKey(HttpURLConnection.java:1485)
            at com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnectionOldImpl.getHeaderFieldKey(DashoA6275)
            at com.meterware.httpunit.HttpWebResponse.loadHeaders(HttpWebResponse.java:191)
            at com.meterware.httpunit.HttpWebResponse.readHeaders(HttpWebResponse.java:173)
            ... 15 more

            at net.sourceforge.jwebunit.HttpUnitDialog.submit(Unknown Source)
            at net.sourceforge.jwebunit.WebTester.submit(Unknown Source)
            at Babysitter.test(Babysitter.java:61)
            at Nanny.main(Nanny.java:1140)
    Can anybody help me?

     
    • Christian Hargraves

      What is the hostname for your ssl key? If it is different than the URL you are requesting, then you will get this error ( I think )

       

Log in to post a comment.

MongoDB Logo MongoDB