Description


This article explains a way to fix the 'Failed to decode workloads' error message while running recon ps command.
 

Symptoms

While running the /opt/qradar/support/recon ps command mentioned in KB36950 [juniper.net] we can see the below error message:

[root@JSA ]# /opt/qradar/support/recon ps
&ps.StatusResult{Check:(*ps.StatusCheck)(nil), Message:"endpoint not specified", Remediation:"", Value:1}
 App-ID  Name                            Managed Host ID Workload ID                             Service Name            Container Name          Port
                                        0               Failed to decode workloads      -                                                       0
1054    QRadar Use Case Manager         53              apps                                    qapp-1054       -                               0



App some in the UI might throw an error while opening and may not run as expected.
 

Solution


This issue may occur when the HOSTNAME entry is missing in the /etc/sysconfig/network file.
 

Check the hostname of your JSA server where app is running using hostname command.

[root@training ~]# hostname
JSA.jnpr.net

To resolve this issue, please open network file and add an entry for HOSTNAME as below:

# vi /etc/sysconfig/network
HOSTNAME=JSA.jnpr.net


There is no need to restart any JSA service.
 

Modification History

2024-05-01 : Article Created