JAVA Client:IllegalStateException

Hi @Rabzu, if you create an Observable using the Java SDK but don’t subscribe to it within 2 seconds, the Observable’s Couchbase resources are released, rendering it unusable and thus the error.

Consider delaying creation of the Observable until it is needed or, if you must, tinker with the client configuration to extend that window of time the resources remain available (Automatic Observable Resource Release Time Period). The first approach should work for you.

2 Likes