IID 8.5.5 is not connecting to cloud Process Center

We are not able to connect process center(Cloud) from IID. We followed below steps as well,

After downloading IID, we installed it to our local machine.

In addition we added auth plugin. (This is also the same plugin you use in PD, as seen in our \teamworks\eclipse\plugins directory)

This authentication plug-in (this jar) copied into the following directory: /dropins/plugins Note: This directory might not exist on our system. If it does not, create the directory and then put the JAR file in the dropins/plugins directory.

After the plug-in has been copied into the IID installation, restart IID.

But we found following exception's in IIDWorkspace/.metadata/.log file.

!ENTRY org.eclipse.help.base 4 0 2015-07-18 00:21:01.002 !MESSAGE Internal error while reading TOC contents from remote server !STACK 0 java.net.ConnectException: Connection refused: connect at java.net.DualStackPlainSocketImpl.connect0(Native Method) at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:79) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:358) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:219) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:201) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:180) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:616) at java.net.Socket.connect(Socket.java:565) at sun.net.NetworkClient.doConnect(NetworkClient.java:180) at sun.net.http://www.http.HttpClient.openServer(HttpClient.java:395) at sun.net.http://www.http.HttpClient.openServer(HttpClient.java:490) at sun.net.http://www.http.HttpClient.(HttpClient.java:205) at sun.net.http://www.http.HttpClient.New(HttpClient.java:298) at sun.net.http://www.http.HttpClient.New(HttpClient.java:314) at sun.net.http://www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:995)

A TCP/IP connection refused error means that a TCP connection was attempted to be established but there was no-one listening on the target IP address and port number. Do you have the correct port number and protocol specified? A default for HTTP is 80 and HTTPS is 443.

Personally, I wasn't aware that one COULD connect IID to a cloud hosted BPM server. I am NOT saying that you can't ... I just haven't tried it. Are you sure that this is a possible combination?

Check the HostName used while creating the BPM PC environment in the cloud ? Some CLOUD/ESX environment customers use fencing and there will be a difference between internal address and external address .

If the hostname used is not " abc.bpm.ibmcloud.com " , the return address from Process Center (PC) -> Process Designer or PC -> IID will be some internal address and you will have problems communicating back to PC using the internal address due to firewall etc .

You can check the serverindex.xml file under /config/cells/../....// , to determine the hostName was used for creating the BPM PC environment.

Update: If you have different "internalHostname" , make sure the internal hostname is accessible from IID machine. If the internal_hastname is not in the DNS , you can add to the /etc/hosts file on your IID server ..