Starting a couple days ago I’m having trouble getting any response from the URL:
The Spring Boot application, when it starts locally in this machine, gets blocked trying to get the configuration request:
2020-07-19 05:51:05.430 DEBUG 23199 — [ main] o.s.web.client.RestTemplate : HTTP GET https://taskquark.eu.auth0.com/.well-known/openid-configuration
2020-07-19 05:51:05.440 DEBUG 23199 — [ main] o.s.web.client.RestTemplate : Accept=[application/json, application/*+json]
After a couple minutes it just timeouts. No error, no info:
Caused by: org.springframework.web.client.ResourceAccessException: I/O error on GET request for “https://taskquark.eu.auth0.com/.well-known/openid-configuration”: Connection timed out (Connection timed out); nested exception is java.net.ConnectException: Connection timed out (Connection timed out)
Caused by: java.net.ConnectException: Connection timed out (Connection timed out)
Updating Spring Boot, JRE, etc. solves nothing. And the very same Spring Boot JAR when deployed in prod or stage servers works perfectly.
Moreover, a simple cURL request from the console also gets locked with no response at all from auth0.com. Same block happens when using wget with the same URL.
So I’ve checked the Anomaly Detection at the tenant webpage and even whilelisted the IP, in case any development problem would have marked this IP as suspicious, but the problem persists.
Interestingly enough, in this same machine, Firefox is indeed capable of getting the JSON response from this URL with no problem. Also, a VM started in this host (using the same public IP) works correctly.
Everything points to this machine OS, but getting no error, response message, etc. just a blocked connection does not help to solve the issue.
My question is what condition could trigger this behavior from Auht0.com servers, i.e. blocking some connection from JRE, curl, wget but not blocking Firefox requests in a machine?