Websphere consumer REST API Error Connection reset

0 respostas
java
D

Estou tentado consumir uma API no Websphere e está me retornando um erro.

try {
    LOGGER.info("Inicia chamada URL: " + url);
    URL wsdlLocation = new URL(null, url, new sun.net.www.protocol.https.Handler());

    LOGGER.info("Inicia chamada sslSocketFactory");
    HttpsURLConnection conn = (HttpsURLConnection) wsdlLocation.openConnection();
    doTrustToCertificates();

    SSLSocketFactory sslSocketFactory = CustomSSLFactory.createSslSocketFactory();
    conn.setSSLSocketFactory(sslSocketFactory);

Erro:

[2/12/20 21:21:43:359 SGT] 0000020a SystemErr R [Fatal Error] :4:17: Element type “a:displayname” must be followed by either attribute specifications, “>” or “/>”. [2/13/20 8:30:15:352 SGT] 00000099 SystemErr R Connection to http://10.4.14.49:8999 refused [2/18/20 6:41:50:909 SGT] 00000bb4 SystemErr R java.net.SocketException: Connection resetjava.net.SocketException: Connection reset [2/18/20 6:41:50:924 SGT] 00000b9f SystemErr R java.net.SocketException: Connection reset [2/18/20 6:41:50:924 SGT] 00000bb4 SystemErr R [2/18/20 6:41:50:929 SGT] 00000b9c SystemErr R at java.net.SocketInputStream.read(SocketInputStream.java:200) [2/18/20 6:41:50:929 SGT] 00000b9c SystemErr R at java.net.SocketInputStream.read(SocketInputStream.java:132

Criado 18 de fevereiro de 2020
Respostas 0
Participantes 1