Search code examples
ibm-cloudsecure-gateway

Using Bluemix Secure Gateway app, I am receiving an error with finding destinations


I am using a Secure Gateway app on Bluemix to create a secure gateway tunnel between a virtual machine and Bluemix. I have installed the secure gateway client on the virtual machine, and opened ports for applications. I have created a secure gateway and configured the destination details on Bluemix.

However, the Secure Gateway app is not connecting to the individual applications. On Bluemix, it is showing the following status for each destination: Active Destinations: 0

When I log onto the VM and connect to the secure gateway client I receive the following error messages:

[2016-04-05 20:37:04.577] [INFO] (Client PID 1) The Secure Gateway tunnel is connected
[2016-04-05 20:37:04.895] [ERROR] (Client PID 1) The server failed to bring up the destinations associated with this gateway
[2016-04-05 20:37:04.906] [INFO] (Client PID 1) The Secure Gateway tunnel was disconnected
[2016-04-05 20:37:04.906] [INFO] (Client PID 1) Secure Gateway tunnel connection retry in 5 seconds
[2016-04-05 20:37:09.909] [INFO] (Client PID 1) Secure Gateway tunnel connection retry in 5 seconds

How can I resolve this and complete setting up a secure gateway tunnel between the VM and the secure gateway app on Bluemix so that the application is externally accessible? Thanks.


Solution

  • This issue is caused by the Secure Gateway Server encountering some error while attempting to set up the listeners for your destinations, causing it to send a message to the client triggering the tunnel to disconnect. While not ideal, this can typically be resolved by simply restarting the client.