Event problem when TANGO_HOST is PQDN and DeviceProxy is FQDN
Closed this issue · 0 comments
Hi Tango experts,
We have found the following problem with Tango events. Seems like the TANGO_HOST configuration on the server/database host (we use the same host for both so it is not clear which one is important to reproduce the problem) and the tango host part of the device URI of the client must correspond. In other words, either both must be FQDN or both must be PQDN, otherwise there are problems with the heartbeat event.
One could use the following environment to reproduce it:
- Debian stretch 64bits box
default-mysql-server
,tango-db
,tango-test
andpython-tango
Debian packages (Tango 9.2.5 and PyTango 9.2.0)- This simple script which will subscribe to the events using the DeviceProxy created with FQDN URI.
If one runs the database and the TangoTest device server with the TANGO_HOST
set to stretch.localdomain:10000
the heartbeat events arrives correctly. If one do the same with TANGO_HOST
set to stretch:10000
the API_EventTimeout is raised on the client side.
There are some entries in the Tango forum about problems with the event system and FQDN but we could not find exactly the same problem described.
Thanks!
Zibi