1 Answer
- Newest
- Most votes
- Most comments
0
Hi there,
I just tried the same command and the cognito-idp command returns fine for me.
By "it never returns", could you please clarify how long you wait? ultimately, I am expecting a timeout with eventually a specific error message.
Here are some exploratory questions...:
- Can you access this information from the console? I believe yes.
- Can you try in another region, say us-east-1?
- Can you re-run
aws configure
and set a default region? Also check environment variable if any are defined. - Can you try from another host in a public subnet?
- Can you try without specifying a region in the CLI?
- Can you try to query a specific user pool clients for instance:
aws cognito-idp list-user-pool-clients --user-pool-id "<pool_id>" --region eu-central-1
- Is there any way to capture the network traffic to do a packet capture (tcpdump for example)?
- Is there a HTTP proxy for outbound 443 access?
- Can you do a
nslookup cognito-idp.eu-central-1.amazonaws.com
?
My CLI version for reference:
aws --version
aws-cli/2.9.20 Python/3.11.1 Darwin/22.3.0 source/x86_64 prompt/off
Relevant content
- AWS OFFICIALUpdated 9 days ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 9 days ago
- AWS OFFICIALUpdated 2 days ago
While going through all your steps I figured out that the cli was trying to connect via ipv6, thats why it was working for curl but not the cli. I added the igw to the route table with for ipv6 addresses and it works now. Thanks!