In of my linux hubs is not able to get the security.cfg from the hub it is attached to.
On this hub securuty.cfg stays at:
<setup>
version = 0000
expire = 21600
hub logs:
pr 14 14:32:16:036 [140737352517440] 0 hub: ----- Hub 9.33 [Build 9.33.1475, Mar 16 2021] initializing -----
Apr 14 14:32:16:036 [140737352517440] 3 hub: set hglob.myhub = 0x8bf2b0
Apr 14 14:32:16:036 [140737352517440] 2 hub: ch_hublist /remxxxxx-dom/rhxxxxx-ter-hub/maupiti.rxxxx.com/hub
Apr 14 14:32:16:036 [140737352517440] 0 hub: Tunnel has started in thread [ 140737118906112 ]
Apr 14 14:32:16:036 [140737118906112] 1 hub: CORE - thread starting
Apr 14 14:32:16:036 [140737352517440] 1 hub: Added 0 static hubs from cache
Apr 14 14:32:16:036 [140737352517440] 2 hub: nns(+):/remote-dba-dom/rxxx-hub 10.0/48002
Apr 14 14:32:16:036 [140737352517440] 2 hub: nns(+):/remote-dba-dom/rxxx-hub/maupiti.rhiem.com/hub 10.0/48002
Apr 14 14:32:16:036 [140737352517440] 2 hub: nns(+):/remote-dba-dom/rxxx-hub/maupiti.rhiem.com/controller 10.0/48000
Apr 14 14:32:16:036 [140737352517440] 2 hub: nns(+):/remote-dba-dom/rxxx-hub/maupiti.rhiem.com 10.0/48000
Apr 14 14:32:16:036 [140737352517440] 2 hub: HUB SEC: using plain-text mode: security.cfg
Apr 14 14:32:16:036 [140737352517440] 1 hub: HUB SEC: session=869775408
Apr 14 14:32:16:036 [140737352517440] 1 hub: HUB SEC: expire=21600
Apr 14 14:32:16:036 [140737352517440] 1 hub: HUB SEC: version=0000
Apr 14 14:32:16:036 [140737352517440] 0 hub: HUB SEC: HMAC file not found (errno=2)
Apr 14 14:32:16:036 [140737352517440] 0 hub: HUB SEC: HMAC mismatch
Apr 14 14:32:16:036 [140737352517440] 1 hub: HUB SEC: backup of security file security.bak
Apr 14 14:32:16:036 [140737352517440] 0 hub: HUB SEC: new security file
Apr 14 14:32:16:036 [140737352517440] 0 hub: HUB SEC: OFF
Apr 14 14:32:16:037 [140737352517440] 3 hub: add robots from robot.sds file to this hub's robot lists
Apr 14 14:32:16:037 [140737352517440] 0 hub: Initially read robot file: r_ip 10.0:48000 r_reachable_via_ip 10.0:48000
Apr 14 14:32:16:037 [140737352517440] 0 hub: At the end, read robot file: r_ip 10.0:48000 r_reachable_via_ip 10.0:48000
Apr 14 14:32:16:037 [140737352517440] 1 hub: Added 1 robots from cache
Apr 14 14:32:16:037 [140737352517440] 2 hub: nimSessionServer - port = 48002
Apr 14 14:32:16:037 [140737352517440] 2 hub: sockServer - 0x8dexxxxxx.0.0.0/48002:fd=4
Release : UIM 20.3
Component : UIM - HUB
Primary Hub OS is CentOS 7
Working Hub OS is RHEL 7.8
Affected Hub OS is RHEL 8.3 (tunnel)
The cause can be related to runnel not connecting correctly or hub not properly installed
Press CTRL+P on the tunnel server hub probe and run the callback:
hubsec_sync
this callback makes the hub try to push new security for any hub it can see which doesn't have the latest.
If it still fails, we have that reinstalling the affected hub can resolve this issue.