Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-11360

Web Console: Should detect situation when session on backed expired / removed

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: wizards
    • Labels:
      None

      Description

      This issue related to IGNITE-11353.

      Steps to reproduce:

      1. Start backend and frontend as usual.
      2. Sign in on frontend.
      3. Stop backend and wipe its DB.
      4. Start backend.
      5. 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

            Activity

              People

              • Assignee:
                Klaster_1 Ilya Borisov
                Reporter:
                kuaw26 Alexey Kuznetsov
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: