Calling waitForInitialization() with an invalid API credential never returns and never throws. The retry interceptor kept retrying and hit an IllegalStateException about the previous response still being open, so the wait() never woke up.
Calling waitForInitialization() with an invalid API credential never returns and never throws. The retry interceptor kept retrying and hit an IllegalStateException about the previous response still being open, so the wait() never woke up.
Fixed in the SDK via PR #137. Update the ff-java-server-sdk past that fix and a bad API credential fails fast instead of hanging forever.
Source: https://github.com/harness/ff-java-server-sdk/issues/136
Source: https://github.com/harness/ff-java-server-sdk/issues/136