MainView Middleware Administrator  v9.0.00 -  Running MIGRATE tool - Error : Call failed, msg=Missing or invalid headers

Version 3
    Share This:

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    PRODUCT:

    MainView Middleware Administrator


    COMPONENT:

    BMC Middleware Management - Administration


    APPLIES TO:

    All versions up to v9.1.00 of: TrueSight Middleware Administrator MainView Middleware Administrator BMC Middleware Management - Administration



    PROBLEM:

    Possible symptoms are:

    Trying to run MIGRATE Tool during migrating data/configurations from APPWATCH to MVMA.

    Example Errors :
     

    Fri, 26 Apr 2019 15:34:58 -0400: AssertException: Expected: 1, got: 403, response.rc does not match expected Permissions error. Fri, 26 Apr 2019 15:34:58 -0400: Call failed, msg=Missing or invalid headers. Fri, 26 Apr 2019 15:34:58 -0400: Please confirm you're logging in with correct credentials
      
      

     


    CAUSE:

    In MVMA v9, the security checking has been enhanced. The MIGRATE tool does not meet the standards of the enhanced security configuration.


    SOLUTION:

    This error "missing or invalid headers" can be observed while running the MIGRATE tool when migrating data from APPWATCH to MVMA during upgrade.

    To overcome this issue, the enhanced security checking in MVMA needs to be turned off. 

    To disable HTTP request header verification within MVMA

       
    • Stop MVMA services.
    •  
    • Open the wrapper.conf in the configuration sub-folder of the MVMA installation directory.
    •  
    • Add an entry wrapper.java.additional.NN=-Dcom.bmc.mmadmin.CheckRequester=false where NN is the highest number of the current entries of this type increased by one and <whitelist> is the comma separated list of accepted header identifiers. Make sure to include the identifiers used by the MVMA components to ensure you do not lock out using MVMA through a browser or through a custom application using the MVMA JavaScript API.
                  For example: 
                  wrapper.java.additional.22=-Dcom.bmc.mmadmin.CheckRequester=false  
       
    • Save your changes to wrapper.conf.
    •  
    • Restart MVMA services.
      
    Also, can check out the documentation link provided.    https://docs.bmc.com/docs/tma9/troubleshooting/how-to-implement-http-request-header-verification

     


    Article Number:

    000167754


    Article Type:

    Solutions to a Product Problem



      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles