CAST Engineering Dashboard - Views - Errors - HTTP Status 404 The requested resource is not available
Description
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
| Release | Yes/No |
|---|---|
| 8.3.x | ✅ |
Observed on RDBMS
| RDBMS | Yes/No |
|---|---|
| CSS | ✅ |
Step by Step Scenario
- Deploy the dashboard on one server - say for example server A.
- Launch Dashboard from another server - say for example server B.
- Enter credentials in login Page and click login.
- Error HTTP Status 400 The requested resource is not available.
- 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 -
- https://cast2/C73_CASTAD/?action=connectAction&prefix=null
- http://cast2/C73_CASTAD/?frame=FRAME_PORTAL_INVESTIGATION_VIEW
- https://cast2/C73_CASTAD/?frame=FRAME_PORTAL_INVESTIGATION_VIEW
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
- 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.
Notes/comments
Ticket # 3135
Related Pages