Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
None
-
None
-
None
Description
This issue related to IGNITE-11353.
Steps to reproduce:
- Start backend and frontend as usual.
- Sign in on frontend.
- Stop backend and wipe its DB.
- Start backend.
- Click some links on frontend.
Expected: Frontend should go to 403 page.
Errors in logs (from steps):
..... 09:42:41.993 angular.js:13539 GET http://localhost:9000/api/v1/configuration/clusters/ 401 (Unauthorized) ..... 09:42:42.019 angular.js:15544 Possibly unhandled rejection: {"type":"LOAD_USER_CLUSTERS_ERR","error":{"message":"Failed to load clusters: Access denied. You are not authorized to access this page."},"action":{"type":"LOAD_USER_CLUSTERS"}} undefined ..... getClustersOverview @ Clusters.ts:106 ConfigEffects.loadUserClustersEffect$.ConfigureState.actions$.pipe.a @ effects.js:220 push.../../../../incubator-ignite/modules/web-console/frontend/node_modules/rxjs/_esm5/internal/operators/exhaustMap.js.ExhaustMapSubscriber.tryNext @ exhaustMap.js:44 push.../../../../incubator-ignite/modules/web-console/frontend/node_modules/rxjs/_esm5/internal/operators/exhaustMap.js.ExhaustMapSubscriber._next @ exhaustMap.js:37 push.../../../../incubator-ignite/modules/web-console/frontend/node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber.next @ Subscriber.js:54 push.../../../../incubator-ignite/modules/web-console/frontend/node_modules/rxjs/_esm5/internal/operators/filter.js.FilterSubscriber._next @ filter.js:38 push.../../../../incubator-ignite/modules/web-console/frontend/node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber.next @ Subscriber.js:54 push.../../../../incubator-ignite/modules/web-console/frontend/node_modules/rxjs/_esm5/internal/Subject.js.Subject.next @ Subject.js:47 dispatchAction @ ConfigureState.ts:58 setTimeout @ effects.js:744 setTimeout (async) ConfigEffects.etp @ effects.js:744 $stateProvider.state.resolve._shortClusters @ states.ts:54
Attachments
Issue Links
- is related to
-
IGNITE-11353 Web console: responses with status 401 do not redirect to signin page
- Closed