Closed bsmithvt closed 5 years ago
@bsmithvt - I think the service unavailable is one scenario. But another is if the service is stuck trying to start up and can't respond. The http request will hang waiting for a response, so I think we should try to handle that with a smallish timeout on the http request. Ideally, that timeout would only apply for these specific requests, and not set a shared http client timeout.
@michaelvidal24 ok, good call. I wasn't aware that behavior was different (stopped vs. starting). I've updated the PR to specify an explicit timeout and handle exceptions associated with timeouts.
@michaelvidal24 I'm seeing almost immediate failure when testing with IdP SS unavailable, but I can set an explicit timeout.