Hello,
We have an environment where we are trying to connect to Windchill 11.0.
Windchill is setup in SSL mode and we connecting through HTTPS proxy.
We are using standalone application to Query a part, using SimpleTaskDispatcher and InfoEngine API's.
Windchill application certificate is also added in the truststore.
Below is sample code :
IeConnectionFactory f1 = new IeConnectionFactory();
javax.resource.cci.Connection windchillConnection = f1.getConnection(connSpc ); |
We have set below JAVA_OPTS :
1) https.proxyHost
2) https.proxyPort
3) https.nonProxyHosts
We are getting below exception :
javax.net.ssl|FINE|01|main|2021-02-23 09:36:47.829 EST|null:-1|Raw read ( 0000: 48 54 54 50 2F HTTP/ ) javax.net.ssl|SEVERE|01|main|2021-02-23 09:36:47.829 EST|null:-1|Fatal (UNEXPECTED_MESSAGE): javax.net.ssl.SSLException: Unsupported or unrecognized SSL message ( "throwable" : { javax.net.ssl.SSLException: Unsupported or unrecognized SSL message at sun.security.ssl.SSLSocketInputRecord.handleUnknownRecord(Unknown Source) at sun.security.ssl.SSLSocketInputRecord.decode(Unknown Source) at sun.security.ssl.SSLTransport.decode(Unknown Source) at sun.security.ssl.SSLSocketImpl.decode(Unknown Source) at sun.security.ssl.SSLSocketImpl.readHandshakeRecord(Unknown Source) at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source) at sun.security.ssl.SSLSocketImpl.ensureNegotiated(Unknown Source) at sun.security.ssl.SSLSocketImpl.access$200(Unknown Source) at sun.security.ssl.SSLSocketImpl$AppOutputStream.write(Unknown Source) at java.io.BufferedOutputStream.flushBuffer(Unknown Source) at java.io.BufferedOutputStream.flush(Unknown Source) at com.infoengine.soap.util.SOAPConnection_Impl.call(SOAPConnection_Impl.java:167) at com.infoengine.connector.HTTPConnection.invoke(HTTPConnection.java:288) at com.infoengine.connector.IeInteraction.execute(IeInteraction.java:343) at com.infoengine.connector.DataAccessObject.execute(DataAccessObject.java:187) at WindchillDAO.Query(WindchillDAO10_2.java:18)
|
Need help on how to use InfoEngine API's with Proxy Connection.