Hi Team,
Trying to call engine-rest profile api from my spring boot program. Getting a connection timeout error.
But from the browser, it is giving the response. Error logs below.
Connection timed out (Connection timed out); nested exception is java.net.ConnectException: Connection timed out (Connection timed out)]
org.springframework.web.client.ResourceAccessException: I/O error on GET request for “https://xx.xx.xx.xx:xxxx/engine-rest/user/npeuser1/profile”: Connection timed out (Connection timed out); nested exception is java.net.ConnectException: Connection timed out (Connection timed out)
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:743)
at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:686)
at org.springframework.web.client.RestTemplate.getForEntity(RestTemplate.java:361
Appreciate your help.
Regards,
Kedari