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

Cannot read properties of undefined (reading 'filter') #567

Open
altonotch opened this issue Nov 4, 2024 · 4 comments
Open

Cannot read properties of undefined (reading 'filter') #567

altonotch opened this issue Nov 4, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@altonotch
Copy link

altonotch commented Nov 4, 2024

Describe the bug
When going to SSM, selecting a region, see a loading sign, then instead of a list of servers i get this error: Cannot read properties of undefined (reading 'filter').

Leapp Version
Version 0.26.1 (0.26.1)

Expected behavior
Either a clear message of what's missing or the actual list of servers to connect to.

Desktop:

  • OS: Mac OSx
  • OS Version 15.0.1 (24A348)
  • Leapp Version 0.26.1

Additional context
I did some disk clearing in Caches, maybe this is related? Also, upgraded to Sequoia. If you can direct me to how to debug this issue, would love to give it a try as well.
Tried to re-install the app but that didn't help.

@altonotch altonotch added the bug Something isn't working label Nov 4, 2024
@ericvilla
Copy link
Contributor

Hi @altonotch, thanks for reaching out! You can analyse your logs as described in the docs. Let me check the logic that lists the instances accessible through SSM

@ericvilla
Copy link
Contributor

@altonotch I probably found the root cause. Please, check if there are any EC2 instances without Name tag; I suggest to tag them and retry to list SSM instances from Leapp

@altonotch
Copy link
Author

@altonotch I probably found the root cause. Please, check if there are any EC2 instances without Name tag; I suggest to tag them and retry to list SSM instances from Leapp

@ericvilla You're absolutely right! A few instances were missing Name tag. When all instances have the tag, SSM in Leapp works as expected. I think I saw it in the past falling back to instance ID 🤔

@ericvilla
Copy link
Contributor

@altonotch I'm glad it solved the issue! I don't remember if Leapp was falling back to the instance ID; it could be a good solution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants