CompletableFuture error: HttpServerError: 503 Service Unavailable
问题 I use Springboot2 and Java 8. I have been banging my head to the wall on this one, hours spent but no clue what the problem is. I try to make two independent external calls via CompletableFuture. once both they complete I want to combine their results and return to the user. On the logs I see first request is successfull but I get HTTP 503 error on the second request just on the line "restTemplate.postForEntity(..)" Note: I do NOT use any Spring based @Async (or any Spring non blocking code)