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

Queues not listed in Monitor Dead Letter Queue page in Lambda Test Tool. #1566

Closed
mwleinad opened this issue Aug 11, 2023 · 4 comments
Closed
Assignees
Labels
bug This issue is a bug. module/lambda-test-tool p2 This is a standard priority issue queued xs Effort estimation: tiny

Comments

@mwleinad
Copy link

Describe the bug

I might just be missing something but then going to
http://localhost:5050/monitor-dlq

I'm getting this error
Error listing queues: Value cannot be null. (Parameter 'Options property cannot be empty: ClientName')
image

Expected Behavior

Queues should be listed

Current Behavior

Queue list is empty

Reproduction Steps

Open the http://localhost:5050/monitor-dlq
btw, this is a executable assemblies, does that have anything to do?

Possible Solution

I can't find a way to specify the client name and the code doesn't look to take clientname into account anywhere.

Additional Information/Context

No response

AWS .NET SDK and/or Package version used

AWSSDK V3

Targeted .NET Platform

.NET 6

Operating System and version

Windows 10

@mwleinad mwleinad added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Aug 11, 2023
@ashishdhingra ashishdhingra changed the title (short issue description) Queues not listed in Monitor Dead Letter Queue page in Lambda Test Tool. Aug 11, 2023
@ashishdhingra ashishdhingra added needs-reproduction This issue needs reproduction. and removed needs-triage This issue or PR still needs to be triaged. labels Aug 11, 2023
@ashishdhingra
Copy link
Contributor

ashishdhingra commented Aug 11, 2023

Hi @mwleinad,

Good afternoon.

Thanks for reporting the issue. I tried reproducing the issue using below steps:

The messages were successfully displayed in the table:
Screenshot 2023-08-11 at 12 01 08 PM

Just a note, I did not use SSO profile during testing. Once I selected configured SSO profile from dropdown (even after aws sso login --profile <<profile-name>>, I got the error Error listing queues: Value cannot be null. (Parameter 'Options property cannot be empty: ClientName').

Looking at the error message shared by you in issue description, it appears you might be using the SSO profile. Could you please confirm? If yes, are you logged in to your SSO profile using AWS CLI aws sso login?

I do see that Amazon.Lambda.TestTool.csproj has reference to AWSSDK.Core and AWSSDK.SQS version 3.7.0. There was a similar SSO issue reported in .NET SDK which was fixed in later version is SDK. So in this case, once you confirm that you are using SSO profile, we might need to just update AWSSDK package references in Lambda Test Tool to latest versions.

Thanks,
Ashish

@ashishdhingra ashishdhingra added response-requested Waiting on additional info and feedback. Will move to close soon in 7 days. and removed needs-reproduction This issue needs reproduction. labels Aug 11, 2023
@github-actions
Copy link
Contributor

This issue has not received a response in 5 days. If you want to keep this issue open, please just leave a comment below and auto-close will be canceled.

@github-actions github-actions bot added the closing-soon This issue will automatically close in 4 days unless further comments are made. label Aug 17, 2023
@ashishdhingra ashishdhingra added p2 This is a standard priority issue xs Effort estimation: tiny and removed closing-soon This issue will automatically close in 4 days unless further comments are made. response-requested Waiting on additional info and feedback. Will move to close soon in 7 days. labels Aug 17, 2023
@ashishdhingra ashishdhingra self-assigned this Aug 18, 2023
@ashishdhingra
Copy link
Contributor

Fixed in Amazon Lambda TestTool version 0.14.1.

@github-actions
Copy link
Contributor

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug. module/lambda-test-tool p2 This is a standard priority issue queued xs Effort estimation: tiny
Projects
None yet
Development

No branches or pull requests

2 participants