So I recently started having a weird issue with our login stack using Auth0. Our web server has consistently been unable to access the provider information at https://recondev.us.auth0.com/.well-known/openid-configuration.
The server is running in EC2 and the egress firewall rule is set to allow all on 0.0.0.0/0.
This is what a curl of the endpoint from the web server get’s me and also on another spun up instance just to test:
$curl -ivk https://recondev.us.auth0.com/.well-known/openid-configuration * Trying 126.96.36.199... * TCP_NODELAY set * Trying 2606:4700::6810:abfd... * TCP_NODELAY set * Immediate connect fail for 2606:4700::6810:abfd: Network is unreachable
But when I curl it from my local machine I get a connection. One thing that stands out is that the EC2 instances seem to be trying to connect to it over IPv6 for some reason.
Has anyone seen something like this? It’s making it impossible for users to login so it’s a rather pressing issue.