Virtual Chat Error HTTP 400 RSSO Authentication

Version 2
    Share This:

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


    PRODUCT:

    BMC Virtual Chat


    COMPONENT:

    BMC Virtual Chat


    APPLIES TO:

    Virtual Chat 9.1.02 and RSSO 9.x or 18.x and Tomcat 8.5



    PROBLEM:

    When enabling RSSO authentication for Virtual Chat, if your Midtier is running Tomcat 8 or newer you may encounter with an error screen of HTTP Status 400 like the one below


    User-added image 


    CAUSE:

    Redirect URL from Virtual Chat Servlet is not supported in tomcat 8.x or newer due RFC 7230 And RFC 3986 from Apache.


    SOLUTION:

    Currently a defect was filed DRBZC-1347 to fix this permanently in future releases.

    To workaround this issue follow this steps.

    On each Mid Tier:

               1.    Stop Tomcat and wait until it is totally stopped.

      2.    Open attached file in this article    cassologin.html
     Find there the following code (line 84) :
      
       if (g_debug.indexOf("on") == -1)

    url = "/arsys/forms/ar81/ES_Chat%3ASelfServiceSSO?mode%3DSubmit%26F800000108%3D%2Feschat%2Fcareturnsso.html%3Flogin%3Dm%3Asso~token%3A%5BTOKEN%5D";

    else 

    url = "/arsys/forms/ar81/ES_Chat%3ASelfServiceSSO?mode%3DSubmit%26F800000108%3D%2Feschat%2Fcareturnssodbg.html%3Flogin%3Dm%3Asso~token%3A%5BTOKEN%5D";

       
       
    1. Replace the marked section of the URLs (ar81) with your actual AR Server name or load balancer for AR server hostname
    2.  
    3. Save changes
    4.  
    5. Open following directory : \Tomcat\webapps\eschat
    6.  
    7. Backup  cassologin.html
    8.  
    9. Replace cassologin.html  in \Tomcat\webapps\eschat  with attached
    10.  
    11. Start Tomcat and wait until eschat web app becomes available.
      

      

     


    Article Number:

    000166663


    Article Type:

    Solutions to a Product Problem



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