This page gives solution to problem where the dashboard pages contains error just after you login - HTTP Status 404 - The requested resource is not available.

Observed in CAST AIP
Observed on RDBMS
Step by Step Scenario
  1. Deploy the dashboard on one server - say for example server A.
  2. Launch Dashboard from another server - say for example server B.
  3. Enter credentials in login Page  and click login.
  4. Error HTTP Status 400 The requested resource is not available.
  5. Observe the URL where the https request turns into an http request.
Action Plan

 After entering the credentials in the login page, the sequence of URL is as following -

  1. https://cast2/C73_CASTAD/?action=connectAction&prefix=null 

This redirection occurs immediately after you have provided your credentials in the connection page. You can see it using a development tool in Chrome by hitting the key F12, like shown in the screenshot below -

This problem occurs if there exists a load balancer at your end server B (the server from where you are accessing the dashboard) that transforms https request sent by you into http request. Therefore,the server A where the dashboard is deployed receives only http request.
So, unless somewhere in the request header the request was originally in https, the server A (where the dashboard is deployed) will not be able to guess that it needs to send redirection to the server B (on which the dashboard is launched) in https format. 

Hence, the solution to this problem is to

  1. Edit the mechanism of the load balancer at server B so that it can send https requests to server A.
Impact on Analysis Results and Dashboard

Impact of issue on Analysis: N/A
Impact of issue on Dashboard : Error message received on web browser - The requested resource is not available, since the https is converted to http.

Impact after applying solution on Dashboard : The https is not converted to http and there are no HTTP Status 400 The requested resource is not available errors.

Ticket # 3135
Related Pages