Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while processing route: vault.index in WebUI #7385

Closed
craigday opened this issue Aug 29, 2019 · 16 comments · Fixed by #8535
Closed

Error while processing route: vault.index in WebUI #7385

craigday opened this issue Aug 29, 2019 · 16 comments · Fixed by #8535
Labels
bug Used to indicate a potential bug ui
Milestone

Comments

@craigday
Copy link

craigday commented Aug 29, 2019

Getting the following Javascript error while trying to access the WebUI in Chrome Version 76.0.3809.100 on OSX.

Vault Version: 1.2.2

Error while processing route: vault.index Cannot read property 'includes' of null TypeError: Cannot read property 'includes' of null

Console image attached. I have restarted the browser and performed a hard reload/clear of the cache.

Seems to be working fine in Firefox.

Screenshot of Google Chrome (29-8-19, 8-50-02 am)

@meirish
Copy link
Contributor

meirish commented Aug 29, 2019

We'll fix the bug that you're hitting, but it seems to be from an unexpected localStorage state. Try opening the browser dev tools and in the console type localStorage.clear() and then refreshing. That should hopefully get you around the error for now.

@meirish meirish added bug Used to indicate a potential bug ui labels Aug 29, 2019
@craigday
Copy link
Author

That fixed it. Turn's out also it wasn't Chrome specific. My Firefox eventually ran into the same problem.

@meirish
Copy link
Contributor

meirish commented Aug 29, 2019

Hmm that's bizarre - what auth method are you using? It'd be good to chase down the root cause as well as fixing this check.

@ilyalavrenov
Copy link

i am hitting this on occasion as well. localStorage.clear() does seem to fix it. using OIDC auth and running vault v1.2.2.

@upodroid
Copy link

upodroid commented Sep 7, 2019

Can confirm the same. Site is blank when I login using OIDC but it works fine in other browsers and incognito.

Finding the site here and clearing it seems to work chrome://settings/siteData

Google Chrome is up to date
Version 76.0.3809.132 (Official Build) (64-bit)

Vault is 1.2.2

https://vault.borg.dev

@craigday
Copy link
Author

craigday commented Sep 9, 2019

Hmm that's bizarre - what auth method are you using? It'd be good to chase down the root cause as well as fixing this check.

Primarily using userpass.

@pgassmann
Copy link

pgassmann commented Sep 10, 2019

Duplicate of #7349 blank page after Renew Token with OIDC auth. renew-self responds policies: null

Hmm that's bizarre - what auth method are you using? It'd be good to chase down the root cause as well as fixing this check.

@meirish I drilled this down to an API call which returns policies: null. see linked issue for details.

@upodroid can you reproduce it using the steps in #7349 ?

@craigday can you reproduce it in an incognito window with userpass login? I did not see the issue with userpass login.

@paddie
Copy link

paddie commented Sep 11, 2019

I was simply testing using the github auth backend, but the issue happened after adding a new kv2 secrets engine through the cli. That made the UI suddenly go blank and display the error in the console that was reported in the initial issue.

@klemens-u
Copy link

I have the same problem. localStorage.clear() fix worked, but quite annoying. Pls fix.

@KrisTC
Copy link

KrisTC commented Jan 14, 2020

I am having the same issue. Using the authentication method "Username". Using version: Vault 1.3.0. If I login with incognito mode in chrome (or clear my storage) then it is fine I am able to login.

Using windows 10 and Chrome: 79.0.3945.117

The error log from chrome:
vendor-1decb7c3f4690ab9d322972e8db32da0.js:2127 Error while processing route: vault.index Cannot read property 'includes' of null TypeError: Cannot read property 'includes' of null at https://dvolsvault000/ui/assets/vault-eb665d5ecf606896894349c5cf2805d8.js:2243:15 at Array.forEach (<anonymous>) at n.checkForRootToken (https://dvolsvault000/ui/assets/vault-eb665d5ecf606896894349c5cf2805d8.js:2242:65) at n.init (https://dvolsvault000/ui/assets/vault-eb665d5ecf606896894349c5cf2805d8.js:2212:242) at n [as init] (https://dvolsvault000/ui/assets/vendor-1decb7c3f4690ab9d322972e8db32da0.js:2460:9) at m (https://dvolsvault000/ui/assets/vendor-1decb7c3f4690ab9d322972e8db32da0.js:2369:218) at Function.e.create (https://dvolsvault000/ui/assets/vendor-1decb7c3f4690ab9d322972e8db32da0.js:2378:8) at e.n.create (https://dvolsvault000/ui/assets/vendor-1decb7c3f4690ab9d322972e8db32da0.js:881:18) at https://dvolsvault000/ui/assets/vendor-1decb7c3f4690ab9d322972e8db32da0.js:855:76 at l (https://dvolsvault000/ui/assets/vendor-1decb7c3f4690ab9d322972e8db32da0.js:861:45) (anonymous) @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:2127 error @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:2127 O @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:2137 c.triggerEvent @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:2069 t.trigger @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4306 c.transitionDidError @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:2069 (anonymous) @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4297 g @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4499 O @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4509 M @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4507 w @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4505 t.invoke @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4041 t.flush @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4033 t.flush @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4046 n._end @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4108 _boundAutorunEnd @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4058 characterData (async) t @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4017 n._scheduleAutorun @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4121 n._end @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4108 _boundAutorunEnd @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4058 characterData (async) t @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4017 n._scheduleAutorun @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4121 n._end @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4108 _boundAutorunEnd @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4058 characterData (async) t @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4017 n._scheduleAutorun @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4121 n._end @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4108 _boundAutorunEnd @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4058 characterData (async) t @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4017 n._scheduleAutorun @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4121 n._end @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4108 _boundAutorunEnd @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4058 characterData (async) t @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4017 n._scheduleAutorun @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4121 n._end @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4108 _boundAutorunEnd @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4058 characterData (async) t @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4017 n._scheduleAutorun @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4121 n._end @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4108 _boundAutorunEnd @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4058 characterData (async) t @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4017 n._scheduleAutorun @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4121 n._end @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4108 _boundAutorunEnd @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4058 characterData (async) t @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4017 n._scheduleAutorun @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4121 n._end @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4108 _boundAutorunEnd @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4058 characterData (async) t @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4017 n._scheduleAutorun @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4121 n._end @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4108 _boundAutorunEnd @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4058 characterData (async) t @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4017 n._scheduleAutorun @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4121 n._end @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4108 _boundAutorunEnd @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4058 characterData (async) t @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4017 n._scheduleAutorun @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4121 n._end @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4108 _boundAutorunEnd @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4058 characterData (async) t @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4017 n._scheduleAutorun @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4121 n._end @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4108 _boundAutorunEnd @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4058 characterData (async) t @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4017 n._scheduleAutorun @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4121 n._end @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4108 _boundAutorunEnd @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4058 characterData (async) t @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4017 n._scheduleAutorun @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4121 n._end @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4108 _boundAutorunEnd @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4058 characterData (async) t @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4017 n._scheduleAutorun @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4121 n._end @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4108 _boundAutorunEnd @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4058 characterData (async) t @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4017 n._scheduleAutorun @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4121 n._end @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4108 _boundAutorunEnd @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4058 characterData (async) t @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4017 n._scheduleAutorun @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4121 n._end @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4108 _boundAutorunEnd @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4058 characterData (async) t @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4017 n._scheduleAutorun @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4121 n._end @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4108 _boundAutorunEnd @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4058 characterData (async) t @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4017 n._scheduleAutorun @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4121 n._end @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4108 _boundAutorunEnd @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4058 characterData (async) t @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4017 n._scheduleAutorun @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4121 n._end @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4108 _boundAutorunEnd @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4058 characterData (async) t @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4017 n._scheduleAutorun @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4121 n._end @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4108 _boundAutorunEnd @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4058 characterData (async) t @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4017 n._scheduleAutorun @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4121 n._end @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4108 _boundAutorunEnd @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4058 characterData (async) t @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4017 n._scheduleAutorun @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4121 n._end @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4108 _boundAutorunEnd @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4058 characterData (async) t @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4017 n._scheduleAutorun @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4121 n._end @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4108 _boundAutorunEnd @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4058 characterData (async) t @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4017 n._scheduleAutorun @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4121 n._end @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4108 _boundAutorunEnd @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4058 characterData (async) t @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4017 n._scheduleAutorun @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4121 n._end @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4108 _boundAutorunEnd @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4058 characterData (async) t @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4017 n._scheduleAutorun @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4121 n._end @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4108 _boundAutorunEnd @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4058 characterData (async) t @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4017 n._scheduleAutorun @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4121 n._end @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4108 _boundAutorunEnd @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4058 characterData (async) t @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4017 n._scheduleAutorun @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4121 n._end @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4108 _boundAutorunEnd @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4058 characterData (async) t @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4017 n._scheduleAutorun @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4121 n._end @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4108 _boundAutorunEnd @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4058 characterData (async) t @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4017 n._scheduleAutorun @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4121 n._end @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4108 _boundAutorunEnd @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4058 characterData (async) t @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4017 n._scheduleAutorun @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4121 n._end @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4108 _boundAutorunEnd @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4058 vendor-1decb7c3f4690ab9d322972e8db32da0.js:2224 Uncaught TypeError: Cannot read property 'includes' of null at vault-eb665d5ecf606896894349c5cf2805d8.js:2243 at Array.forEach (<anonymous>) at n.checkForRootToken (vault-eb665d5ecf606896894349c5cf2805d8.js:2242) at n.init (vault-eb665d5ecf606896894349c5cf2805d8.js:2212) at n [as init] (vendor-1decb7c3f4690ab9d322972e8db32da0.js:2460) at m (vendor-1decb7c3f4690ab9d322972e8db32da0.js:2369) at Function.e.create (vendor-1decb7c3f4690ab9d322972e8db32da0.js:2378) at e.n.create (vendor-1decb7c3f4690ab9d322972e8db32da0.js:881) at vendor-1decb7c3f4690ab9d322972e8db32da0.js:855 at l (vendor-1decb7c3f4690ab9d322972e8db32da0.js:861) (anonymous) @ vault-eb665d5ecf606896894349c5cf2805d8.js:2243 checkForRootToken @ vault-eb665d5ecf606896894349c5cf2805d8.js:2242 init @ vault-eb665d5ecf606896894349c5cf2805d8.js:2212 n @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:2460 m @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:2369 e.create @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:2378 n.create @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:881 (anonymous) @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:855 l @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:861 r.lookup @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:846 lookup @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:2306 bt @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:1825 o.get @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:1713 re @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:1615 ie @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:1618 re @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:1613 get @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:2323 addHeaders @ vault-eb665d5ecf606896894349c5cf2805d8.js:3 _preRequest @ vault-eb665d5ecf606896894349c5cf2805d8.js:6 ajax @ vault-eb665d5ecf606896894349c5cf2805d8.js:8 n @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:2460 health @ vault-eb665d5ecf606896894349c5cf2805d8.js:62 (anonymous) @ vault-eb665d5ecf606896894349c5cf2805d8.js:2415 u @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:757 (anonymous) @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:755 e.<computed> @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:764 _resumeGenerator @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:7738 _handleResolvedContinueValue @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:7748 _proceed @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:7741 _scheduleProceed @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:7741 _start @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:7724 _startTaskInstance @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:7707 _flushQueues @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:7704 schedule @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:7700 _performShared @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:7780 perform @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:7779 fetchVersion @ vault-eb665d5ecf606896894349c5cf2805d8.js:2423 beforeModel @ vault-eb665d5ecf606896894349c5cf2805d8.js:1698 t.runBeforeModelHook @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4334 (anonymous) @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4324 g @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4499 O @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4509 M @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4507 t.invoke @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4041 t.flush @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4033 t.flush @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4046 n._end @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4108 _boundAutorunEnd @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4058 characterData (async) t @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4017 n._scheduleAutorun @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4121 n._end @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4108 _boundAutorunEnd @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4058 characterData (async) t @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4017 n._scheduleAutorun @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4121 n._end @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4108 _boundAutorunEnd @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4058 characterData (async) t @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4017 n._scheduleAutorun @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4121 n._end @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4108 _boundAutorunEnd @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4058 characterData (async) t @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4017 n._scheduleAutorun @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4121 n._end @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4108 _boundAutorunEnd @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4058 characterData (async) t @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4017 n._scheduleAutorun @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4121 n._end @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4108 _boundAutorunEnd @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4058 characterData (async) t @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4017 n._scheduleAutorun @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4121 n._end @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4108 _boundAutorunEnd @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4058 characterData (async) t @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4017 n._scheduleAutorun @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4121 n._end @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4108 _boundAutorunEnd @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4058 characterData (async) t @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4017 n._scheduleAutorun @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4121 n._end @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4108 _boundAutorunEnd @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4058 characterData (async) t @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4017 n._scheduleAutorun @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4121 n._end @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4108 _boundAutorunEnd @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4058 characterData (async) t @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4017 n._scheduleAutorun @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4121 n._end @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4108 _boundAutorunEnd @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4058 characterData (async) t @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4017 n._scheduleAutorun @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4121 n._end @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4108 _boundAutorunEnd @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4058 characterData (async) t @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4017 n._scheduleAutorun @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4121 n._end @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4108 _boundAutorunEnd @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4058 characterData (async) t @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4017 n._scheduleAutorun @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4121 n._end @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4108 _boundAutorunEnd @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4058 characterData (async) t @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4017 n._scheduleAutorun @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4121 n._end @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4108 _boundAutorunEnd @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4058 characterData (async) t @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4017 n._scheduleAutorun @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4121 n._end @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4108 _boundAutorunEnd @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4058 characterData (async) t @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4017 n._scheduleAutorun @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4121 n._end @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4108 _boundAutorunEnd @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4058 characterData (async) t @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4017 n._scheduleAutorun @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4121 n._end @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4108 _boundAutorunEnd @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4058 characterData (async) t @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4017 n._scheduleAutorun @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4121 n._end @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4108 _boundAutorunEnd @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4058 characterData (async) t @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4017 n._scheduleAutorun @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4121 n._end @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4108 _boundAutorunEnd @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4058 characterData (async) t @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4017 n._scheduleAutorun @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4121 n._end @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4108 _boundAutorunEnd @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4058 characterData (async) t @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4017 n._scheduleAutorun @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4121 n._end @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4108 _boundAutorunEnd @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4058 characterData (async) t @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4017 n._scheduleAutorun @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4121 n._end @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4108 _boundAutorunEnd @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4058 characterData (async) t @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4017 n._scheduleAutorun @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4121 n._end @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4108 _boundAutorunEnd @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4058 characterData (async) t @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4017 n._scheduleAutorun @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4121 n._end @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4108 _boundAutorunEnd @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4058 characterData (async) t @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4017 n._scheduleAutorun @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4121 n._end @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4108 _boundAutorunEnd @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4058 characterData (async) t @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4017 n._scheduleAutorun @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4121 n._end @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4108 _boundAutorunEnd @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4058 characterData (async) t @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4017 n._scheduleAutorun @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4121 n._end @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4108 _boundAutorunEnd @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4058 characterData (async) t @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4017 n._scheduleAutorun @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4121 n._end @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4108 _boundAutorunEnd @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4058 characterData (async) t @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4017 n._scheduleAutorun @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4121 n._end @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4108 _boundAutorunEnd @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4058 characterData (async) t @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4017 n._scheduleAutorun @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4121 n._end @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4108 _boundAutorunEnd @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4058 characterData (async) t @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4017 n._scheduleAutorun @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4121 n._end @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4108 _boundAutorunEnd @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4058 characterData (async) t @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4017 n._scheduleAutorun @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4121 n._end @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4108 _boundAutorunEnd @ vendor-1decb7c3f4690ab9d322972e8db32da0.js:4058 Show 18 more frames 0:26 Service Worker registration succeeded. Scope is https://dvolsvault000/v1/sys/storage/raft/snapshot

@klemens-u
Copy link

Pls give a higher priority to this issue. Thanks a lot!

@lounsbrough
Copy link

Yes please fix!

@KhudiakovSergey
Copy link

Hi @meirish
is there any update on this issue?

@pbernal pbernal added this to the triaged milestone Mar 3, 2020
@calvn
Copy link
Contributor

calvn commented Mar 9, 2020

I am doing a triage on this issue from the backend's side. Are there other requests that's causing this issue aside from renew-self (and possibly renew)?

@bradbl
Copy link
Contributor

bradbl commented Mar 13, 2020

We saw this issue in the UI for our staging environment (v1.4.0-beta).

For us it happens on the landing page, prior to any login attempt or any other interaction.

@calvn
Copy link
Contributor

calvn commented Mar 19, 2020

We've been able to reproduce this issue and have a fix in the works on the backend side that should resolve this. The issue stems from the fact that, unlike a login request, the policies field returned from a renewal request does not contain the full set of policies, so there are cases where that field might be nil even though the token does indeed contain other attached policies (such as the default or identity-derived policies). It's worth noting that this is a payload response inconsistency, and does not affect the actual policies that are attached to the token.

Due to possible scope of impact, we will need more time to test and to discuss the changes internally. We have this scheduled for the 1.5 release, and will provide further updates if things change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Used to indicate a potential bug ui
Projects
None yet
Development

Successfully merging a pull request may close this issue.