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.
Release | Yes/No |
---|---|
8.3.x |
RDBMS | Yes/No |
---|---|
CSS |
- 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.
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 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.