Anand Subramanian created METRON-1317: -----------------------------------------
Summary: 401 Unauthorized seen when logout from Management UI Key: METRON-1317 URL: https://issues.apache.org/jira/browse/METRON-1317 Project: Metron Issue Type: Bug Reporter: Anand Subramanian Attachments: 401-Unauthorized-ManagementUI.png When you click on the 'Logout' link in the Management UI, it returns to the login screen, and shows an error saying 'Session has expired'. From the dev tools console, we can see a '401 Unauthorized' with the following error: {code} main.a736a6b4ad8978bebe79.bundle.js:2124 GET http://node1:4200/api/v1/user 401 (Unauthorized) n @ main.a736a6b4ad8978bebe79.bundle.js:2124 t.scheduleTask @ main.a736a6b4ad8978bebe79.bundle.js:2131 n.scheduleMacroTask @ main.a736a6b4ad8978bebe79.bundle.js:2131 (anonymous) @ main.a736a6b4ad8978bebe79.bundle.js:2124 send @ VM982:3 (anonymous) @ main.a736a6b4ad8978bebe79.bundle.js:1373 t.subscribe @ main.a736a6b4ad8978bebe79.bundle.js:15 t.init @ main.a736a6b4ad8978bebe79.bundle.js:260 t @ main.a736a6b4ad8978bebe79.bundle.js:260 get @ t.ngfactory.js:267 tInjector.getInternal @ t.ngfactory.js:447 e.get @ main.a736a6b4ad8978bebe79.bundle.js:1268 _View_t_Host0.createInternal @ t_Host.ngfactory.js:15 t.create @ main.a736a6b4ad8978bebe79.bundle.js:1900 t.create @ main.a736a6b4ad8978bebe79.bundle.js:1240 e.bootstrap @ main.a736a6b4ad8978bebe79.bundle.js:715 (anonymous) @ main.a736a6b4ad8978bebe79.bundle.js:715 e._moduleDoBootstrap @ main.a736a6b4ad8978bebe79.bundle.js:715 (anonymous) @ main.a736a6b4ad8978bebe79.bundle.js:715 t.invoke @ main.a736a6b4ad8978bebe79.bundle.js:2131 onInvoke @ main.a736a6b4ad8978bebe79.bundle.js:1942 t.invoke @ main.a736a6b4ad8978bebe79.bundle.js:2131 n.run @ main.a736a6b4ad8978bebe79.bundle.js:2131 (anonymous) @ main.a736a6b4ad8978bebe79.bundle.js:2131 t.invokeTask @ main.a736a6b4ad8978bebe79.bundle.js:2131 onInvokeTask @ main.a736a6b4ad8978bebe79.bundle.js:1942 t.invokeTask @ main.a736a6b4ad8978bebe79.bundle.js:2131 n.runTask @ main.a736a6b4ad8978bebe79.bundle.js:2131 o @ main.a736a6b4ad8978bebe79.bundle.js:2131 Promise resolved (async) n @ main.a736a6b4ad8978bebe79.bundle.js:2131 r @ main.a736a6b4ad8978bebe79.bundle.js:2131 t.scheduleTask @ main.a736a6b4ad8978bebe79.bundle.js:2131 n.scheduleMicroTask @ main.a736a6b4ad8978bebe79.bundle.js:2131 f @ main.a736a6b4ad8978bebe79.bundle.js:2131 t.then @ main.a736a6b4ad8978bebe79.bundle.js:2131 t._compileComponents @ main.a736a6b4ad8978bebe79.bundle.js:1086 t._compileModuleAndComponents @ main.a736a6b4ad8978bebe79.bundle.js:1086 t.compileModuleAsync @ main.a736a6b4ad8978bebe79.bundle.js:1086 e._bootstrapModuleWithZone @ main.a736a6b4ad8978bebe79.bundle.js:715 e.bootstrapModule @ main.a736a6b4ad8978bebe79.bundle.js:715 (anonymous) @ main.a736a6b4ad8978bebe79.bundle.js:1508 r @ inline.js:18 (anonymous) @ main.a736a6b4ad8978bebe79.bundle.js:2131 r @ inline.js:18 window.webpackJsonp @ inline.js:18 (anonymous) @ main.a736a6b4ad8978bebe79.bundle.js:1 DevTools failed to parse SourceMap: http://node1:4200/bootstrap.css.map :4200/login:1 This page includes a password or credit card input in a non-secure context. A warning has been added to the URL bar. For more information, see https://goo.gl/zmWq3m. {code} See screenshot attached. Note that this behavior is not seen with the Alerts UI, when the same steps are repeated. -- This message was sent by Atlassian JIRA (v6.4.14#64029)