Hello,
I ran some tests a few months ago by developping some widget on the computer where the tango-db was launched and TangoTest device ran.
Now, I would like to use TangoTest running on a distant computer where run a tango-db. This Tango server has currently 2 network interfaces.
Client <==[public network]==> Tango server <==[private network]==> computers
I defined TANGO_HOST value to “SERVER:port” where SERVER is the public adress of the TANGO server, and I would like to know what else should be defined to access to attributes of the distant TangoTest.
Currently,
I checked that the TangoTest DS is registered on the DB and is running (it runs on the tango server).
To test, we launched taurusform sys/database/2 on the client, it displays the following windows:
1st
and when clicking Ok
If we try to launch atkpanel, we got the following error:
Cannot connect to the device.
Check the device name you entered; Application will abort ...
Connection Exception : Severity: PANIC
Origin: Connection.dev_import(sys/database/2)
Description: Cannot import sys/database/2 :
org.omg.CORBA.TRANSIENT: Retries exceeded, couldn't reconnect to [192.168.PRIVATE_IP]:20000 vmcid: 0x0 minor code: 0 completed: No
Reason: TangoApi_CANNOT_IMPORT_DEVICE
Severity: ERROR
Origin: Connection.build_connection(sys/database/2)
Reason: TangoApi_CANNOT_IMPORT_DEVICE
We understand this is more a network issue related to the fact that the server when runs the database has 2 interfaces and that [192.168.PRIVATE_IP] is an interface not accessible from the client.
The computer running DS and the TANGO server are on same computer.
The TANGO server seems to send the private network IP of the computer running the DS (its own IP) to the client.
Is there somewhere where we can identify the IP that should be sent to a client? The goal would be to force to send the public IP to the client.
Thank you