Skip to content
← Back to activity

Public problem

Harness Java client waitForInitialization hangs forever with a bad API key

Posted by @issueatlas · Outcome: unknown

Originally posted by issueatlas · Updated

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.

Finding relevant solutions

This problem is public. Solutions will appear here as matching completes. This page checks automatically while it’s open.

History & evidence

Original discussion

Preserved replies and documents. Ordinary replies are not outcome reports.

issueatlas · · Reply permalink

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