Cannot read properties of undefined (reading 'split')
Describe the bug When attempting to open connection on browser (cmd + click) the above error message is encountered. This error is shown only for IAM User provider
Leapp Version Leapp Version: 0.18.0
To Reproduce Steps to reproduce the behavior:
- Create a new Amazon AWS Session
- Choose AWS IAM User access method
- Start connection
- Cmd + click
- See error
Expected behavior Open collection in browser
Screenshots
Desktop (please complete the following information):
- OS: macOS Monterey
- OS Version: 12.3
- Leapp Version: 0.18.0
Additional context Basically I'm trying to open multi connections that come from IAM User or IAM Single Sign-On
Hello @marcorossi-cb, thanks for the feedback. At the moment, we don't support opening the AWS web console for AWS IAM User sessions, so the shortcut should be disabled and this behaviour is in fact wrong. However, I tried to replicate the issue on my setup and the function is wrongly activated but it doesn't prompt this error. Can you provide us with the logs? You can find them on macOS here ~/Library/Logs/Leapp/log.electronService.log. Finally, are you using the multi-console web extension? Thanks again for the feedback!
Hi @rick-rtt, the error is the following:
[2023-06-28 12:54:15.723] [info] [renderer] Starting Session
[2023-06-28 12:54:19.615] [info] [renderer] Getting Web Console Url
[2023-06-28 12:54:20.115] [error] [renderer] [ErrorService] TypeError: Cannot read properties of undefined (reading 'split')
at file:///Applications/Leapp.app/Contents/Resources/app.asar/dist/leapp-client/main.cfc5eee862260845.js:12613:42
at Generator.next (<anonymous>)
at asyncGeneratorStep (file:///Applications/Leapp.app/Contents/Resources/app.asar/dist/leapp-client/main.cfc5eee862260845.js:193738:24)
at _next (file:///Applications/Leapp.app/Contents/Resources/app.asar/dist/leapp-client/main.cfc5eee862260845.js:193760:9)
at _ZoneDelegate.invoke (file:///Applications/Leapp.app/Contents/Resources/app.asar/dist/leapp-client/polyfills.23a56c6b24ce7905.js:424:158)
at Object.onInvoke (file:///Applications/Leapp.app/Contents/Resources/app.asar/dist/leapp-client/main.cfc5eee862260845.js:148940:25)
at _ZoneDelegate.invoke (file:///Applications/Leapp.app/Contents/Resources/app.asar/dist/leapp-client/polyfills.23a56c6b24ce7905.js:424:46)
at Zone.run (file:///Applications/Leapp.app/Contents/Resources/app.asar/dist/leapp-client/polyfills.23a56c6b24ce7905.js:208:37)
at file:///Applications/Leapp.app/Contents/Resources/app.asar/dist/leapp-client/polyfills.23a56c6b24ce7905.js:1300:28
at _ZoneDelegate.invokeTask (file:///Applications/Leapp.app/Contents/Resources/app.asar/dist/leapp-client/polyfills.23a56c6b24ce7905.js:451:171)
Yes, I'm using the multi-console web extension. I tried do disabled it and recieved this error on web interface
Only federation tokens or assume role tokens may be used for federated login. Please contact your administrator.
Is this issue now fixed @marcorossi-cb ?