Communication timeout when viewing license groups in vRealize Operations Manager 6.x
search cancel

Communication timeout when viewing license groups in vRealize Operations Manager 6.x

book

Article ID: 328313

calendar_today

Updated On:

Products

VMware

Issue/Introduction

Symptoms:
  • When you launch License Groups in vRealize Operations Manager 6.x, the page takes long time to load.
  • You see the error message similar to:

    Communication Error: Timeout reached while trying to communicate with the server. Try refreshing the UI manually."
    After clicking on OK you see the status message "No license groups available"


Resolution

This is a known issue affecting vRealize Operations Manager 6.x.

Currently there is no resolution.
To work around the issue, run this command to set the timeout value in LicenseGroupsGrid.js file in vRealize Operations Manager master node:

Note: Take a snapshot or backup of the vRealize Opearations Manager 6.x nodes before following the steps.

To set the timeout value in LicenseGroupsGrid.js file in vRealize Operations Manager master node:

  1. Log in to the vRealize Operations Manager master node as a root through SSH or console.
  2. Run this command to edit the LicenseGroupsGrid.js file:

    vi /usr/lib/vmware-vcops/tomcat-web-app/webapps/ui/js/components/licensing/LicenseGroupsGrid.js

    The file looks similar to:

    Ext.define('Ext.vcops.licensing.LicenseGroupsGrid', {
    extend: 'Ext.grid.Panel',

    initMembers: function () {
    var me = this;
    this.licenseGroupsStore = Ext.create('Ext.data.Store', {
    storeId: 'licenseGroups',
    fields: [ 'groupName', 'totalUsage','licenseableUsage','usageBreakdown','customGroupUuid','groupId','associatedLicenses'],
    proxy: {
    type: 'ajax',
    url: 'licensing.action?mainAction=getAllLicenseGroups',
    ....

  3. Add a new line timeout: 1000000, so that the file looks like this:


    Ext.define('Ext.vcops.licensing.LicenseGroupsGrid', {
    extend: 'Ext.grid.Panel',

    initMembers: function () {
    var me = this;
    this.licenseGroupsStore = Ext.create('Ext.data.Store', {
    storeId: 'licenseGroups',
    fields: [ 'groupName', 'totalUsage','licenseableUsage','usageBreakdown','customGroupUuid','groupId','associatedLicenses'],
    proxy: {
    type: 'ajax',
    timeout: 1000000,
    url: 'licensing.action?mainAction=getAllLicenseGroups',
    ....
  4. Save the file.
  5. Reload the browser and see if the license group page now loads up without any error in Product UI.
    If this does not resolve the issue, continue with steps 6-7.

  6. It is possible that the page is loaded from the browser's cache. Force the browser to do a hard refresh of the license group page.

    For example:

    If you use the Chrome browser, you can do a hard refresh of a page by holding down Ctrl and click Reload.

  7. If hard refresh of a page still does not work, then connect back to the Putty/SSH session and run this command on the vRealize Operations Manager master node:

    service vmware-vcops-web restart
Note: If the issue still exists after attempting these steps, file a Support Request with VMware Technical Support and specify this Knowledge Base article ID (2147543) in the problem description. For more information on filing a Support Request, see Filing a Support Request in Customer Connect(2006985) .


Additional Information

vRealize Operations Manager 6.x でライセンス グループを表示すると通信がタイムアウトになる
在 vRealize Operations Manager 6.x 中查看许可证组时通信超时