REST API connection failed after RSSO 9.1.04 integration agent upgrade

Version 8
    Share:|

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


    PRODUCT:

    Remedy AR System Server


    COMPONENT:

    AR System Server


    APPLIES TO:

    AR system version 9.1.04 and RSSO 9.1.04



    PROBLEM:

    REST API connection failed with an error, HTTP 401 unauthorized, after RSSO 9.1.04 AR system integration agent was upgraded.

        
      
      Getting Error : Problem accessing /api/jwt/login. Reason:  
    <pre> Unauthorized </pre> 
      
    There is another situation that REST API token generation failed with POST. 
    The HTTP response code of POST is 200, which indicates that there is no issue in HTTP traffic. 
    Following error is logged:     
      an error occurred, please contact your administrator 

     


    CAUSE:

    RSSO Agent in AR Server thinks this connection is from a web server and tries to redirect to RSSO login screen which should not happen as REST API is code based


    SOLUTION:


    To resolve this issue

       
    • Edit the ../ARSystem/conf/rsso-agent.properties
    •  
    • Append the following to the excluded-url-pattern= parameter 
      
      /api/.* 
    Example:  
      excluded-url-pattern=.*\\.xml|.*\\.gif|.*\\.css|.*\\.ico|/shared/config/.*|/WSDL/.*|/shared/error.jsp|/shared/timer/.*|/shared/login_commn.jsp|/shared/view_form.jsp|/shared/ar_url_encoder.jsp|/ThirdPartyJars/.*|/shared/logout.jsp|/shared/doc/.*|/shared/images/.*|/shared/login.jsp|/services/.*|/shared/file_not_found.jsp|/plugins/.*|/shared/wait.jsp|/servlet/GoatConfigServlet|/servlet/ConfigServlet|/shared/HTTPPost.class|/shared/FileUpload.jar|/BackChannel.*|/servlet/LicenseReleaseServlet.*|/api/.*  
      

     


    Article Number:

    000149463


    Article Type:

    Solutions to a Product Problem



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