In our new beamlines we are using DNS alias to redirect the tango host
to a virtual machine. Time ago we discovered that it caused problems to
Astor and made a bug report regarding that.
The actual issue is that we have found that HDB++ is also affected, and
no events at all are being inserted in the database when DNS alias is used.
I would like to know if any of you is also using DNS alias and if you
have experienced similar problems (and if you know about some workaround).
this sounds suspiciously like issue #315 in cppTango and has been fixed in #430 since May 2018 in 9.3.0 (LTS). It is on the way to being fixed in JTango (see issue #89).
Which version of Tango are you using? I suggest you upgrade to a version >= 9.3.0 or at least try it to see if it fixes your problem. Both client and server (HDB++ subscribers) need to be upgraded.
I have the following issue:
I have a single ubuntu 18.04 workstation as TANGO_HOST and its hostname is tangobox, address is 192.168.0.50
On that workstation I have a docker container with hdb++ (set up by Dockerfile from tangobox9.3)
Then I add some attribure for archiving, it is added to event subscriber list like this, tango://tangobox:10000/sys/tg_test/1/double_scalar
But I get an error log from event subscriber: push event: Event ‘tango://192.168.0.50:10000/sys/tg_test/1/double_scalar’ NOT FOUND in signal list
and of course, nothing is added into database
When I try to add this attribure using IP, tango://192.168.0.50:10000/sys/tg_test/1/double_scalar
event subscriber crashes…
Are there any solutions for this?
[quote=“IvaKu”]I have the following issue:
I have a single ubuntu 18.04 workstation as TANGO_HOST and its hostname is tangobox, address is 192.168.0.50
On that workstation I have a docker container with hdb++ (set up by Dockerfile from tangobox9.3)
Then I add some attribure for archiving, it is added to event subscriber list like this, tango://tangobox:10000/sys/tg_test/1/double_scalar
But I get an error log from event subscriber: push event: Event ‘tango://192.168.0.50:10000/sys/tg_test/1/double_scalar’ NOT FOUND in signal list
and of course, nothing is added into database
When I try to add this attribure using IP, tango://192.168.0.50:10000/sys/tg_test/1/double_scalar
event subscriber crashes…
Are there any solutions for this?[/quote]
Just in case someone run into this. The TANGO_HOST in docker container was 192.168.0.50:10000
After I corrected it to tangobox:10000, everything started working.